make a bullet sprite go to the gun when shot, and then make the bullet go forward until it collides with something or goes a certain distance. Use spcol, spcolvec, sphitsp, spofs, spshow, sphide, and a few variables to do these things. its simple and complicated.