UpsetPlayzZ

roblox official noclip

Sep 6th, 2020 (edited)
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.87 KB | None | 0 0
  1. --[[
  2.     Made by XUpsetPlayzX!
  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 XUpsetPlayzX! 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.     end
  29. end)
  30.         player.Character.Humanoid:ChangeState(11)
  31.         mouse.Keydown:Connect(function(key)
  32.     if key == "r" then
  33.         noclip = false
  34.         player.Character.Humanoid:ChangeState(11)
  35.     end
  36. end)
Add Comment
Please, Sign In to add comment