How do I make differant shaped progress bars?

Hi all,
I want to make a health bar like Guild Wars 2. I’ve tried following guides to mask the outside of the sphere but none worked. All I need to do is mask some of the progress bar.
Please help!

139825-downed_penalty.jpg