plytalent

_Noclip

Dec 24th, 2020 (edited)
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. (function()
  2. --// Variables
  3. local module = {}
  4.  
  5. local RunService = game:GetService("RunService")
  6. local Players = game:GetService("Players")
  7. local Player = Players.LocalPlayer
  8. local MANAFLY = nil
  9.  
  10. module.Options = {
  11. Enabled = false,
  12. Color = Color3.new(1, 0, 0),
  13. speed = 0,
  14. Opacity = 0,
  15. Up="x",
  16. Down="z",
  17. }
  18.  
  19. function module:Enable()
  20. module.Options.Enabled = true
  21. end
  22.  
  23. function module:Disable()
  24. module.Options.Enabled = false
  25. end
  26. RunService.Stepped:Connect(function()
  27. if module.Options.Enabled then
  28. for _,v in pairs(Player.Character:GetDescendants())do
  29. if v:IsA("BasePart") then
  30. v.CanCollide = false
  31. end
  32. end
  33. end
  34. end)
  35. return module
  36. end)()
Add Comment
Please, Sign In to add comment