Projectile not moving

I’d like to thank everyone for helping me, I have solved the problem, I needed to insert an if statement checking if the player has picked up the weapon yet.