Im truing to make a game where when you type in a certain password it sends you to the server that the password is assigned to. not a game itself but individual servers.
There are two types of servers: Private Servers and Normal ones.
In order to teleport to a normal server, you need its id. Then you need to use TeleportService:TeleportToPlaceInstance(placeId, serverId, player)
But what would seem better for you to use is private servers. In order to teleport to a private server, you need to generate a code of one with TeleportService:ReserveServer() and then use TeleportService:TeleportToPrivateServer().
Unlike normal servers, private servers can be accessed with the same access code even after all players had left them. They also don't appear in the servers list.