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