Rapid Fire (1989 film)

Armed with a rapid-firing, multi-purpose machine gun, Williams releases Amed, kills many crewmen and soldiers on the ship and gets away with the terrorist.

Thompson seeks assistance of a mercenary friend of his, named Pappy, to help find Williams while a seductive female agent, named Corey Parker, is assigned to keep a close eye on Thompson and of his movements.

Williams has his men kidnap Corey and offer Thompson to give up his life to spare hers.

After getting away from Hansen and his agents, Thompson and Pappy rescue Corey before she is to be killed and force one of the enemy henchmen to reveal the location of the hideout of Williams.

As Thompson, Pappy and Corey walk away, Williams re-arms himself with his machine gun, but upon pulling the trigger, finds that minutes before, Thompson changed the fail-safe code on the weapon which enables itself to self-destruct should the improper code be put in prior to being armed.