local input = game:GetService("UserInputService") local player = game.Players.LocalPlayer local character = player.Character local humanoidRootPart = character:WaitForChild("HumanoidRootPart") local function fly() local plr = game.Players.LocalPlayer local character = plr.Character local humanoidRootPart = character:WaitForChild("HumanoidRootPart") local function update() local input = game:GetService("UserInputService") local movement = Vector3.new(input.MouseDelta.X, input.MouseDelta.Y, 0) local velocity = humanoidRootPart.Velocity velocity = velocity + movement * 10 humanoidRootPart.Velocity = velocity end while true do update() wait() end end local function godmode() local character = game.Players.LocalPlayer.Character local humanoid = character:WaitForChild("Humanoid") while true do humanoid.Health = 100 wait(0.01) end end local function teleport() local plr = game.Players.LocalPlayer local character = plr.Character local humanoidRootPart = character:WaitForChild("HumanoidRootPart") input.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.RightControl then humanoidRootPart.CFrame = CFrame.new(0, 100, 0) end end) end local flyToggle = false local godmodeToggle = false local teleportToggle = false input.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.LeftControl then flyToggle = not flyToggle if flyToggle then fly() else game:GetService("RunService").RenderStepped:Disconnect() end end if input.KeyCode == Enum.KeyCode.LeftShift then godmodeToggle = not godmodeToggle if godmodeToggle then godmode() else local character = game.Players.LocalPlayer.Character local humanoid = character:WaitForChild("Humanoid") humanoid.Health = 0 end end if input.KeyCode == Enum.KeyCode.RightControl then teleportToggle = not teleportToggle if teleportToggle then teleport() else input.InputBegan:Disconnect() end end end)