TigerManGamingYT

Keybind Noclip

Apr 7th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local UIS = game:GetService("UserInputService")
  2. noclip = false
  3.  
  4. game:GetService('RunService').Stepped:connect(function()
  5.     if noclip then
  6.     game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  7.     end
  8. end)
  9.  
  10. plr = game.Players.LocalPlayer
  11.  
  12. UIS.InputBegan:Connect(function()
  13.     if UIS:IsKeyDown(Enum.KeyCode.RightShift) then
  14.         noclip = not noclip
  15.         game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  16.     end
  17. end)
Add Comment
Please, Sign In to add comment