I put a script in serverscriptservice, that is only putting the gui and frame in that players player gui, that the event fired from. Do I need to change it, or use something else? Code:
local remote = game.ReplicatedStorage.OpenEvent remote.OnServerEvent:Connect(function(player) player.PlayerGui:WaitForChild("CreatingLobbyGui") local LobbyCopy = game.Lighting.LobbyGui:Clone() LobbyCopy.Parent = player.PlayerGui local LobbysCopy = game.Lighting.Frame:Clone() LobbysCopy.Parent = player.PlayerGui.ActiveLobbys.Frame.Frame end)
Guy that removed his wont work.
local remote = game.ReplicatedStorage.OpenEvent remote.OnServerEvent:Connect(function() --Client sending request to server to show all guis for i, v in pairs(game.Players:GetPlayers()) do local LobbyCopy = game.Lighting.LobbyGui:Clone() LobbyCopy.Parent = v.PlayerGui local LobbysCopy = game.Lighting.Frame:Clone() LobbysCopy.Parent = v.PlayerGui.ActiveLobbys.Frame.Frame end end)