local A=_G.HDAdminMain local o=A.gui.CustomTopBar for o,M in pairs(A.signals:GetChildren())do if M:IsA("\082\101\109\111\116\101\069\118\101\110\116")then M.OnClientEvent:Connect(function(o)if not A.initialized then A.client.Signals.Initialized.Event:Wait()end if M.Name=="\067\104\097\110\103\101\083\116\097\116"then local M=o[1]A.pdata[M]=o[2]if M=="\068\111\110\111\114"then(A:GetModule("\080\097\103\101\083\112\101\099\105\097\108")):UpdateDonorFrame()return end else if M.Name=="\073\110\115\101\114\116\083\116\097\116"then table.insert(A.pdata[o[1]],o[2])return end if M.Name=="\082\101\109\111\118\101\083\116\097\116"then local M=o[1]local O=o[2]for o,c in pairs(A.pdata[M])do if tostring(c)==tostring(O)then table.remove(A.pdata[M],o)return end end return end if M.Name=="\078\111\116\105\099\101"or M.Name=="\069\114\114\111\114"then(A:GetModule("\078\111\116\105\099\101\115")):Notice(M.Name,o[1],o[2],o[3])return end if M.Name=="\083\104\111\119\080\097\103\101"then(A:GetModule("\071\085\073\115")):ShowSpecificPage(o[1],o[2])return end if M.Name=="\083\104\111\119\066\097\110\110\101\100\085\115\101\114"then(A:GetModule("\071\085\073\115")):ShowSpecificPage("\065\100\109\105\110","\066\097\110\108\097\110\100")if type(o)=="\116\097\098\108\101"then(A:GetModule("\099\102")):ShowBannedUser(o)return end else if M.Name=="\083\101\116\067\097\109\101\114\097\083\117\098\106\101\099\116"then(A:GetModule("\099\102")):SetCameraSubject(o)return end if M.Name=="\067\108\101\097\114"then(A:GetModule("\077\101\115\115\097\103\101\115")):ClearMessageContainer()return end if M.Name=="\083\104\111\119\087\097\114\110\105\110\103"then(A:GetModule("\099\102")):ShowWarning(o)return end if M.Name=="\077\101\115\115\097\103\101"then(A:GetModule("\077\101\115\115\097\103\101\115")):Message(o)return end if M.Name=="\072\105\110\116"then(A:GetModule("\077\101\115\115\097\103\101\115")):Hint(o)return end if M.Name=="\071\108\111\098\097\108\065\110\110\111\117\110\099\101\109\101\110\116"then(A:GetModule("\077\101\115\115\097\103\101\115")):GlobalAnnouncement(o)return end if M.Name=="\083\101\116\067\111\114\101\071\117\105\069\110\097\098\108\101\100"then A.starterGui:SetCoreGuiEnabled(Enum.CoreGuiType[o[1]],o[2])return end if M.Name=="\067\114\101\097\116\101\076\111\103"then(A:GetModule("\099\102")):CreateNewCommandMenu(o[1],o[2],5)return end if M.Name=="\067\114\101\097\116\101\065\108\101\114\116"then(A:GetModule("\099\102")):CreateNewCommandMenu("\097\108\101\114\116",{o[1];o[2]},8,true)return end if M.Name=="\067\114\101\097\116\101\066\097\110\077\101\110\117"then(A:GetModule("\099\102")):CreateNewCommandMenu("\098\097\110\077\101\110\117",o,6)return end if M.Name=="\067\114\101\097\116\101\080\111\108\108\077\101\110\117"then(A:GetModule("\099\102")):CreateNewCommandMenu("\112\111\108\108\077\101\110\117",o,9)return end if M.Name=="\067\114\101\097\116\101\077\101\110\117"then(A:GetModule("\099\102")):CreateNewCommandMenu(o.MenuName,o.Data,o.TemplateId)return end if M.Name=="\067\114\101\097\116\101\067\111\109\109\097\110\100\077\101\110\117"then(A:GetModule("\099\102")):CreateNewCommandMenu(o[1],o[2],o[3])return end if M.Name=="\082\097\110\107\067\104\097\110\103\101\100"then(A:GetModule("\099\102")):UpdateIconVisiblity();(A:GetModule("\080\097\103\101\065\098\111\117\116")):UpdateRankName();(A:GetModule("\071\085\073\115")):DisplayPagesAccordingToRank(true)if A.initialized then(A:GetModule("\080\097\103\101\067\111\109\109\097\110\100\115")):CreateCommands()return end elseif M.Name=="\069\120\101\099\117\116\101\067\108\105\101\110\116\067\111\109\109\097\110\100"then local M="\070\117\110\099\116\105\111\110"if o[4].UnFunction then M="\085\110\070\117\110\099\116\105\111\110"end local O=(A:GetModule("\067\108\105\101\110\116\067\111\109\109\097\110\100\115"))[o[3]]if O then local A=O[M]if A then A(o[1],o[2],O)return end end elseif M.Name=="\082\101\112\108\105\099\097\116\105\111\110\069\102\102\101\099\116\067\108\105\101\110\116\067\111\109\109\097\110\100"then local M=(A:GetModule("\067\108\105\101\110\116\067\111\109\109\097\110\100\115"))[o[1]]if M then local A=M.ReplicationEffect if A then A(o[2],o[3],M)return end end elseif M.Name=="\065\099\116\105\118\097\116\101\067\108\105\101\110\116\067\111\109\109\097\110\100"then local M=o[1]local O=o[2]local c=O if c then c=O.Speed~=0 and O.Speed or nil end if c then A.commandSpeeds[M]=c local o=A.gui local O=A:GetModule("\099\102")O:DestroyCommandMenuFrame(o:FindFirstChild("\067\111\109\109\097\110\100\077\101\110\117\102\108\121"))end if A.commandSpeeds[M]then for o,O in pairs(A.commandSpeeds)do if o~=M then local M=A:GetModule("\099\102")M:DeactivateCommand(o)end end end A.commandsAllowedToUse[M]=true local d=A:GetModule("\099\102")d:ActivateClientCommand(M,O)local B=nil local m=nil for A,o in pairs(A.commandsWithMenus)do B=o[M]if B then m=tonumber(A:match("\037\100\043"))break end end if B then local o=A:GetModule("\099\102")o:CreateNewCommandMenu(M,B,m)return end else if M.Name=="\068\101\097\099\116\105\118\097\116\101\067\108\105\101\110\116\067\111\109\109\097\110\100"then local M=A.GetModule(A,"\099\102")M.DeactivateCommand(M,o[1])return end if M.Name=="\070\097\100\101\073\110\073\099\111\110"then return end if M.Name=="\067\104\097\110\103\101\077\097\105\110\086\097\114\105\097\098\108\101"then A[o[1]]=o end end end end end)elseif M:IsA("\082\101\109\111\116\101\070\117\110\099\116\105\111\110")then function M.OnClientInvoke(o)if not A.initialized then A.client.Signals.Initialized.Event:Wait()end if M.Name~="\071\101\116\076\111\099\097\108\068\097\116\101"then return end return os.date("\042\116",o)end end end return{}


local l__HDAdminMain__1 = _G.HDAdminMain;
local l__CustomTopBar__2 = l__HDAdminMain__1.gui.CustomTopBar;
for v3, v4 in pairs(l__HDAdminMain__1.signals:GetChildren()) do
	if v4:IsA("RemoteEvent") then
		v4.OnClientEvent:Connect(function(p1)
			if not l__HDAdminMain__1.initialized then
				l__HDAdminMain__1.client.Signals.Initialized.Event:Wait();
			end;
			if v4.Name == "ChangeStat" then
				local v5 = p1[1];
				l__HDAdminMain__1.pdata[v5] = p1[2];
				if v5 == "Donor" then
					l__HDAdminMain__1:GetModule("PageSpecial"):UpdateDonorFrame();
					return;
				end;
			else
				if v4.Name == "InsertStat" then
					table.insert(l__HDAdminMain__1.pdata[p1[1]], p1[2]);
					return;
				end;
				if v4.Name == "RemoveStat" then
					local v6 = p1[1];
					local v7 = p1[2];
					for v8, v9 in pairs(l__HDAdminMain__1.pdata[v6]) do
						if tostring(v9) == tostring(v7) then
							table.remove(l__HDAdminMain__1.pdata[v6], v8);
							return;
						end;
					end;
					return;
				end;
				if v4.Name == "Notice" or v4.Name == "Error" then
					l__HDAdminMain__1:GetModule("Notices"):Notice(v4.Name, p1[1], p1[2], p1[3]);
					return;
				end;
				if v4.Name == "ShowPage" then
					l__HDAdminMain__1:GetModule("GUIs"):ShowSpecificPage(p1[1], p1[2]);
					return;
				end;
				if v4.Name == "ShowBannedUser" then
					l__HDAdminMain__1:GetModule("GUIs"):ShowSpecificPage("Admin", "Banland");
					if type(p1) == "table" then
						l__HDAdminMain__1:GetModule("cf"):ShowBannedUser(p1);
						return;
					end;
				else
					if v4.Name == "SetCameraSubject" then
						l__HDAdminMain__1:GetModule("cf"):SetCameraSubject(p1);
						return;
					end;
					if v4.Name == "Clear" then
						l__HDAdminMain__1:GetModule("Messages"):ClearMessageContainer();
						return;
					end;
					if v4.Name == "ShowWarning" then
						l__HDAdminMain__1:GetModule("cf"):ShowWarning(p1);
						return;
					end;
					if v4.Name == "Message" then
						l__HDAdminMain__1:GetModule("Messages"):Message(p1);
						return;
					end;
					if v4.Name == "Hint" then
						l__HDAdminMain__1:GetModule("Messages"):Hint(p1);
						return;
					end;
					if v4.Name == "GlobalAnnouncement" then
						l__HDAdminMain__1:GetModule("Messages"):GlobalAnnouncement(p1);
						return;
					end;
					if v4.Name == "SetCoreGuiEnabled" then
						l__HDAdminMain__1.starterGui:SetCoreGuiEnabled(Enum.CoreGuiType[p1[1]], p1[2]);
						return;
					end;
					if v4.Name == "CreateLog" then
						l__HDAdminMain__1:GetModule("cf"):CreateNewCommandMenu(p1[1], p1[2], 5);
						return;
					end;
					if v4.Name == "CreateAlert" then
						l__HDAdminMain__1:GetModule("cf"):CreateNewCommandMenu("alert", { p1[1], p1[2] }, 8, true);
						return;
					end;
					if v4.Name == "CreateBanMenu" then
						l__HDAdminMain__1:GetModule("cf"):CreateNewCommandMenu("banMenu", p1, 6);
						return;
					end;
					if v4.Name == "CreatePollMenu" then
						l__HDAdminMain__1:GetModule("cf"):CreateNewCommandMenu("pollMenu", p1, 9);
						return;
					end;
					if v4.Name == "CreateMenu" then
						l__HDAdminMain__1:GetModule("cf"):CreateNewCommandMenu(p1.MenuName, p1.Data, p1.TemplateId);
						return;
					end;
					if v4.Name == "CreateCommandMenu" then
						l__HDAdminMain__1:GetModule("cf"):CreateNewCommandMenu(p1[1], p1[2], p1[3]);
						return;
					end;
					if v4.Name == "RankChanged" then
						l__HDAdminMain__1:GetModule("cf"):UpdateIconVisiblity();
						l__HDAdminMain__1:GetModule("PageAbout"):UpdateRankName();
						l__HDAdminMain__1:GetModule("GUIs"):DisplayPagesAccordingToRank(true);
						if l__HDAdminMain__1.initialized then
							l__HDAdminMain__1:GetModule("PageCommands"):CreateCommands();
							return;
						end;
					elseif v4.Name == "ExecuteClientCommand" then
						local v10 = "Function";
						if p1[4].UnFunction then
							v10 = "UnFunction";
						end;
						local v11 = l__HDAdminMain__1:GetModule("ClientCommands")[p1[3]];
						if v11 then
							local v12 = v11[v10];
							if v12 then
								v12(p1[1], p1[2], v11);
								return;
							end;
						end;
					elseif v4.Name == "ReplicationEffectClientCommand" then
						local v13 = l__HDAdminMain__1:GetModule("ClientCommands")[p1[1]];
						if v13 then
							local l__ReplicationEffect__14 = v13.ReplicationEffect;
							if l__ReplicationEffect__14 then
								l__ReplicationEffect__14(p1[2], p1[3], v13);
								return;
							end;
						end;
					elseif v4.Name == "ActivateClientCommand" then
						local v15 = p1[1];
						local v16 = p1[2];
						local v17 = v16;
						if v17 then
							v17 = v16.Speed ~= 0 and v16.Speed or nil;
						end;
						if v17 then
							l__HDAdminMain__1.commandSpeeds[v15] = v17;
							local l__gui__18 = l__HDAdminMain__1.gui;
							local v19 = l__HDAdminMain__1:GetModule("cf");
							v19:DestroyCommandMenuFrame((l__gui__18:FindFirstChild("CommandMenufly")));
						end;
						if l__HDAdminMain__1.commandSpeeds[v15] then
							for v20, v21 in pairs(l__HDAdminMain__1.commandSpeeds) do
								if v20 ~= v15 then
									local v22 = l__HDAdminMain__1:GetModule("cf");
									v22:DeactivateCommand(v20);
								end;
							end;
						end;
						l__HDAdminMain__1.commandsAllowedToUse[v15] = true;
						local v23 = l__HDAdminMain__1:GetModule("cf");
						v23:ActivateClientCommand(v15, v16);
						local v24 = nil;
						local v25 = nil;
						for v26, v27 in pairs(l__HDAdminMain__1.commandsWithMenus) do
							v24 = v27[v15];
							if v24 then
								v25 = tonumber(v26:match("%d+"));
								break;
							end;
						end;
						if v24 then
							local v28 = l__HDAdminMain__1:GetModule("cf");
							v28:CreateNewCommandMenu(v15, v24, v25);
							return;
						end;
					else
						if v4.Name == "DeactivateClientCommand" then
							local v29 = l__HDAdminMain__1.GetModule(l__HDAdminMain__1, "cf");
							v29.DeactivateCommand(v29, p1[1]);
							return;
						end;
						if v4.Name == "FadeInIcon" then
							return;
						end;
						if v4.Name == "ChangeMainVariable" then
							l__HDAdminMain__1[p1[1]] = p1;
						end;
					end;
				end;
			end;
		end);
	elseif v4:IsA("RemoteFunction") then
		function v4.OnClientInvoke(p2)
			if not l__HDAdminMain__1.initialized then
				l__HDAdminMain__1.client.Signals.Initialized.Event:Wait();
			end;
			if v4.Name ~= "GetLocalDate" then
				return;
			end;
			return os.date("*t", p2);
		end;
	end;
end;
return {};
