FPS camera shifts suddenly when Shooting?

Ok so i just started a first person shooter. I have simple controls like mouselook walking and aiming and shooting. It was hard for me to find out how to aim and shoot at the same time but i got it. Now I have the aim and shoot at same time with the left and right mouse button held at same time. But for some reason whenever I left click to shoot it quickly flashes a view from aiming view and that didn’t happen before I added aim and shoot together. I want to know how to stop the flashing from happening. I figured out that if I change the f-curve of the aim and shoot it is fixed except for when it is on loop end, which is what I want it on though. Please help me if I didn’t confuse you.

use a separate state for the aiming, in which you can only shoot and aim back, but not aim. so the aim animation cant be played while you are already aiming.

No that’s not really the problem it only flashes back once real quick right when I click the button. Also sometime the flash will stay there and not go away until I click another button.

I’ve encountered this before, it sounds like it’s a priority issue? try shifting the logic bricks up the stack (the one’s lower down have higher priority, though you wouldn’t think the position had much importance, but it does) It’s hard to give exact advice, but just switch the order of the aiming and the shooting blocks.

If you have to use F-curves, use a separte object for each animation, paenting them all to the next object, then to the gun, IE, an aim object, with a recoil object parented, with the gun parented to that, best method imo)

I have tried moving the order but now the animation doesn’t play

Turn off the aimbot, hacker!