TeleportService does not reserve server properly

When I was testing my game one of my testers somehow joined my server. But, the server was privated.
I don’t understand what was happening? this is the script.


You seem to be teleporting all players rather than just one.

I am making a party system so we need a list. It does work properly. I asked the player how did he join. He used the party system to teleport and he joined how.

Where are you setting the reserve variable.

Wait, I have to check when the server reserved again?


Try using reserve = TeleportService:ReverseServer() inside the Teleportation.OnServerEvent

You have to generate a new reserve server code for every party.