Tweening a models PrimaryPart should make it move, which it does, but the tween just stops before reaching the goal for no reason. It at -220 on the Y, and is supposed to move to -20, but it stops at -116 for some reason
local StartCFrame = self.CurrentBoss:GetPivot()
print(StartCFrame.Position)
-- Spawn below water
self.CurrentBoss:PivotTo(StartCFrame - Vector3.new(0, 200, 0))
print(self.CurrentBoss:GetPivot().Position)
self.CurrentBoss.Parent = BossContainer
print(StartCFrame.Position)
local TweenUp = TweenService:Create(
self.CurrentBoss.PrimaryPart,
TweenInfo.new(3),
{
CFrame = StartCFrame
}
)
TweenUp:Play()
TweenUp.Completed:Wait()
print(self.CurrentBoss:GetPivot().Position)