Issue with Character Movement/Rotation

I have been following a tutorial for creating a platformer game and my character movement was working perfectly fine, but when I reopened my project this morning, the movement was all messed up. The character just spins in circles unless you point the camera in one specific direction and don’t move it. I didn’t change anything, so I have no idea why it started acting up. It’s hard to see, but in the second video below you can see how the character movement/rotation is malfunctioning compared to the first video. Thanks.

[video][/video]
[video][/video]