client=nil cPcall=nil Pcall=nil Routine=nil service=nil gTable=nil return function(p)local n=script.Parent.Parent local T=service.PlayerGui local y=p.Message if p.Time then end local x={Type="\072\105\110\116",Title="\072\105\110\116",Message=y,Icon="\114\098\120\097\115\115\101\116\105\100\058\047\047\055\053\048\049\049\055\053\055\048\056";Time=os.date("\037\088");Function=nil}table.insert(client.Variables.CommunicationsHistory,x)service.Events.CommsCenter:Fire(x)local V=client.UI.Get("\072\105\110\116\072\111\108\100\101\114",nil,true)if not V then local p=service.New("\083\099\114\101\101\110\071\117\105")local n=client.UI.Register(p)local T=service.New("\083\099\114\111\108\108\105\110\103\070\114\097\109\101",p)client.UI.Prepare(p)n.Name="\072\105\110\116\072\111\108\100\101\114"T.Name="\070\114\097\109\101"T.BackgroundTransparency=1 T.Size=UDim2.new(1,0,0,150)T.CanvasSize=UDim2.new(0,0,0,0)T.ChildAdded:Connect(function(p)if#T:GetChildren()==0 then T.Visible=false return end T.Visible=true end)T.ChildRemoved:Connect(function(p)if#T:GetChildren()==0 then T.Visible=false return end T.Visible=true end)V=n n:Ready()end local b=V.Object.Frame if client.UI.Get("\078\111\116\105\102")then local p=30 else v10=0 end if client.UI.Get("\084\111\112\066\097\114")then local p=40 else v11=0 end b.Position=UDim2.new(0,0,0,(v10+v11)-35)local F=b:GetChildren()n.Position=UDim2.new(0,0,0,-100)n.Frame.msg.Text=y local B=n.Frame.msg.TextBounds.X local function M(p,n)p=p and 0 local T=#b:GetChildren()for y,x in pairs(b:GetChildren())do if x~=n then x.Position=UDim2.new(0,0,0,(y+p)*28)if y~=T then x.Size=UDim2.new(1,0,0,28)end end end end local I=-1 M(-1)n.Parent=b if#b:GetChildren()>5 then I=-2 end UDim2.new(0,0,0,(#b:GetChildren()+I)*28)M(-1)if#b:GetChildren()>5 then local p=(b:GetChildren())[1]M(-2,p)p:Destroy()end wait(p.Time and 5)if n and n.Parent then M(-2,n)n:Destroy()end end


client = nil;
cPcall = nil;
Pcall = nil;
Routine = nil;
service = nil;
gTable = nil;
return function(p1)
	local l__Parent__1 = script.Parent.Parent;
	local l__PlayerGui__2 = service.PlayerGui;
	local l__Message__3 = p1.Message;
	if p1.Time then

	end;
	local v4 = {
		Type = "Hint", 
		Title = "Hint", 
		Message = l__Message__3, 
		Icon = "rbxassetid://7501175708", 
		Time = os.date("%X"), 
		Function = nil
	};
	table.insert(client.Variables.CommunicationsHistory, v4);
	service.Events.CommsCenter:Fire(v4);
	local v5 = client.UI.Get("HintHolder", nil, true);
	if not v5 then
		local v6 = service.New("ScreenGui");
		local v7 = client.UI.Register(v6);
		local v8 = service.New("ScrollingFrame", v6);
		client.UI.Prepare(v6);
		v7.Name = "HintHolder";
		v8.Name = "Frame";
		v8.BackgroundTransparency = 1;
		v8.Size = UDim2.new(1, 0, 0, 150);
		v8.CanvasSize = UDim2.new(0, 0, 0, 0);
		v8.ChildAdded:Connect(function(p2)
			if #v8:GetChildren() == 0 then
				v8.Visible = false;
				return;
			end;
			v8.Visible = true;
		end);
		v8.ChildRemoved:Connect(function(p3)
			if #v8:GetChildren() == 0 then
				v8.Visible = false;
				return;
			end;
			v8.Visible = true;
		end);
		v5 = v7;
		v7:Ready();
	end;
	local l__Frame__9 = v5.Object.Frame;
	if client.UI.Get("Notif") then
		local v10 = 30;
	else
		v10 = 0;
	end;
	if client.UI.Get("TopBar") then
		local v11 = 40;
	else
		v11 = 0;
	end;
	l__Frame__9.Position = UDim2.new(0, 0, 0, v10 + v11 - 35);
	local v12 = l__Frame__9:GetChildren();
	l__Parent__1.Position = UDim2.new(0, 0, 0, -100);
	l__Parent__1.Frame.msg.Text = l__Message__3;
	local l__X__13 = l__Parent__1.Frame.msg.TextBounds.X;
	local function v14(p4, p5)
		p4 = p4 and 0;
		local v15 = #l__Frame__9:GetChildren();
		for v16, v17 in pairs(l__Frame__9:GetChildren()) do
			if v17 ~= p5 then
				v17.Position = UDim2.new(0, 0, 0, (v16 + p4) * 28);
				if v16 ~= v15 then
					v17.Size = UDim2.new(1, 0, 0, 28);
				end;
			end;
		end;
	end;
	local v18 = -1;
	v14(-1);
	l__Parent__1.Parent = l__Frame__9;
	if #l__Frame__9:GetChildren() > 5 then
		v18 = -2;
	end;
	UDim2.new(0, 0, 0, (#l__Frame__9:GetChildren() + v18) * 28);
	v14(-1);
	if #l__Frame__9:GetChildren() > 5 then
		local v19 = l__Frame__9:GetChildren()[1];
		v14(-2, v19);
		v19:Destroy();
	end;
	wait(p1.Time and 5);
	if l__Parent__1 and l__Parent__1.Parent then
		v14(-2, l__Parent__1);
		l__Parent__1:Destroy();
	end;
end;
