Advertisement
yoitzErrorYT

simple noclip

Jun 27th, 2023
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1.  
  2. local Noclip = nil
  3. local Clip = nil
  4.  
  5. function noclip()
  6. Clip = false
  7. local function Nocl()
  8. if Clip == false and game.Players.LocalPlayer.Character ~= nil then
  9. for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  10. if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
  11. v.CanCollide = false
  12. end
  13. end
  14. end
  15. wait(0.21)
  16. end
  17. Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
  18. end
  19.  
  20. function clip()
  21. if Noclip then Noclip:Disconnect() end
  22. Clip = true
  23. end
  24.  
  25. noclip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement