Having trouble welding a model

I want to tween this and only the root part is moving, the other parts don’t move

for _,v in pairs(petClone:GetDescendants()) do 
	if v:IsA("BasePart") then 
		if v ~= petClone.PrimaryPart then 
			local weld = Instance.new("WeldConstraint")
			weld.Part0 = petClone:WaitForChild("Head") 
			weld.Part1 = v
			weld.Parent = petClone:WaitForChild("Head")
			v.Anchored = false
		end
	end
end

Is the head the primarypart? If it’s not, then shouldn’t weld.Part0 be petClone.PrimaryPart?

1 Like

the head is the primary part yeet

Are you tweening Position or CFrame? Changing position doesn’t move parts attached with welds, but changing CFrame does.

1 Like