the player model I have fly’s.
I don’t know how to fix it. Please help.
It is because your camera y axis is moving player. You should attach you mouse script to your camera And player. But for camera set it axis MouseY and set all rotations to 0 only leaving up and down look, and for player set axis MouseX only, disabling up and down look and leaving only rotation.