How to write a smooth crouching script in blueprint?

Thanks TJ, this is working nicely. Though I did need to change it to a sphere trace to stop clipping right at the edge of overhangs.