randomised camera "recoil"

I want my camera to shake when my Shoot animation plays , i have working script but the camera faces straight when it plays , so if i look up and shoot the camera quickly looks straight forward then goes back to its position , Im so confused , please help me ( Oh the camera shake for my script is an animation)

You have probably animated the camera, so it is using world-space positions/rotations when you play the animation. Make the camera a child of an empty gameObject, then make the animation again, just animate the child camera object. Now wherever the empty gameObject containing the camera is placed, when you play the animation it should work in local-space positions/rotations (relative to the empty).