How to make an one way part?

Hi. I need to make an one way part, like player enter in 1 side, but can’t go back in other side.
I found an tutorial on yt, they changed CollisionGroupId, but I can’t find it. Is there any other solutions?
Thanks for helping!

there are many ways to do it. but this is how i would do it.

make 3 parts. and space them out a little
make sure you do the following in a local script

when a player touches part 1 → part 2 turns off can collide

when a player touches part 3 ->part 2 turns on can collide.

as it is a local script this will only affect that player

1 Like

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