How do you shoot the gun in bloodborne?
You have to face an enemy who is facing you. Wait for them to attack. Pull L2 to fire your gun when they start attacking. That will stun your opponent. So that you're touching them, move closer to your enemy. R1 has a hammer.