Tweening bezier curves won’t work

Without the tweening, it works perfectly fine. It moves, although it is very slow and doesn’t look good. When I try tweening it, the part doesn’t even spawn at all. There are no output errors, and I honestly have no clue what to do.

    
    return (1-Time)^2*Point0+2*(1-Time)*Time*Point1+Time^2*Point2;
    
    
end

local supClone = game:GetService("ReplicatedStorage"):WaitForChild("Sup"):Clone()

local steps = 20

local StartPart = workspace.StartPart
local EndPart = workspace.EndPart
local CurvePart = workspace.CurvePart

for i = 0, steps do
    local Time = i/steps
    supClone.Anchored, supClone.CanCollide, supClone.Transparency = true, false, .5
    supClone.Parent = workspace
    
    local tweenService = game:GetService("TweenService")
    
    local tweenInfo = TweenInfo.new(100, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
    
    local goal = {Position = QuadraticBezier(Time, StartPart.Position, CurvePart.Position, EndPart.Position)}
    
    tweenService:Create(supClone, tweenInfo, goal)
    
    wait(1)
    
    
end
        ```

This is the missing line at the top

function QuadraticBezier(Time,Point0,Point1,Point2)

I just realized that I forgot to play the tween, so ignore :expressionless: