a problem with a bullet script please help!

ok i have a script that is supposed to be a shooting script for a gun, but ive run into a snag, it creates the bullet, but then the bullet just drops straight down, the script is meant to snap the bullet to the hit position of a ray mounted on the gun. so why doesn’t this work?

P.S. That is the whole script on the right


Firstly, your script isn’t the best:
Using physical bullets causes slower game, use ray with add force (see my other post)
You might not have added initial bullet velocity

i need physical bullets so that the target know when its been hit, these bullets dont fly through the air, its literally a cube, in the first frame its added, in the very next frame it snaps to the ray hit position, so therefore it doesn’t need an initial velocity, thanks anyway