In the umg of the stamina bar I would bind the visability. Make the code to branch two results of visible and hidden. However your value is held to know the value of stamina. For instance a float if < 0 visible other return is hidden.
I use bars like this in my game. It’s similar to how you bind the % of the bar to make it fill up.