function onClicked()if legansio==true then sl7.Material="\080\108\097\115\116\105\099"sp7.Material="\080\108\097\115\116\105\099"sl7.SurfaceLight.Enabled=false sp7.SurfaceLight.Enabled=false wait(2)sp7.Transparency=1 sl7.Transparency=1 p7.Transparency=1 l7.Transparency=1 sp6.Transparency=0 sl6.Transparency=0 l6.Transparency=0 p6.Transparency=0 wait(.1)p6.Transparency=1 l6.Transparency=1 sl6.Transparency=1 sp6.Transparency=1 sp5.Transparency=0 sl5.Transparency=0 l5.Transparency=0 p5.Transparency=0 wait(.1)p5.Transparency=1 l5.Transparency=1 sp5.Transparency=1 sl5.Transparency=1 sp4.Transparency=0 sl4.Transparency=0 l4.Transparency=0 p4.Transparency=0 wait(.1)p4.Transparency=1 l4.Transparency=1 sp4.Transparency=1 sl4.Transparency=1 sp3.Transparency=0 sl3.Transparency=0 l3.Transparency=0 p3.Transparency=0 wait(.1)p3.Transparency=1 l3.Transparency=1 sp3.Transparency=1 sl3.Transparency=1 sp2.Transparency=0 sl2.Transparency=0 l2.Transparency=0 p2.Transparency=0 wait(.1)p2.Transparency=1 l2.Transparency=1 sp2.Transparency=1 sl2.Transparency=1 sp1.Transparency=0 sl1.Transparency=0 l1.Transparency=0 p1.Transparency=0 wait(1)q1.Transparency=1 p1.Transparency=1 l1.Transparency=1 sp1.Transparency=1 sl1.Transparency=1 wait(.1)s1.Transparency=0 wait(1)g14.Transparency=0 s1.Transparency=1 pala7.Transparency=1 wait(.1)g14.Transparency=1 g13.Transparency=0 wait(.1)g13.Transparency=1 g12.Transparency=0 wait(.1)g12.Transparency=1 g11.Transparency=0 wait(.1)g11.Transparency=1 pala6.Transparency=1 g10.Transparency=0 wait(.1)g10.Transparency=1 g9.Transparency=0 wait(.1)g9.Transparency=1 g8.Transparency=0 wait(.1)g8.Transparency=1 pala5.Transparency=1 g7.Transparency=0 wait(.1)g7.Transparency=1 g6.Transparency=0 wait(.1)g6.Transparency=1 g5.Transparency=0 pala4.Transparency=1 wait(.1)g5.Transparency=1 g4.Transparency=0 wait(.1)g4.Transparency=1 g3.Transparency=0 pala3.Transparency=1 wait(.1)g3.Transparency=1 g2.Transparency=0 wait(.1)pala2.Transparency=1 g2.Transparency=1 g1.Transparency=0 end end script.Parent.ClickDetector.MouseClick:connect(onClicked)

function onClicked()
	if legansio == true then
		sl7.Material = "Plastic"
		sp7.Material = "Plastic"
		sl7.SurfaceLight.Enabled = false
		sp7.SurfaceLight.Enabled = false
		wait(2)
		sp7.Transparency = 1
		sl7.Transparency = 1
		p7.Transparency = 1
		l7.Transparency = 1
		sp6.Transparency = 0
		sl6.Transparency = 0
		l6.Transparency = 0
		p6.Transparency = 0
		wait(0.1)
		p6.Transparency = 1
		l6.Transparency = 1
		sl6.Transparency = 1
		sp6.Transparency = 1
		sp5.Transparency = 0
		sl5.Transparency = 0
		l5.Transparency = 0
		p5.Transparency = 0
		wait(0.1)
		p5.Transparency = 1
		l5.Transparency = 1
		sp5.Transparency = 1
		sl5.Transparency = 1
		sp4.Transparency = 0
		sl4.Transparency = 0
		l4.Transparency = 0
		p4.Transparency = 0
		wait(0.1)
		p4.Transparency = 1
		l4.Transparency = 1
		sp4.Transparency = 1
		sl4.Transparency = 1
		sp3.Transparency = 0
		sl3.Transparency = 0
		l3.Transparency = 0
		p3.Transparency = 0
		wait(0.1)
		p3.Transparency = 1
		l3.Transparency = 1
		sp3.Transparency = 1
		sl3.Transparency = 1
		sp2.Transparency = 0
		sl2.Transparency = 0
		l2.Transparency = 0
		p2.Transparency = 0
		wait(0.1)
		p2.Transparency = 1
		l2.Transparency = 1
		sp2.Transparency = 1
		sl2.Transparency = 1
		sp1.Transparency = 0
		sl1.Transparency = 0
		l1.Transparency = 0
		p1.Transparency = 0
		wait(1)
		q1.Transparency = 1
		p1.Transparency = 1
		l1.Transparency = 1
		sp1.Transparency = 1
		sl1.Transparency = 1
		wait(0.1)
		s1.Transparency = 0
		wait(1)
		g14.Transparency = 0
		s1.Transparency = 1
		pala7.Transparency = 1
		wait(0.1)
		g14.Transparency = 1
		g13.Transparency = 0
		wait(0.1)
		g13.Transparency = 1
		g12.Transparency = 0
		wait(0.1)
		g12.Transparency = 1
		g11.Transparency = 0
		wait(0.1)
		g11.Transparency = 1
		pala6.Transparency = 1
		g10.Transparency = 0
		wait(0.1)
		g10.Transparency = 1
		g9.Transparency = 0
		wait(0.1)
		g9.Transparency = 1
		g8.Transparency = 0
		wait(0.1)
		g8.Transparency = 1
		pala5.Transparency = 1
		g7.Transparency = 0
		wait(0.1)
		g7.Transparency = 1
		g6.Transparency = 0
		wait(0.1)
		g6.Transparency = 1
		g5.Transparency = 0
		pala4.Transparency = 1
		wait(0.1)
		g5.Transparency = 1
		g4.Transparency = 0
		wait(0.1)
		g4.Transparency = 1
		g3.Transparency = 0
		pala3.Transparency = 1
		wait(0.1)
		g3.Transparency = 1
		g2.Transparency = 0
		wait(0.1)
		pala2.Transparency = 1
		g2.Transparency = 1
		g1.Transparency = 0
	end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
