local p=script.Parent local J=p.Door1 local v=p.Door2 local A=J.CFrame local d=v.CFrame local g=script.Parent.Parent.Speed.Value for p=1,58/(15*g),1 do wait()J.CFrame=J.CFrame+g*J.CFrame.lookVector v.CFrame=v.CFrame-g*J.CFrame.lookVector end wait(2)for p=1,58/(15*g),1 do wait()J.CFrame=J.CFrame-g*J.CFrame.lookVector v.CFrame=v.CFrame+g*J.CFrame.lookVector end v.CFrame=d J.CFrame=A wait()script:remove()


local door = script.Parent
local door1 = door.Door1 
local door2 = door.Door2 
local ret1 = door1.CFrame 
local ret2 = door2.CFrame 
local spd = script.Parent.Parent.Speed.Value
for i = 1, 58/(15*spd) do 
wait() 
door1.CFrame = door1.CFrame+spd*door1.CFrame.lookVector 
door2.CFrame = door2.CFrame-spd*door1.CFrame.lookVector 
end 
wait(2)
for i = 1, 58/(15*spd) do
wait()
door1.CFrame = door1.CFrame-spd*door1.CFrame.lookVector
door2.CFrame = door2.CFrame+spd*door1.CFrame.lookVector 
end 
door2.CFrame = ret2
door1.CFrame = ret1 
wait() 
script:remove()

