--Variable Setup
--Main Script

door.DoorButton.ClickDetector.MouseClick:connect(function()
	door.Door.Transparency = 1
	door.Door.CanCollide = false
	door.DoorButton.ClickDetector.MaxActivationDistance = 1
	light.Light1.Light.PointLight.Enabled = true
	light.Light1.Light.Transparency = 0
end)
door2.DoorButton.ClickDetector.MouseClick:connect(function()
	door2.Door.Transparency = 1
	door2.Door.CanCollide = false
	light.Light2.Light.PointLight.Enabled = true
	light.Light2.Light.Transparency = 0
end)
door3.DoorButton.ClickDetector.MouseClick:connect(function()
	door3.Door.Transparency = 1
	door3.Door.CanCollide = false
	door3.DoorButton.ClickDetector.MaxActivationDistance = 1
	light.Light3.Light.PointLight.Enabled = true
	light.Light3.Light.Transparency = 0
end)
door4.DoorButton.ClickDetector.MouseClick:connect(function()
	door4.Door.Transparency = 1
	door4.Door.CanCollide = false
	door4.DoorButton.ClickDetector.MaxActivationDistance = 1
	light.Light4.Light.PointLight.Enabled = true
	light.Light4.Light.Transparency = 0
end)
