Hello —,
you can use a ProgressBar or, for your specific intent, a TiledBackground like in the screenshot. I also added the 'SetColor' effect to the tbg, so it goes from green to red the more the bare "is filled".
You can change the formula in the 'Every X seconds' to achieve better results.
I can not say whether the SetColor effect is the same in C2. You may seperate between parameter 0, 1 and 2.