script.Parent.Door.MainDoor.ClickDetector.MouseClick:Connect(function()if DoorStatus=="\067\108\111\115\101\100"and Debounce==false then Debounce=true DoorMain.Open:Play()TweenModel(script.Parent.Door,TGP)DoorStatus="\079\112\101\110\101\100"Debounce=false elseif DoorStatus=="\079\112\101\110\101\100"and Debounce==false then Debounce=true DoorMain.Close:Play()TweenModel(script.Parent.Door,OrigPos)DoorStatus="\067\108\111\115\101\100"Debounce=false end end)

script.Parent.Door.MainDoor.ClickDetector.MouseClick:Connect(function()
	if DoorStatus == "Closed" and Debounce == false then
		Debounce = true
		DoorMain.Open:Play()
		TweenModel(script.Parent.Door, TGP)
		DoorStatus = "Opened"
		Debounce = false
	elseif DoorStatus == "Opened" and Debounce == false then
		Debounce = true
		DoorMain.Close:Play()
		TweenModel(script.Parent.Door, OrigPos)
		DoorStatus = "Closed"
		Debounce = false
	end
	end)
