Advertisement
matekaOSF2

Untitled

Sep 8th, 2020 (edited)
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. --[[
  2. Made by PresidentIvan!
  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 PresidentIvan! 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. if noclip == false then
  28. noclip = true
  29. player.Character.Humanoid:ChangeState(11)
  30. else
  31. noclip = false
  32. end
  33. end
  34. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement