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
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
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.
1 comment
instead of i.PlayerGui, you need to do v.PlayerGui