Please help find the problem with our lobby script

  • What it needs to do:
    Let people enter helicopters and teleport them to the game.
    There are helicopters for 1, 2, 3 and 4 players.

  • The problem:
    It works until a one in 100 person breaks it somehow.

  • observations:

  1. how is it broken? touching the gate no longer lets you enter the heli.
  2. all the helis can break like this.
  3. I’ve seen it happen. A person entered with a team, everyone got teleported correctly except for them, they stayed for another 4 minutes before leaving. The heli is now broken.
  4. No errors in console.

Place:
lobby_Groogy.rbxl (342.8 KB)

Please take a look and see if you find the issue! Thank you!