Script
Bullet.CFrame = CFrame.new(gunPos, MousePos)
Bullet.Orientation = Vector3.new(Ori)
Bullet.Velocity = char.HumanoidRootPart.CFrame.lookVector * Speed
Variables
gunPos = Gun.Handle.Position
MousePos = Mouse.Hit.p
Ori = Gun.Parent.HumanoidRootPart.CFrame.lookVector
Problem
I don't understand, the bullet of my gun doesn't go where my mouse is but it goes straight. And it doesn't rotate, it stays at it's default orientation.
What am i doing wrong here? Should i use something else for the mouse? ( Like Mouse.UnitRay.Direction or Mouse.Hit.lookVector )

1 comment
There is actually something called bezier curves, I reccomend this https://devforum.roblox.com/t/modeling-a-projectiles-motion/176677 but if you dont understand, you could read this wiki roblox made https://developer.roblox.com/en-us/articles/Bezier-curves