Troll lege
Key RequiredUniversal

Troll lege

Universal ScriptCleitinhodograuCleitinhodograu 468 views 126 executesUpdated Apr 9, 2026
Unrated
00
Lua Script•32 lines (1400 chars)
-- Imagine que isso aqui está dentro da sua nova aba "Troll" ou "Admin"

-- 1. Criar a caixa para digitar o nome
ExtraSection:NewTextBox("Paralisar Jogador", "Digite o nome da vítima", function(txt)
    local targetName = txt
    local players = game.Players:GetPlayers()
    
    for _, v in pairs(players) do
        -- Verifica se o nome digitado bate com algum jogador (não precisa digitar o nome todo)
        if string.find(string.lower(v.Name), string.lower(targetName)) then
            local targetChar = v.Character
            if targetChar and targetChar:FindFirstChild("HumanoidRootPart") then
                -- A MÁGICA ACONTECE AQUI: Anchored = true trava o jogador
                targetChar.HumanoidRootPart.Anchored = true
                print("Jogador " .. v.Name .. " foi paralisado!")
            end
        end
    end
end)

-- 2. Criar um botão para desparalisar (soltar a pessoa)
ExtraSection:NewTextBox("Soltar Jogador", "Digite o nome para desparalisar", function(txt)
    local targetName = txt
    for _, v in pairs(game.Players:GetPlayers()) do
        if string.find(string.lower(v.Name), string.lower(targetName)) then
            if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
                v.Character.HumanoidRootPart.Anchored = false
                print("Jogador " .. v.Name .. " está livre.")
            end
        end
    end
end)

Features & Information

Troll

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts