Hello developers! My Bezier Curve works but for some reason, the projectile (I am making an artillery that fires exploding projectiles) which is a sphere would move irregularly to the finish point. (it would move up and down randomly and and make a zig zag pattern, it almost seems as it is teleporting) I don’t see anything wrong with my code is there something that I can fix to make the projectile launch smoothly? Thanks!

```
local button = script.Parent.Button.ClickDetector
local p1 = game.Workspace.p1.Position
local start = game.Workspace.Start.Position
local finish = game.Workspace.Finish.Position
function beizercurve()
local travel = game:GetService("ReplicatedStorage").PartReplications.Travel:Clone()
travel.Parent = game.Workspace
local function lerp(a, b, t)
return a + (b - a) * t
end
for i = 0,100,1 do
local t = i/100
local l1 = lerp(start,p1,t)
local l2 = lerp(p1,finish,t)
local quad = lerp(l1,l2,t)
travel.Position = quad
wait(0.01)
end
end
button.MouseClick:Connect(beizercurve)
```

Heres a video of the Bezier curve: