Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- noclip = true
- G = game
- char = G:GetService("Players").LocalPlayer.Character
- repeat
- if noclip then
- for _,v in pairs(char:children()) do
- pcall(function()
- if v:IsA("Part") then v.CanCollide = false
- elseif v:IsA("MeshPart") then v.CanCollide = false
- elseif v:IsA("Model") then v.CanCollide = false
- end
- end)
- end
- else
- for _,v in pairs(char:children()) do
- pcall(function()
- if v:IsA("Part") then v.CanCollide = true
- elseif v:IsA("MeshPart") then v.CanCollide = true
- elseif v:IsA("Model") then v.CanCollide = true
- end
- end)
- end
- end
- G:service("RunService").Stepped:wait()
- until char.Humanoid.Health == 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement