How to make match making?

Heyo I’ve been learning about MessagingService to make a match making system that works across all servers (ex: player1 in a server joins the queue and then player2 in a different server joins the queue and then they both get teleported to another server) the issue is though I kind of don’t understand how this works at all. I’ve read these two posts Post 1 Post 2 and yeah I don’t understand how to set this up.

My understanding is this you have 3 games 1 game is the main one that players join when they play the game and then you have a 2nd game which using messageservice you can tell to add the players to a table which would be the queue and then once that queue has players in it I can get 2 and teleport them to the 3rd game which would be the match one however I don’t think this is actually correct so yeah.

Looking for an explanation on how I could set this up and maybe get put into the right direction.