local generator = game.Workspace.Generator.Generator.Health
if generator == 5000 then
game.StarterGui.ScreenGui.ImageLabel.Visible = true
end
✓ ANSWER ACCEPTED
Why isn't this gui not appearing when the generator health = 5000?
1 answer
✓ Accepted answer
Because you didn't determine whether the health changed so change line 1 to
HealthChange.Health
2 comments
0
is it ment to look like this local generator = game.Workspace.Generator.Generator.HealthChange.Health
0
Yes.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Are you supposed to have 2 Generator in "local generator = game.Workspace.Generator.Generator.Health" ?
I renamed humanoid to generator