Hey. I’ve been trying to figure this out but I’m just not really sure how to do it.
So I’m making a health bar system and Basically, I want this image to start off red and as you lose more health, the red color will start to fall down relative to your health, revealing gray. To clarify, I don’t need help with the health bar part, just the coloring part.
By any chance, do you mean something like this:
https://gyazo.com/453b6f2bd1267d44b5544ca665cbafdd.mp4
Because you can achieve this by using a UIGradient, turning it’s rotation to 90 and have one of the extrema’s be transparent something like this:
Then tween the “Offset” between, Vector2.new(0, 0)
and Vector2.new(0, 1)
That’s exactly what I meant! Thanks!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.