how to crouch

I have a character, he crouchs on C through a flip flop, and I need him to stand on space bar. How can I do this?

Character has a function “Uncrouch” which does exactly that.

And in Crouch, can I regulate the camera anywhere? And, it is so close approaching,I do not need that.