Help with Matchmaking System/Party system

Hello, i am currently working on a Matchmaking System/Party system and i was goanna see if someone can help me with it, im trying to make it where once someone starts a Party it shows in the Join list, so what i need help with is adding it to the join Gui for everyones screen and make it update if left.

i have many Values i use to Hold information like, Mode selected, Difficulty, Party creator, Password and Which part they want to teleport to

Values that hold the Party Data:

1 Like

Could you show us your current script work?

yep, just organizing them right now.

i dont have alot of scripts done yet, only scripts i have done is the working UI, making all the buttons connect to Other GUIS if clicked, the only closest one u would need is the create Button, let me send it here.

script.Parent.MouseButton1Click:Connect(function(Player)
	script.Parent.Parent.Visible = false
	script.Parent.Parent.Parent.AfterCreated.Visible = true
	script.Parent.Parent.Parent.AfterCreated.Difficulty.Text = script.Parent.Parent.DifficultyValue.Value
	script.Parent.Parent.Parent.AfterCreated["Chapter Name"].Text = script.Parent.Parent.SelectedMode.Value
	script.Parent.Parent.Parent.OpenPlay.MouseClick.Disabled = true
	script.Parent.Parent.Parent.OpenPlay.IfCreatedParty.Disabled = false
	local Mode = script.Parent.Parent.SelectedMode
	local Difficulty = script.Parent.Parent.DifficultyValue
	local Password = script.Parent.Parent.PasswordValue
	local ServerOwner = script.Parent.Parent.ServerCreator
end)

Here is the Join Ui i want The Information to send to.

local host = ...
local client = game.Players.LocalPlayer

local server = {server_players = {}, max_players = 6, host=host}

-- Run this every time a player has joined

function server.joined(server_client)
   -- Return a sort of error message if there are too many players in the lobby
   if (#server.server_players == 6) then
      return "Protocol error: Max limit filled"
   end
   
   table.insert(server.server_players, server_client) -- Add the player requesting to join
end