What you are describing is not a zip gun. A zip gun is an improvised firearm that typically, but not always, fires pistol cartridges (rifle or shotgun cartridge zip guns can and have been made, but they can be more sketchy to use and control). Zip guns are cobbled together from a pipe and some basic form of firing mechanism, etc.