client=nil service=nil return function(k)local q=k.Time local P=service.New("\083\111\117\110\100")P.Volume=.25 P.Looped=false P.SoundId="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\053\049\055\049\053\057\053\057"local L=service.New("\083\111\117\110\100")L.Volume=.25 L.Looped=false L.SoundId="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\050\054\055\056\056\051\048\054\054"local b={Name="\067\111\117\110\116\100\111\119\110";Title="\067\111\117\110\116\100\111\119\110";Size={300;150},Position=UDim2.new(0,10,1,-160)}function b.OnClose()P:Stop()L:Stop()P:Destroy()L:Destroy()end local w=client.UI.Make("\087\105\110\100\111\119",b)local u=w:Add("\084\101\120\116\076\097\098\101\108",{Text=q,BackgroundTransparency=1;TextScaled=true})local C={Text=""}local B=false local h=nil function C.OnClick()if B then P.Volume=.25 L.Volume=.25 h.Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\049\054\051\056\053\053\049\054\057\054"B=false return end P.Volume=0 L.Volume=0 h.Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\049\054\051\056\053\056\052\054\055\053"B=true end h=(w:AddTitleButton(C)):Add("\073\109\097\103\101\076\097\098\101\108",{Size=UDim2.new(0,20,0,20),Position=UDim2.new(0,5,0,0),Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\049\054\051\056\053\053\049\054\057\054",BackgroundTransparency=1})P.Parent=u L.Parent=u local f=w.gTable f:Ready()for k=q,0,-1 do if not f.Active then break end P:Play()u.Text=k wait(1)end L:Play()for k=0,3,1 do L:Play()for k=1,0,-0.1 do u.TextTransparency=k wait(.05)end for k=0,1,.1 do u.TextTransparency=k wait(.05)end end w:Close()end
-- Decompiled with the Synapse X Luau decompiler.

client = nil
service = nil
return function(p1)
	local l__Time__1 = p1.Time
	local v2 = service.New("Sound")
	v2.Volume = 0.25
	v2.Looped = false
	v2.SoundId = "http://www.roblox.com/asset/?id=151715959"
	local v3 = service.New("Sound")
	v3.Volume = 0.25
	v3.Looped = false
	v3.SoundId = "http://www.roblox.com/asset/?id=267883066"
	local v4 = {
		Name = "Countdown",
		Title = "Countdown",
		Size = { 300, 150 },
		Position = UDim2.new(0, 10, 1, -160),
	}
	function v4.OnClose()
		v2:Stop()
		v3:Stop()
		v2:Destroy()
		v3:Destroy()
	end
	local v5 = client.UI.Make("Window", v4)
	local v6 = v5:Add("TextLabel", {
		Text = l__Time__1,
		BackgroundTransparency = 1,
		TextScaled = true,
	})
	local v7 = {
		Text = "",
	}
	local u1 = false
	local u2 = nil
	function v7.OnClick()
		if u1 then
			v2.Volume = 0.25
			v3.Volume = 0.25
			u2.Image = "rbxassetid://1638551696"
			u1 = false
			return
		end
		v2.Volume = 0
		v3.Volume = 0
		u2.Image = "rbxassetid://1638584675"
		u1 = true
	end
	u2 = v5:AddTitleButton(v7):Add("ImageLabel", {
		Size = UDim2.new(0, 20, 0, 20),
		Position = UDim2.new(0, 5, 0, 0),
		Image = "rbxassetid://1638551696",
		BackgroundTransparency = 1,
	})
	v2.Parent = v6
	v3.Parent = v6
	local l__gTable__8 = v5.gTable
	l__gTable__8:Ready()
	for v9 = l__Time__1, 0, -1 do
		if not l__gTable__8.Active then
			break
		end
		v2:Play()
		v6.Text = v9
		wait(1)
	end
	v3:Play()
	for v10 = 0, 3 do
		v3:Play()
		for v11 = 1, 0, -0.1 do
			v6.TextTransparency = v11
			wait(0.05)
		end
		for v12 = 0, 1, 0.1 do
			v6.TextTransparency = v12
			wait(0.05)
		end
	end
	v5:Close()
end
