Projectile only going straight.

Hello. I am working on a project where you can shoot a gun. The problem is, even though I got the projectile that comes out of it to shoot in the direction I want it to, it won’t shoot up or down!
![alt text][1]

I have watched a lot of tutorials and it is still not working.
Thank you.