Advertisement
Guest User

Untitled

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