FPSTutorial-Robot using machine gun

Using the robot provided with the fps tutorial is there a way he can use a machine gun instead of the rocket launcher?

instead of applying the rocket launcher script to the AI attack the MachineGun, i have done this, only thing i’m still figuring out is to make it shoot awhile, right now it shoots once and does the animation again. probably something with the timing.