Need help with matchmaking system

vid:

I’m making a matchmaking i know to teleport plr to 1 Sv by using ReserveServer and TeleportToPrivateServer but idk how to tele 2 plr in another plr to 1 sv

Ex:
Player1 > Server0
Player2 > Server30

Matching: Player1 Player2 Tele to GameServer

I mean you can probably generate the “Game Code” when making the match through MessagingService.

Like this ?

TeleportToPrivateServer(Place_to_Tele, Place_Code, Who_Tele)

Yeah exactly, that’s probably only way to do it.

Place_Code is like (game.PlaceId…SomeThingLikeRoomId) right ?

https://developer.roblox.com/en-us/api-reference/function/TeleportService/ReserveServer

There are all informations that you need :).

If you already have the cross-server matchmaking part set up but you don’t know how to send players from different lobby servers into the same experience server then really you just need to use ReserveServer to generate a code when the match is made. When the other player joins the match, send the code in the same manner you do the Room ID (assuming both of them see the same Room ID). When the match commences, in which ever way you flag that, teleport both players via TeleportToPrivateServer to the given reserved server on their respective lobby servers.