Door script not work

Hello I have this script:

local ts = game:GetService("TweenService")
local ti = TweenInfo.new(.1)
local p = script.Parent

local closedPos = p.Position
local openPos1 = Vector3.new(closedPos.X - 2,0,closedPos.Z - 2)
local openPos2 = Vector3.new(closedPos.X + 2,0,closedPos.Z + 2)

local open1 = ts:Create(p,ti, {
	["Position"] = openPos1,
	["Orientation"] = Vector3.new(0,0,0) 
})

local open2 = ts:Create(p,ti, {
	["Position"] = openPos2,
	["Orientation"] = Vector3.new(0,0,0) 
})

local close = ts:Create(p,ti, {
	["Position"] = closedPos,
	["Orientation"] = Vector3.new(0,90,0) 
})

while true do
	task.wait()
	open1:Play()
	open1.Completed:Wait()
	close:Play()
	close.Completed:Wait()
	open2:Play()
	open2.Completed:Wait()
	close:Play()
	close.Completed:Wait()
end

and it does this

fix