if key=="\122"then show_ammo=true end if key==keys.minigun and on then minigun_shoot=true while minigun_shoot do if minigun.left~=0 then getBullet("\071\117\110\065")minigun.left=minigun.left-1 end if minigun.right~=0 then getBullet("\071\117\110\066")minigun.right=minigun.right-1 end wait(shoot_rate)end end if key=="\102"and on then if missile_side==1 then if hydra.right~=0 then Getmissile("\076\097\117\110\099\104\066")missile_side=2 end elseif missile_side==2 then if hydra.left~=0 then Getmissile("\076\097\117\110\099\104\065")missile_side=1 end end end

if(key == "z") then
show_ammo = true
end  

if(key == keys.minigun) and on then 
		minigun_shoot = true
		while minigun_shoot do
		if(minigun.left ~= 0) then
		getBullet("GunA") 
		minigun.left = minigun.left -1
		end 
		if(minigun.right ~= 0) then
		getBullet("GunB")
		minigun.right = minigun.right -1
		end 
		wait(shoot_rate)
		end
end 
	
if(key == "f") and  on then
		if(missile_side == 1) then
				if(hydra.right ~= 0) then 
					Getmissile("LaunchB")
					missile_side = 2
				end
		elseif(missile_side == 2) then
				if(hydra.left ~= 0) then 
					Getmissile("LaunchA")
					missile_side = 1
				end
		end
end 

