Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I make the gui everyone has change when 2 or more players are on?

g = game.Players.LocalPlayer.PlayerGui.g.Frame.Textbox
if game.Players.NumPlayers > 1 then
g.Text = "Deciding what game to play"

I want the Gui's Textbox that every player has to say "Deciding what game to play" when 2 or more players join the game, but the script isn't working...

1 answer

✓ Accepted answer
if game.Players.NumPlayers >= 2 then
for i,v in pairs (game.Players:GetPlayers()) do
v:WaitForChild('PlayerGui').g.Frame.Textbox.Text = "This works"
end
end

if this answered your query then check mark.

This discussion is preserved as it was. New answers, comments, and votes are closed.