of     1   

TwistedPhantoms
#208287345Thursday, January 26, 2017 9:03 PM GMT

I thought it would of been: if script.Parent.dragon.Health = 0 then game.Lighting.Gui.Enabled = true
Wowgnomes
#208287398Thursday, January 26, 2017 9:04 PM GMT

humanoid.Changed:connect(function() if humanoid.Health == 1 then game.Players:GetPlayerFromCharacter(humanoid.Parent).PlayerGui.GUI.Enabled = true
Nyxis
#208287426Thursday, January 26, 2017 9:05 PM GMT

humanoid.Changed:connect(function() if humanoid.Health <= 1 then --gui stuff end end)
Nyxis
#208287442Thursday, January 26, 2017 9:05 PM GMT

rip. gnomes beat me to it. gg
TwistedPhantoms
#208288171Thursday, January 26, 2017 9:22 PM GMT

Thanks guys.
Disaster_Scripts
#208288338Thursday, January 26, 2017 9:25 PM GMT

I do it this way: local plr = script.Parent.Parent.Parent.Parent -- change this to whatever local health = plr.Character.Humanoid.Health while true do if health == 1 then game.Lighting.Gui.Enabled = true else game.Lighting.Gui.Enabled = false end end
Nyxis
#208289103Thursday, January 26, 2017 9:41 PM GMT

That script is disgusting, Disaster. Please rethink the way you do things.
Wowgnomes
#208302529Friday, January 27, 2017 1:08 AM GMT

To be fair, his name IS disaster scripts. And that script is a disaster
LilMcManiac
#208302596Friday, January 27, 2017 1:10 AM GMT

funny thing is, disasters script wouldn't work.
Luo_Basics
#208302790Friday, January 27, 2017 1:13 AM GMT

That script is disgusting, Disaster. Please rethink the way you do things.[2] also lol wowgnomes also wow consider if the player dies gui disapeers but it probably will either way with roblox
Wowgnomes
#208302931Friday, January 27, 2017 1:15 AM GMT

yeah gui would stay until they respawn, ive used scripts similar for death messages hahat
Disaster_Scripts
#208315610Friday, January 27, 2017 4:14 AM GMT

Ok, fine. I'll do things your way.
Lua_Basics
#208315708Friday, January 27, 2017 4:16 AM GMT

game:GetService("RunService").RenderStepped:connect(function() --code end) Also, the gui in lighting... what are you trying to do, that will never work...

    of     1