Hi
I have a normal game script in the workspace that changes gui's visible/non visible status. It works for one player only, the other players just have no GUI on their screen. I want them to show up for every player. Heres a snippet of my code:
for i,v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.Choosabel.BackgroundFrame.Visible = true
wait(10)
v.PlayerGui.Choosabel.BackgroundFrame.Visible = false
end

4 comments
BUMP
I would assume that this code runs before the second player is registered in the game; therefore the for loop would only be able to find one player. I suggest that you add some type of wait or repeat loop.
Proper indentation is key.
You can't access playergui from a server script