Help with Rig Tween

Hello Developers!
As the title says I am having trouble with tweening my rig/dummy. I want it to move side to side from the Z axis, but instead, it’s flying in the air in the opposite direction. I don’t see anything wrong with positioning in my script so can someone please help me out.
Sorry, but for some reason the video won’t upload so I can’t show that to you guys.
Anyways, here is the code:

local TweenService = game:GetService("TweenService")
local rig = script.Parent

local tweenInfo = TweenInfo.new(
	2, 
	Enum.EasingStyle.Linear, 
	Enum.EasingDirection.In, 
	-1, 
	true, 
	0 
)

local tween = TweenService:Create(rig.PrimaryPart, tweenInfo, { Position = Vector3.new(0, 0, 10) })

tween:Play()

Thanks for any help!

Try this:

local TweenService = game:GetService("TweenService")
local rig = script.Parent

local tweenInfo = TweenInfo.new(
	2, 
	Enum.EasingStyle.Linear, 
	Enum.EasingDirection.In, 
	-1, 
	true, 
	0 
)

local tween = TweenService:Create(rig.PrimaryPart, tweenInfo, {CFrame = rig.PrimaryPart.CFrame + Vector3.new(0, 0, 10)})
tween:Play()

Ah, yes thank you. I feel silly now, ofc it’s CFrame

No problem, if you have any more questions, feel free to ask.