local O="\067\108\111\115\101 \068\111\111\114"local K="\079\112\101\110 \068\111\111\114"local a=false click.Triggered:Connect(function()if a==false then a=true click.ActionText=O open_mus:Play()base2.Window.Transparency=.6 base2.Visual.Transparency=0 base1.Window.Transparency=1 base1.Visual.Transparency=1 base2.CanCollide=true base1.CanCollide=false else a=false click.ActionText=K close_mus:Play()base2.Window.Transparency=1 base2.Visual.Transparency=1 base1.Window.Transparency=.6 base1.Visual.Transparency=0 base2.CanCollide=false base1.CanCollide=true end end)

local TITLE1 = "Close Door"
local TITLE2 = "Open Door"
local IsOpen = false


click.Triggered:Connect(function()
	if IsOpen == false then
		IsOpen = true
		click.ActionText = TITLE1
		open_mus:Play()
		base2.Window.Transparency = 0.6
		base2.Visual.Transparency = 0
		base1.Window.Transparency = 1
		base1.Visual.Transparency = 1
		base2.CanCollide = true
		base1.CanCollide = false
	else
		IsOpen = false
		click.ActionText = TITLE2
		close_mus:Play()
		base2.Window.Transparency = 1
		base2.Visual.Transparency = 1
		base1.Window.Transparency = 0.6
		base1.Visual.Transparency = 0
		base2.CanCollide = false
		base1.CanCollide = true
	end
end)

