-- Decompiled with the Synapse X Luau decompiler.


client = nil;
cPcall = nil;
Pcall = nil;
Routine = nil;
service = nil;
return function(p1)
	local v1 = client.UI.Prepare(script.Parent.Parent);
	local l__PlayerGui__2 = service.PlayerGui;
	local l__Frame__3 = v1.Frame;
	local l__Message__4 = v1.Frame.Message;
	local l__Title__5 = v1.Frame.Title;
	local l__gIndex__6 = p1.gIndex;
	local l__Scroll__7 = p1.Scroll;
	if not p1.Message or not p1.Title then
		v1:Destroy();
	end;
	l__Title__5.Text = p1.Title;
	l__Message__4.Text = p1.Message;
	l__Title__5.TextTransparency = 1;
	l__Message__4.TextTransparency = 1;
	l__Title__5.TextStrokeTransparency = 1;
	l__Message__4.TextStrokeTransparency = 1;
	l__Frame__3.BackgroundTransparency = 1;
	local v8 = service.New("BlurEffect");
	v8.Enabled = false;
	v8.Size = 0;
	v8.Parent = workspace.CurrentCamera;
	local u1 = false;
	local l__gTable__2 = p1.gTable;
	local function u3()
		if not u1 then
			for v9 = 1, 10 do
				if v8.Size > 0 then
					v8.Size = v8.Size - 1;
				end;
				if l__Message__4.TextTransparency < 1 then
					l__Message__4.TextTransparency = l__Message__4.TextTransparency + 0.1;
					l__Title__5.TextTransparency = l__Title__5.TextTransparency + 0.1;
				end;
				if l__Message__4.TextStrokeTransparency < 1 then
					l__Message__4.TextStrokeTransparency = l__Message__4.TextStrokeTransparency + 0.1;
					l__Title__5.TextStrokeTransparency = l__Title__5.TextStrokeTransparency + 0.1;
				end;
				if l__Frame__3.BackgroundTransparency < 1 then
					l__Frame__3.BackgroundTransparency = l__Frame__3.BackgroundTransparency + 0.03;
				end;
				wait(0.016666666666666666);
			end;
			v8.Enabled = false;
			v8:Destroy();
			service.UnWrap(v1):Destroy();
			u1 = true;
		end;
	end;
	function l__gTable__2.CustomDestroy()
		if not u1 then
			u1 = true;
			pcall(u3);
		end;
		pcall(function()
			service.UnWrap(v1):Destroy();
		end);
		pcall(function()
			v8:Destroy();
		end);
	end;
	(function()
		if not u1 then
			v8.Enabled = true;
			l__gTable__2:Ready();
			for v10 = 1, 10 do
				if v8.Size < 10 then
					v8.Size = v8.Size + 1;
				end;
				if l__Message__4.TextTransparency > 0.1 then
					l__Message__4.TextTransparency = l__Message__4.TextTransparency - 0.1;
					l__Title__5.TextTransparency = l__Title__5.TextTransparency - 0.1;
				end;
				if l__Message__4.TextStrokeTransparency > 0.5 then
					l__Message__4.TextStrokeTransparency = l__Message__4.TextStrokeTransparency - 0.1;
					l__Title__5.TextStrokeTransparency = l__Title__5.TextStrokeTransparency - 0.1;
				end;
				if l__Frame__3.BackgroundTransparency > 0.3 then
					l__Frame__3.BackgroundTransparency = l__Frame__3.BackgroundTransparency - 0.03;
				end;
				wait(0.016666666666666666);
			end;
		end;
	end)();
	wait(p1.Time and 5);
	if not u1 then
		u3();
	end;
end;
