this includes 2 scripts that contain "gun logic", one fires the gun (at a rate you specify at the accuracy you specify). the other sets the speed and direction at which the bullets move. For this one I break my usual tradition of including a working demo, because it seems pretty self explanatory, just be sure to put the "gunnermaker" script in the step or draw event of the charcter you wish to have a gun and the bullet script in the create event of the bullet.
End User Licence Agreement (EULA).