Sprinting decreases energy

Okay Devin I’ve done as you have said and it works to an extent, and I think I know what the extent is. So if the condition bool is <= than 0 then it does stop reducing the energy, but only when the player releases the button and then clicks back on it. If you see the pic attached it starts with an input action button ‘pressed’ so how can I do it so as soon as it hits 0 it stops reducing, rather than waiting on the player to release and then press again. Thanks