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

Make a gui appear for all players?

I need to make a gui appear for all of the players. My script:

for i, v in pairs (game.Players:GetChildren()) do
i.PlayerGui.Gui.Enabled = true
end

Thanks, JailBreaker_13

1 comment

0

instead of i.PlayerGui, you need to do v.PlayerGui

1 answer

✓ Accepted answer

Firstly, NEVER use GetChildren() for the Player Service, use GetPlayers(). Secondly, you will need a remote event to make it visible to all players, otherwise they will need to reset to see it.

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