I remaned the humanoid generator


local generator = game.Workspace.Generator.Generator.Health
if generator == 9000 then
	game.StarterGui.ScreenGui.ImageLabel.Visible = true
end


9 comments

0

This is because you are changing the startergui not the playergui. Did you make a variable for the player? If so, just change it to PlayerVariable.PlayerGui.ScreenGui.ImageLabel.Visible = true

0

Thx

0

Write [SOLVED] in the question's name :D

0

It didn't work is this because the way i stored the variable was local player = game.Players.LocalPlayer. It's a 1 man server

1

You need to make sure that it's in a LocalScript if it's changing a local players GUI, otherwise it wont work due to FE

0

Thx

0

Is this scirpt ment to be in the gui or is it ment to be elsewhere

0

It doesn't matter, just change PlayerVariable to player.

0

THX