Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- New turn off player collisions script in Roblox Studio:
- local PhysicsService = game:GetService("PhysicsService")
- PhysicsService:CreateCollisionGroup("Players")
- PhysicsService:CollisionGroupSetCollidable("Players", "Players", false)
- game.Players.PlayerAdded:Connect(function(plr)
- plr.CharacterAdded:Connect(function(char)
- repeat wait(1) until char:WaitForChild("Humanoid")
- for _, characterPart in pairs(char:GetChildren()) do
- if characterPart:IsA("BasePart") then
- PhysicsService:SetPartCollisionGroup(characterPart, "Players")
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement