Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What sort of methodology would I use if I want a GUI to appear on different screens?

Asked by 1 year ago

Let's say I have a Player1 and Player2 and I have game with a turn system and a GUI that needs to be interacted with. What sort of process would I take to put the GUI on player1s screen first, then player 2s screen?

Does this make sense?

0
no it doesnt make sense StevenElijah7019 57 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago

If you want to give a certain player a GUI at a specific time, I think you can just clone a GUI and parent it to the player's PlayerGui.

For example:

local Gui = ServerStorage.Gui --for example

RemoteEvent.OnServerEvent:Connect(function(plr)
    local Clone = Gui:Clone()
    Clone.Parent = plr.PlayerGui
end
Ad

Answer this question