Advertisement
yoitzErrorYT

noclip lua

Jun 27th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. LPcurrenthumanoid = LP.Character.Humanoid
  2. game:GetService('RunService').Stepped:connect(function()
  3. if LP.Character.Humanoid ~= nil then
  4. LPcurrenthumanoid = LP.Character.Humanoid
  5. end
  6. if noclip then
  7. if LP.Character then
  8. if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  9. LP.Character.Head.CanCollide = false
  10. LP.Character.Torso.CanCollide = false
  11. LP.Character["Left Leg"].CanCollide = false
  12. LP.Character["Right Leg"].CanCollide = false
  13. LP.Character["Left Arm"].CanCollide = false
  14. LP.Character["Right Arm"].CanCollide = false
  15. elseif LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  16. LP.Character.Head.CanCollide = false
  17. LP.Character.UpperTorso.CanCollide = false
  18. LP.Character.LowerTorso.CanCollide = false
  19. LP.Character.HumanoidRootPart.CanCollide = false
  20. end
  21. end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement