local status = game.Workspace.Control.Status.StatusColor local lights = script.Parent.Parent.Status:GetChildren() local players = game.Players:GetPlayers() status.Changed:connect(function() if status.Value == 0 then for i = 1, #lights do lights[i].BrickColor = BrickColor.new('Forest green') end for i = 1, #players do players[i].PlayerGui.ThreatLevel.Frame.TextLabel.Text = "Threat Alpha has been triggered" end end
no errors in workspace what it's trying to do is get all the players from game.Players and then change the GUI once .status is == 0 I checked in workspace when in server test and the .status value did = 0 the top part is working it's just the part where it's changing the GUI text isn't