Advertisement
Guest User

noclip on

a guest
Oct 23rd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. noclip = true
  2. G = game
  3. char = G:GetService("Players").LocalPlayer.Character
  4. repeat
  5. if noclip then
  6. for _,v in pairs(char:children()) do
  7. pcall(function()
  8. if v:IsA("Part") then v.CanCollide = false
  9. elseif v:IsA("MeshPart") then v.CanCollide = false
  10. elseif v:IsA("Model") then v.CanCollide = false
  11. end
  12. end)
  13. end
  14. else
  15. for _,v in pairs(char:children()) do
  16. pcall(function()
  17. if v:IsA("Part") then v.CanCollide = true
  18. elseif v:IsA("MeshPart") then v.CanCollide = true
  19. elseif v:IsA("Model") then v.CanCollide = true
  20. end
  21. end)
  22. end
  23. end
  24. G:service("RunService").Stepped:wait()
  25. until char.Humanoid.Health == 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement