How to write a smooth crouching script in blueprint?

Here’s the event graph