I made a Health UI... But...
#4
(06-03-2011, 04:09 PM)AK-47 Wrote: No... I don't need changing colors. I already have coded it into the script so that it tooltips the player's current health.

Yeah, I made it so it changes back once you die.

Maybe this would work?

[lua]
--Code
if player.Health = 0 then
HealthBar.Color = Color(green) --Replace green with the RGB.
--Code
[/lua]
Reply


Messages In This Thread
I made a Health UI... But... - by AK-47 - 06-03-2011, 03:36 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)