Blueprint Tutorial: Stamina Decay/Regeneration Implementation

How would I make a toggle sprint from this? Before I was using a flip flop to switch from play to reverse but after implementing this things got a bit weird. Sometimes the flip flop will go through and I’ll start sprinting but my stamina will stay the same unless I’m actually holding down the sprint button. I’ve tried a few things to get around it, but it seems the way it’s currently set up requires a button to be held for the stamina to decay.