while true do
wait(0.1)
for i,v in pairs(game.Players:GetPlayers()) do
wait(0.1)
v.PlayerGui.ScreenGui.Chillers.Text="Unemployed: "..game.workspace.PopulationFigures.ChillersHowMuch.Value
v.PlayerGui.ScreenGui.People.Text="Total People "..game.workspace.PopulationFigures.PeopleHowMuch.Value
v.PlayerGui.ScreenGui.Workers.Text="Other Workers "..game.workspace.PopulationFigures.WorkersHowMuch.Value
v.PlayerGui.ScreenGui.TooYoung.Text="Too young to work "..game.workspace.PopulationFigures.TooYoungHowMuch.Value
end
end
This always says playerGui is not a valid member of player when I run it on a server. This is a local script in screengui any help please. FE is disabled. It says the mistake is on line 6.

1 comment
not everything is loaded at the start of the game. Try v:WaitForChild("PlayerGui") for all od the part that require the PlayerGui.