How can i make every player beside 1 collide with a part?

I’m working on a game and was wondering how I would make it so that only the owner doesn’t collide with a part and every other player in the game collides with the part would I use collision groups?

Collision groups are your best bet. You could create some collision group that both the owner’s character shares alongside the parts that they can phase through, and at runtime, set the CollisionGroup of all the owner’s limbs to that group.

You could also have every part that you want the owner to phase through in a tag via CollectionService and set CanCollide to false for all of the tagged instances on the client (if the LocalPlayer’s UserId matches the owner’s ID). It’s another good option if you don’t want to screw with CollisionGroups.

2 Likes

fr i was gonna come up w smtn completely different, but yea you could do that

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.