Character Doesn't Un Crouch

So a few weeks ago I followed a person’s guide to making a smooth crouching blueprint script, it works (the character crouches) but when I want the character to get out of a crouching status nothing happens, and I can still shoot, sprint and jump while crouching (which I don’t want).

I used to have a crouching system which worked very well except it was toggled (the transition wasn’t smooth), anyone knows how I can fix this problem?

Here’s the current smooth crouching script I have:

Part 1

Part 2

Part 3