BOTKILLER1234

Untitled

Feb 15th, 2020
718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. _G.NC = not _G.NC
  2.  
  3. local pos = game:GetService('Players').LocalPlayer.Character.LowerTorso.Position.Y
  4.  
  5. if _G.InitNC ~= true then
  6. _G.NCFunc = function(part)
  7. if _G.NC then
  8. if part.Position.Y > pos then
  9. part.CanCollide = false
  10. end
  11. end
  12. end
  13.  
  14. _G.InitNC = true
  15. end
  16.  
  17. if _G.NC and _G.NCFunc ~= nil then
  18. game:GetService('Players').LocalPlayer.Character.Humanoid.Touched:connect(_G.NCFunc)
  19. end
Add Comment
Please, Sign In to add comment