--do nothing

else
if game.Workspace.DoorValues.Moving.Value == false then
game.Workspace.DoorValues.Close.Value = game.Workspace.DoorValues.Close.Value +1
game.Workspace.DoorValues.Open.Value = game.Workspace.DoorValues.Open.Value -1
game.Workspace.doorright.p1.CFrame = game.Workspace.doorright.p1.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p2.CFrame = game.Workspace.doorright.p2.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p3.CFrame = game.Workspace.doorright.p3.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p4.CFrame = game.Workspace.doorright.p4.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p5.CFrame = game.Workspace.doorright.p5.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p6.CFrame = game.Workspace.doorright.p6.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p7.CFrame = game.Workspace.doorright.p7.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p8.CFrame = game.Workspace.doorright.p8.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p9.CFrame = game.Workspace.doorright.p9.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p10.CFrame = game.Workspace.doorright.p10.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p11.CFrame = game.Workspace.doorright.p11.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p12.CFrame = game.Workspace.doorright.p12.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p13.CFrame = game.Workspace.doorright.p13.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p14.CFrame = game.Workspace.doorright.p14.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p15.CFrame = game.Workspace.doorright.p15.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p16.CFrame = game.Workspace.doorright.p16.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p17.CFrame = game.Workspace.doorright.p17.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p18.CFrame = game.Workspace.doorright.p18.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.p19.CFrame = game.Workspace.doorright.p19.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.pillar.CFrame = game.Workspace.doorright.pillar.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l11.CFrame = game.Workspace.doorright.l11.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l12.CFrame = game.Workspace.doorright.l12.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l13.CFrame = game.Workspace.doorright.l13.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l21.CFrame = game.Workspace.doorright.l21.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l22.CFrame = game.Workspace.doorright.l22.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l23.CFrame = game.Workspace.doorright.l23.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l31.CFrame = game.Workspace.doorright.l31.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l32.CFrame = game.Workspace.doorright.l32.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l33.CFrame = game.Workspace.doorright.l33.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l41.CFrame = game.Workspace.doorright.l41.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l42.CFrame = game.Workspace.doorright.l42.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l43.CFrame = game.Workspace.doorright.l43.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l51.CFrame = game.Workspace.doorright.l51.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l52.CFrame = game.Workspace.doorright.l52.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l53.CFrame = game.Workspace.doorright.l53.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l61.CFrame = game.Workspace.doorright.l61.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l62.CFrame = game.Workspace.doorright.l62.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l63.CFrame = game.Workspace.doorright.l63.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l71.CFrame = game.Workspace.doorright.l71.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l72.CFrame = game.Workspace.doorright.l72.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
game.Workspace.doorright.l73.CFrame = game.Workspace.doorright.l73.CFrame * CFrame.new(-0.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
