Shoot during animation

Hey, I have a question. I was looking through the animation, and saw some nice animations for holding a gun. But then I realised that you can’t shoot during the animations. Is there a script of something so you can shoot during animations?