This is my character's gun ammo firing code,
and this is the code that allows it to rotate left and right.
My character normally looks to the right, even if I press the left arrow key and the animation of the character turns left, the bullets are always fired from left to right.