Advertisement
Guest User

Gtxwns No Clip

a guest
Jul 16th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. Gui = Instance.new("ScreenGui", game.CoreGui)
  2. Button = Instance.new("TextButton", Gui)
  3. Button.Size = UDim2.new(0, 100, 0, 40)
  4. Button.BackgroundTransparency = 0.7
  5. Button.Position = UDim2.new(0.003, 0, 0.93, 0)
  6. Button.Text = "Enable Noclip"
  7. Button.TextColor3 = Color3.new(255, 255, 255)
  8. noclip = false
  9. game:GetService('RunService').Stepped:connect(function()
  10. if noclip then
  11. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  12. end
  13. end)
  14. Button.MouseButton1Down:connect(function()
  15. noclip = not noclip
  16. if Button.Text == "Enable Noclip" then
  17.     Button.Text = "Disable Noclip"
  18. else
  19.     Button.Text = "Enable Noclip"
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement