Firing Script

This script controls the visibility of the light and glow group. It's input is the speed or rotation of the gun and the angle of rotation. This is done so that the barrels that reach the top of the gun after a certain speed and fall in the dead angle, fire.