#how to disable player collisions

1 messages · Page 1 of 1 (latest)

spark basin
#

for obbies

bright breach
jolly vapor
#

g

spark basin
#

mm

unique river
slow hearth
#
local PhysicsService = game:GetService("PhysicsService");

local Players = game:GetService("Players");

PhysicsService:RegisterCollisionGroup("NoPlayerCollisions");

PhysicsService:CollisionGroupSetCollidable("NoPlayerCollisions","NoPlayerCollisions",false);

Players.PlayerAdded:Connect(function(Player)
    
    Player.CharacterAdded:Connect(function(Character)
        
        for _,Part in pairs(Character:GetChildren()) do
            if Part:IsA("BasePart") then
                Part.CollisionGroup = "NoPlayerCollisions";
            end
        end
        
    end)
    
end)```
#

or secondary option

spark basin
#

thanks

polar forgeBOT
#

studio** You are now Level 9! **studio