Using tween service, only moves one part instead of the whole model

So I’ve been trying to make it so a model in my game is moving from one part to another using tween service, the thing is this will only move one part instead of the whole model even though the whole thing has Motor6D inside of the parts that need it, Any suggestions?
this is the script:

local TweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(1)
local PosToBe = {}
PosToBe.Position = Vector3.new(218.165, 644.407, -475.288)
local part = script.Parent
local tween = TweenService:Create(part, tweenInfo,PosToBe)

wait(5)
tween:Play()

and here is what model looks like:
image

here is what it looks like (black box is humanoidRootPart)
https://gyazo.com/09018e9c8fe9510f286ce7f67400d976

1 Like

Maybe try putting script in model and doing script.Parent.PrimaryPart?

1 Like

Just tried that, nothing changed for it.

1 Like

Try using :SetPrimaryPartCFrame(). and make sure Part is the PrimaryPart of the model which contains the LocalScript.

1 Like