So, im trying to make a gui, that appears after killing a certain enemy for a few seconds. I suck in scripting badly so uh... halp.
if game.Workspace.enemyleader1.Humanoid.Health.Value = < 0 then game.StarterGui.KILLALLENEMIES.Enabled = true wait (2) game.StarterGui.KILLALLENEMIES.Enabled = false end
The issue is simple. In the first line, there should be no "=" sign:
if game.Workspace.enemyleader1.Humanoid.Health.Value < 0 then game.StarterGui.KILLALLENEMIES.Enabled = true wait (2) game.StarterGui.KILLALLENEMIES.Enabled = false end