Server-Client zone question

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    I want to make a zone that players can enter but only 3 are the max players in the zone and once 3 players are in the zone the rest of the lobby cannot enter unless someone from the zone leaves. I want to make it so the players in the zone could obviously walk through the border of the zone so they could free up space once they leave but others players who are in the lobby but not in the zone cannot enter if its full. Would I use remoteevents for this? Bc if I use remoteevents for this then after a few seconds of the event running another player joins and that player wont have the zone border locked.

You could use a custom collision group for this. You could basically set each player to that collision group whenever the enter the room and then once there were 3, you could set the wall to that collision group as well. Basically it would just make it so the inside players wouldn’t collide but the ones on the outside in the default collision group would.

1 Like