Rigged Model won't move with primary part

So I rigged a model using the RigEdit plugin, and i’m trying to make it move forward to the target using this script

local TweenService = game:GetService("TweenService")
local obj = workspace.Motte.PrimaryPart
local target = workspace.target
local Time = 3
local Speed = 5
local tween = TweenService:Create(obj,
    TweenInfo.new(Time),
    {Position = obj.Position + (target.Position - obj.Position).Unit
        * Time * Speed}
)
tween:Play()

All the parts are unanchored except the PrimaryPart, and they all welded to the PrimaryPart, it should move the whole model but it looks like this

I had an issue like this before. When you were rigging did you click the root part before the joints?

Yeah i did it like this

Sorry, I forgot that tweening positions doesn’t affect attached parts try changing its cframe

All you should need to do is change Position = obj.Position to CFrame = obj.CFrame

Sorry for the long delay

1 Like