I am making a game where there is a lobby and then you teleport into the actual game. I have a problem with this because when all the players in the lobby teleport to the game, I want them to be in the same server together, this means that they can't join a server that is already running with people in it. So I ask... Is it possible to iterate through different servers to find one that all of the players can join?
What you are looking for is called matchmaking, and it is not currently possible to do on ROBLOX. Keep an eye out, though.
In the mean time, you can use the CreatePlace
method to achieve the same effect, although you'll have to implement some sort of version checking for when you update the game itself.