Advertisement
koreanhackerman

Noclip script

Nov 29th, 2019
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. -- Press N to toggle noclip. :)
  2. noclip = false
  3. game:GetService('RunService').Stepped:connect(function()
  4. if noclip then
  5. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  6. end
  7. end)
  8. plr = game.Players.LocalPlayer
  9. mouse = plr:GetMouse()
  10. mouse.KeyDown:connect(function(key)
  11.  
  12. if key == "n" then
  13. noclip = not noclip
  14. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  15. end
  16. end)
  17. print('Loaded')
  18. print('Press "n" to noclip')
  19. end)
  20.  
  21. -- enjoy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement