Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer local mouse = player:GetMouse() local runservice = game:GetService("RunService") local noclip = false local msg = Instance.new("Message", player.PlayerGui) msg.Text = "Noclip Script Activated! Press on 'e' to noclip, 'u' to clip, & 't' to destroy this message!" runservice.Stepped:Connect(function() if noclip then player.Character.Humanoid:ChangeState(11) end end) mouse.KeyDown:Connect(function(key) if key == "t" then msg:Destroy() end end) mouse.KeyDown:Connect(function(key) if key == "e" then noclip = true player.Character.Humanoid:ChangeState(11) end end) mouse.KeyDown:Connect(function(key) if key == "u" then noclip = false player.Character.Humanoid:ChangeState(11) end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement