function onClicked()script.Parent.Parent.D.D1.Transparency=0 script.Parent.Parent.D.D2.Transparency=0 script.Parent.Parent.D.D3.Transparency=.7 script.Parent.Parent.D.D4.Transparency=.7 script.Parent.Parent.D.D1.CanCollide=true script.Parent.Parent.D.D2.CanCollide=true script.Parent.Parent.D.D3.CanCollide=true script.Parent.Parent.D.D4.CanCollide=true script.Parent.Parent.E.D1.Transparency=1 script.Parent.Parent.E.D2.Transparency=1 script.Parent.Parent.E.D3.Transparency=1 script.Parent.Parent.E.D4.Transparency=1 script.Parent.Parent.E.D1.CanCollide=false script.Parent.Parent.E.D2.CanCollide=false script.Parent.Parent.E.D3.CanCollide=false script.Parent.Parent.E.D4.CanCollide=false wait(.1)script.Parent.Parent.C.D1.Transparency=0 script.Parent.Parent.C.D2.Transparency=0 script.Parent.Parent.C.D3.Transparency=.7 script.Parent.Parent.C.D4.Transparency=.7 script.Parent.Parent.C.D1.CanCollide=true script.Parent.Parent.C.D2.CanCollide=true script.Parent.Parent.C.D3.CanCollide=true script.Parent.Parent.C.D4.CanCollide=true script.Parent.Parent.D.D1.Transparency=1 script.Parent.Parent.D.D2.Transparency=1 script.Parent.Parent.D.D3.Transparency=1 script.Parent.Parent.D.D4.Transparency=1 script.Parent.Parent.D.D1.CanCollide=false script.Parent.Parent.D.D2.CanCollide=false script.Parent.Parent.D.D3.CanCollide=false script.Parent.Parent.D.D4.CanCollide=false wait(.1)script.Parent.Parent.B.D1.Transparency=0 script.Parent.Parent.B.D2.Transparency=0 script.Parent.Parent.B.D3.Transparency=.7 script.Parent.Parent.B.D4.Transparency=.7 script.Parent.Parent.B.D1.CanCollide=true script.Parent.Parent.B.D2.CanCollide=true script.Parent.Parent.B.D3.CanCollide=true script.Parent.Parent.B.D4.CanCollide=true script.Parent.Parent.C.D1.Transparency=1 script.Parent.Parent.C.D2.Transparency=1 script.Parent.Parent.C.D3.Transparency=1 script.Parent.Parent.C.D4.Transparency=1 script.Parent.Parent.C.D1.CanCollide=false script.Parent.Parent.C.D2.CanCollide=false script.Parent.Parent.C.D3.CanCollide=false script.Parent.Parent.C.D4.CanCollide=false wait(.1)script.Parent.Parent.A.D1.Transparency=0 script.Parent.Parent.A.D2.Transparency=0 script.Parent.Parent.A.D3.Transparency=.7 script.Parent.Parent.A.D4.Transparency=.7 script.Parent.Parent.A.D1.CanCollide=true script.Parent.Parent.A.D2.CanCollide=true script.Parent.Parent.A.D3.CanCollide=true script.Parent.Parent.A.D4.CanCollide=true script.Parent.Parent.B.D1.Transparency=1 script.Parent.Parent.B.D2.Transparency=1 script.Parent.Parent.B.D3.Transparency=1 script.Parent.Parent.B.D4.Transparency=1 script.Parent.Parent.B.D1.CanCollide=false script.Parent.Parent.B.D2.CanCollide=false script.Parent.Parent.B.D3.CanCollide=false script.Parent.Parent.B.D4.CanCollide=false wait(.1)end script.Parent.ClickDetector.MouseClick:connect(onClicked)





 function onClicked()

 	script.Parent.Parent.D.D1.Transparency = 0
	script.Parent.Parent.D.D2.Transparency = 0
	script.Parent.Parent.D.D3.Transparency = 0.7
	script.Parent.Parent.D.D4.Transparency = 0.7
	script.Parent.Parent.D.D1.CanCollide = true
	script.Parent.Parent.D.D2.CanCollide = true
	script.Parent.Parent.D.D3.CanCollide = true
	script.Parent.Parent.D.D4.CanCollide = true
	script.Parent.Parent.E.D1.Transparency = 1
	script.Parent.Parent.E.D2.Transparency = 1
	script.Parent.Parent.E.D3.Transparency = 1
	script.Parent.Parent.E.D4.Transparency = 1
	script.Parent.Parent.E.D1.CanCollide = false
	script.Parent.Parent.E.D2.CanCollide = false
	script.Parent.Parent.E.D3.CanCollide = false
	script.Parent.Parent.E.D4.CanCollide = false
	wait(0.1)
	script.Parent.Parent.C.D1.Transparency = 0
	script.Parent.Parent.C.D2.Transparency = 0
	script.Parent.Parent.C.D3.Transparency = 0.7
	script.Parent.Parent.C.D4.Transparency = 0.7
	script.Parent.Parent.C.D1.CanCollide = true
	script.Parent.Parent.C.D2.CanCollide = true
	script.Parent.Parent.C.D3.CanCollide = true
	script.Parent.Parent.C.D4.CanCollide = true
	script.Parent.Parent.D.D1.Transparency = 1
	script.Parent.Parent.D.D2.Transparency = 1
	script.Parent.Parent.D.D3.Transparency = 1
	script.Parent.Parent.D.D4.Transparency = 1
	script.Parent.Parent.D.D1.CanCollide = false
	script.Parent.Parent.D.D2.CanCollide = false
	script.Parent.Parent.D.D3.CanCollide = false
	script.Parent.Parent.D.D4.CanCollide = false
	wait(0.1)
	script.Parent.Parent.B.D1.Transparency = 0
	script.Parent.Parent.B.D2.Transparency = 0
	script.Parent.Parent.B.D3.Transparency = 0.7
	script.Parent.Parent.B.D4.Transparency = 0.7
	script.Parent.Parent.B.D1.CanCollide = true
	script.Parent.Parent.B.D2.CanCollide = true
	script.Parent.Parent.B.D3.CanCollide = true
	script.Parent.Parent.B.D4.CanCollide = true
	script.Parent.Parent.C.D1.Transparency = 1
	script.Parent.Parent.C.D2.Transparency = 1
	script.Parent.Parent.C.D3.Transparency = 1
	script.Parent.Parent.C.D4.Transparency = 1
	script.Parent.Parent.C.D1.CanCollide = false
	script.Parent.Parent.C.D2.CanCollide = false
	script.Parent.Parent.C.D3.CanCollide = false
	script.Parent.Parent.C.D4.CanCollide = false
	wait(0.1)
	script.Parent.Parent.A.D1.Transparency = 0
	script.Parent.Parent.A.D2.Transparency = 0
	script.Parent.Parent.A.D3.Transparency = 0.7
	script.Parent.Parent.A.D4.Transparency = 0.7
	script.Parent.Parent.A.D1.CanCollide = true
	script.Parent.Parent.A.D2.CanCollide = true
	script.Parent.Parent.A.D3.CanCollide = true
	script.Parent.Parent.A.D4.CanCollide = true
	script.Parent.Parent.B.D1.Transparency = 1
	script.Parent.Parent.B.D2.Transparency = 1
	script.Parent.Parent.B.D3.Transparency = 1
	script.Parent.Parent.B.D4.Transparency = 1
	script.Parent.Parent.B.D1.CanCollide = false
	script.Parent.Parent.B.D2.CanCollide = false
	script.Parent.Parent.B.D3.CanCollide = false
	script.Parent.Parent.B.D4.CanCollide = false
	wait(0.1)

	
	

end
 
 script.Parent.ClickDetector.MouseClick:connect(onClicked)
