Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3. local runservice = game:GetService("RunService")
  4. local noclip = false
  5.  
  6. local msg = Instance.new("Message", player.PlayerGui)
  7. msg.Text = "Noclip Script by PresidentIvan! Press on 'e' to noclip & 't' to destroy this message!"
  8.  
  9. runservice.Stepped:Connect(function()
  10. if noclip then
  11. player.Character.Humanoid:ChangeState(11)
  12. end
  13. end)
  14.  
  15. mouse.KeyDown:Connect(function(key)
  16. if key == "t" then
  17. msg:Destroy()
  18. end
  19. end)
  20.  
  21. mouse.KeyDown:Connect(function(key)
  22. if key == "M" then
  23. noclip = true
  24. player.Character.Humanoid:ChangeState(11)
  25. end
  26. end)
  27.  
  28. mouse.KeyDown:Connect(function(key)
  29. if key == "P" then
  30. noclip = false
  31. player.Character.Humanoid:ChangeState(11)
  32. end
  33. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement