Originally Posted by Riraito
im trying to make a health bar using a status bar, and what im wondering, is there some way to make a status bar thats all green when its at 100%, and all red at 0%, and everything in between would follow the gradient from green to red. (I hope you understand what im trying to say lol)
|
ehr, you can set the color on a StatusBar via myStatusBar:SetStatusBarColor(r, g, b, a)
So, I guess that if you could figure out the appropriate values of r, g, and b based on your health percentage, you could do that.
HTH,
F.O.R.