door.ClickDetector.MouseClick:connect(function()door.ClickDetector.MaxActivationDistance=0 door2.ClickDetector.MaxActivationDistance=32 end)door2.ClickDetector.MouseClick:connect(function()door2.ClickDetector.MaxActivationDistance=0 door3.ClickDetector.MaxActivationDistance=32 end)door3.ClickDetector.MouseClick:connect(function()door3.ClickDetector.MaxActivationDistance=0 door4.Transparency=1 door4.CanCollide=false end)
--Main Script
door.ClickDetector.MouseClick:connect(function()
	door.ClickDetector.MaxActivationDistance = 0
	door2.ClickDetector.MaxActivationDistance = 32
end)
door2.ClickDetector.MouseClick:connect(function()
	door2.ClickDetector.MaxActivationDistance = 0
	door3.ClickDetector.MaxActivationDistance = 32
end)
door3.ClickDetector.MouseClick:connect(function()
	door3.ClickDetector.MaxActivationDistance = 0
	door4.Transparency = 1
	door4.CanCollide = false
end)
