Set Floats for stamina are not working i need help

Ive been trying to make it so when you crouch stamina regenerates faster, ive been trying for a while now, any advice?
277056-
][1]

Where is your function that regenerates the stamina? One option would be multiplying the StaminIncrease variable in stamin regenerate function when the player is crouching.

Here are my stamina regeneration functions
hope this helps

This is what I tried doing, it works but the only problem is that whem I uncrouch is dosent set it back to normal, any advice

yellow box is stamina regen