How do i make a matchmaking game like apeirophobia's?

Hey developers!

im willing to make an horror game and (obviously) it needs in the main menu a play button, but i kind of need help in when pressing the play button, a matchmaking gui will pop up, whether you’re gonna create your own lobby as a single or multiplayer or just join other player’s lobbys, and you know all like the lobby owner kicks the player if he wants and a timer starts when its full and all. so i kind of need your help on that.

here’s the best reference to show you all from the game apeirophobia:

Client creates lobby > server recieves adds to a table of lobbys
joining page > server sends table of lobbys to client > client makes the list

local Lobbys = {
{
  Players = {}
  any extras stuff idk?
}
}