-- Decompiled with the Synapse X Luau decompiler.


client = nil;
cPcall = nil;
Pcall = nil;
Routine = nil;
service = nil;
gTable = nil;
return function(p1)
	local v1 = client.UI.Prepare(script.Parent.Parent);
	local l__Frame__2 = v1.Frame;
	local l__Frame__3 = l__Frame__2.Frame;
	local l__Message__4 = l__Frame__3.Message;
	local l__Title__5 = l__Frame__3.Title;
	local l__gIndex__6 = p1.gIndex;
	local l__gTable__7 = p1.gTable;
	local l__Message__8 = p1.Message;
	local l__Scroll__9 = p1.Scroll;
	local l__Time__10 = p1.Time;
	if not p1.Message or not p1.Title then
		l__gTable__7:Destroy();
	end;
	l__Title__5.Text = p1.Title;
	l__Message__4.Text = l__Message__8;
	local function u1()
		for v11 = 1, 12 do
			l__Message__4.TextTransparency = l__Message__4.TextTransparency + 0.05;
			l__Title__5.TextTransparency = l__Title__5.TextTransparency + 0.05;
			l__Message__4.TextStrokeTransparency = l__Message__4.TextStrokeTransparency + 0.05;
			l__Title__5.TextStrokeTransparency = l__Title__5.TextStrokeTransparency + 0.05;
			l__Frame__3.BackgroundTransparency = l__Frame__3.BackgroundTransparency + 0.05;
			service.Wait("Stepped");
		end;
		service.UnWrap(v1):Destroy();
	end;
	function l__gTable__7.CustomDestroy()
		u1();
	end;
	spawn(function()
		local v12 = Instance.new("Sound", service.LocalContainer());
		v12.SoundId = "rbxassetid://7152561753";
		v12.Volume = 0.3;
		wait(0.1);
		v12:Play();
		wait(1);
		v12:Destroy();
	end);
	l__gTable__7.Ready();
	l__Frame__2:TweenSize(UDim2.new(0, 350, 0, 150), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.2);
	if not l__Time__10 then
		local v13, v14 = l__Message__8:gsub(" ", "");
		wait(math.clamp(v14 / 2, 4, 11) + 1);
	else
		wait(l__Time__10);
	end;
	u1();
end;
