Crouching isn't working for me :(

There is actually a function built into UE4 called “Crouch”, as well as a function called "Uncrouch. These functions actually do almost everything for you, including to change the size of collision boxes. I hope it helped!