My player stops moving when looking down - NEED HELP!

Sorry about my less knowledge, I haven’t tried any AI yet, it is some kind of challenge