local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() -- Variables local flying = false local frozen = false -- Command handler function local function handleCommand(command) local args = command:split(" ") local cmd = args[1]:lower() -- ;speed [number] if cmd == ";speed" and args[2] then Character.Humanoid.WalkSpeed = tonumber(args[2]) or 16 -- ;jump [number] elseif cmd == ";jump" and args[2] then Character.Humanoid.JumpPower = tonumber(args[2]) or 50 -- ;follow [playername] elseif cmd == ";follow" and args[2] then local targetPlayer = Players:FindFirstChild(args[2]) if targetPlayer and targetPlayer.Character then repeat wait(0.1) Character:SetPrimaryPartCFrame(targetPlayer.Character.PrimaryPart.CFrame) until not targetPlayer.Character or not targetPlayer.Character.Parent end -- ;unfollow elseif cmd == ";unfollow" then Character:SetPrimaryPartCFrame(Character.PrimaryPart.CFrame) -- ;dance elseif cmd == ";dance" then local animation = Instance.new("Animation") animation.AnimationId = "rbxassetid://3189773368" -- Example dance animation ID local dance = Character.Humanoid:LoadAnimation(animation) dance:Play() -- ;bring [playername] elseif cmd == ";bring" and args[2] then local targetPlayer = Players:FindFirstChild(args[2]) if targetPlayer and targetPlayer.Character then targetPlayer.Character:SetPrimaryPartCFrame(Character.PrimaryPart.CFrame) end -- ;respawn elseif cmd == ";respawn" then Character:BreakJoints() -- ;stare [playername] elseif cmd == ";stare" and args[2] then local targetPlayer = Players:FindFirstChild(args[2]) if targetPlayer and targetPlayer.Character then repeat wait(0.1) Character:SetPrimaryPartCFrame(CFrame.new(Character.PrimaryPart.Position, targetPlayer.Character.PrimaryPart.Position)) until not targetPlayer.Character or not targetPlayer.Character.Parent end -- ;invisible elseif cmd == ";invisible" then for _, part in pairs(Character:GetChildren()) do if part:IsA("BasePart") then part.Transparency = 1 end end -- ;visible elseif cmd == ";visible" then for _, part in pairs(Character:GetChildren()) do if part:IsA("BasePart") then part.Transparency = 0 end end -- ;noclip elseif cmd == ";noclip" then for _, part in pairs(Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end -- ;clip elseif cmd == ";clip" then for _, part in pairs(Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end -- ;freeze elseif cmd == ";freeze" then frozen = true while frozen do Character.HumanoidRootPart.Anchored = true wait() end -- ;thaw elseif cmd == ";thaw" then frozen = false Character.HumanoidRootPart.Anchored = false -- ;tower elseif cmd == ";tower" then for i = 1, 10 do local part = Instance.new("Part") part.Size = Vector3.new(5, 1, 5) part.Position = Character.PrimaryPart.Position + Vector3.new(0, i * 5, 0) part.Anchored = true part.Parent = workspace end -- ;untower elseif cmd == ";untower" then for _, part in pairs(workspace:GetChildren()) do if part:IsA("Part") and part.Anchored and part.Size == Vector3.new(5, 1, 5) then part:Destroy() end end -- ;flingall elseif cmd == ";flingall" then for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character then player.Character.HumanoidRootPart.Velocity = Vector3.new(1000, 1000, 1000) end end else print("Unknown command or missing argument.") end end -- Listen for chat commands LocalPlayer.Chatted:Connect(function(message) if message:sub(1, 1) == ";" then handleCommand(message) end end)