How to use tween to move a part

Hi,
I am making a sliding door but am struggling with how to use tweening for it. I should point out that I do not really understand all components of it. Everything is printing, debounce works, but the doors don’t move. How do I fix this?

print("IT RAN PRE VAR")
local TweenService = game:GetService("TweenService")

local trigger = script.Parent.Trigger
print(trigger.Parent)
--local d1,d2 = script.Parent.d1, script.Parent.d2
local d1 = script.Parent.d1
local d2 = script.Parent.d2
print("Post d1d2")
d1.Position = Vector3.new(0, 10, 0)
d2.Position = Vector3.new(0,-10,0)
print("IT RAN POST VAR")

local tweenInfo = TweenInfo.new(
	2, -- Time
	Enum.EasingStyle.Linear, -- EasingStyle
	Enum.EasingDirection.Out, -- EasingDirection
	0, -- RepeatCount (when less than zero the tween will loop indefinitely)
	true, -- Reverses (tween will reverse once reaching it's goal)
	0 -- DelayTime
)
print("POST TWEENINFO")

local tween = TweenService:Create(d1, tweenInfo, {Position = Vector3.new(0, 30, 0)})
local tween2 = TweenService:Create(d2, tweenInfo, {Position = Vector3.new(0, 30, 0)})

local debounce = false
local function touched(trigger)
	print("Touch detected")
	if not debounce then
		debounce = true
		print("Past debounce,Tween about to play")
		tween:Play()
		tween2:Play()
		print("Tweens played")
		wait(5)
		tween:Cancel() -- cancel the animation after 10 seconds
		tween2:Cancel() 
		debounce = false
	end
end

trigger.Touched:Connect(touched)


Hi @Mrvictory711. If you are still needing help with this post, could you inform me on what d1 and d2 is? I understand they are doors, but is it a group of models, or just a part?