How would you make a gun fire smoothly?

I’m making guns for my game and they are working pretty well! The only problem is that the bullet acts weird. When you fire standing still it’s fine, but when you’re moving it seems to fire behind you.
Here is a video of that

robloxapp-20200502-0020323.wmv (1.8 MB)

Any way to fix this?

Btw sorry that you have to download it I couldn’t make it mp4 for some reason :frowning: