Position Is Buggy

i think the video explains a lot but anyways
what i am trying to do is position the part to the well tip of the gun but it bugs and gets positioned to my foot for some reason this here is the model
RailGun.rbxm (10.1 KB)

for some reason i wasnt able to give the code idk why but cant

it works for me though.________

that does not help me AT ALL!!

You could try parenting an Attachment to the gun, with it placed at the tip of the gun, which is where bullets would come from.

Your script works for me. Maybe it’s your problem(idk).

i see i will try that hope it works