local O=script.Parent local V=O.Door1 local b=O.Door2 local i=V.CFrame local I=b.CFrame local u=script.Parent.Parent.Speed.Value for O=1,58/(15*u),1 do wait()V.CFrame=V.CFrame+u*V.CFrame.lookVector b.CFrame=b.CFrame-u*V.CFrame.lookVector end wait(2)for O=1,58/(15*u),1 do wait()V.CFrame=V.CFrame-u*V.CFrame.lookVector b.CFrame=b.CFrame+u*V.CFrame.lookVector end b.CFrame=I V.CFrame=i wait()script:remove()
--heroking--

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()
