I am trying to make a Queue that, at proper time, teleports all players in the Queue to the same server in a new Place that is a part of the current game.
To achieve that, I am using TeleportService’s TeleportAsync method, passing a table with all players from the queue.
The issue arises at the call of this method, where it throws the error “A specified Member cannot join the Destination Place” whenever the players table has more than one player and there is at least one player in the table that is not a developer of the game.
Examples:
TeleportService:TeleportAsync(118304838686163, {anyPlayer})
Above code Teleports specified player correctly to the place.
TeleportService:TeleportAsync(118304838686163, {anyPlayer, anotherPlayer})
Above code throws the previously mentioned error and fails, no matter how many times or when I call it.
It does, however, teleport if all those players have Developer permission.
The game was originally private, but under a group, where the problem persisted to players with Play access.
Now, with Public access, players still cannot be teleported if they’re being teleported collectively.
The destination place was already published several times, and you can even be teleported to such place through the game if you’re teleported alone.
I tried looking for similar problems in the forum, and there were many, but couldn’t find any that was suitable to my case.
I have not shared the actual code that executes the teleport in-game for now because this problem persists as described in the above examples even when ran in the Developer Console’s Command Line.
If needed, I am open to sharing it.
Any help is appreciated!