if human.Health > human.Health * .5 then
script.Parent.Parent.BackgroundColor3 = Color3.new(32/255, 204/255, 6/255)
elseif human.Health <= human.Health * .5 and human.Health > human.Health/4 then
script.Parent.Parent.BackgroundColor3 = Color3.new(251/255, 255/255, 11/255)
elseif human.Health <= human.Health/4 then
script.Parent.Parent.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
end
end)
where human is game.Players.LocalPlayer.Character.Humanoid. and this is connected to a while loop, but its not shown. it never changes color, and there isnt anything in the output.

2 comments
i make so many of these tiny mistakes... thank you
No problem. I recommend reading the Scripting Book, by the way: http://wiki.roblox.com/index.php?title=Scripting_Book