I am trying to make a ski lift follow the path. The issue is, only the primary part is following the path. The other parts are all welded using weld constraints, to the primary part. I have no idea why only the primary part is moving.
The script does seem to be functioning, but it is tweening only the primary part even though all of the other parts are welded to it AND unanchored.
As shown below, only the primary part is moving.
for i,v in pairs(Checkpoints:GetChildren()) do local NewPoint = Checkpoints:WaitForChild(i) CFrameTable.Position = NewPoint.Position local Distance = (script.Parent:FindFirstChild("Vehicle").PrimaryPart.Position - NewPoint.Position).magnitude Time = GetTime(Distance, Speed) print(Time) local NewTweenInfoTable = TweenInfo.new( Time, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0 ) local PanelSlideTween = TweenService:Create(Vehicle.PrimaryPart, NewTweenInfoTable, CFrameTable) PanelSlideTween:Play() PanelSlideTween.Completed:wait() end
for anyone who stumbles across this: I eventually solved this by tweening CFrame instead