Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LPcurrenthumanoid = LP.Character.Humanoid
- game:GetService('RunService').Stepped:connect(function()
- if LP.Character.Humanoid ~= nil then
- LPcurrenthumanoid = LP.Character.Humanoid
- end
- if noclip then
- if LP.Character then
- if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- LP.Character.Head.CanCollide = false
- LP.Character.Torso.CanCollide = false
- LP.Character["Left Leg"].CanCollide = false
- LP.Character["Right Leg"].CanCollide = false
- LP.Character["Left Arm"].CanCollide = false
- LP.Character["Right Arm"].CanCollide = false
- elseif LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- LP.Character.Head.CanCollide = false
- LP.Character.UpperTorso.CanCollide = false
- LP.Character.LowerTorso.CanCollide = false
- LP.Character.HumanoidRootPart.CanCollide = false
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement