How to tween curve

I read this but idk what this mean i tryna tween something bezier curve can you guys give a example how to do it?

Run a for loop, and get the position on the bezier on each interval, then just change the parts position to that using tween service or manually if you have enough intervals! I would send a snippet, but I’m in a bit of a rush srry!

Ik how to tween a part to go infront but idk how do I make it curve

You gotta do a for loop, something like this
for i = 1,100 do
local percentage = i/100
local BezierPos = --GetBezierPos using ur 3 points
Part.Position = BezierPos
game:GetService(“RunService”).Heartbeat:Wait()
end

Try some bezier tween modules like:

or

2 Likes