local N={}local U=_G.HDAdminMain function N.SetupMainVariables(N,c)U.hdAdminGroup={Id=4676369,Info={}}U.hdAdminGroupInfo={}U.settingsBanRecords={}U.alphabet={"\097","\098";"\099","\100";"\101","\102";"\103","\104";"\105";"\106","\107","\108";"\109","\110";"\111";"\112";"\113","\114";"\115","\116";"\117";"\118","\119","\120";"\121","\122"}U.UserIdsFromName={}U.UsernamesFromUserId={}U.validSettings={"\084\104\101\109\101","\078\111\116\105\099\101\083\111\117\110\100\073\100","\078\111\116\105\099\101\086\111\108\117\109\101","\078\111\116\105\099\101\080\105\116\099\104";"\069\114\114\111\114\083\111\117\110\100\073\100","\069\114\114\111\114\086\111\108\117\109\101";"\069\114\114\111\114\080\105\116\099\104","\065\108\101\114\116\083\111\117\110\100\073\100";"\065\108\101\114\116\086\111\108\117\109\101","\065\108\101\114\116\080\105\116\099\104","\080\114\101\102\105\120"}U.commandInfoToShowOnClient={"\078\097\109\101";"\067\111\110\116\114\105\098\117\116\111\114\115","\080\114\101\102\105\120\101\115","\082\097\110\107";"\065\108\105\097\115\101\115";"\084\097\103\115","\068\101\115\099\114\105\112\116\105\111\110";"\065\114\103\115","\076\111\111\112\097\098\108\101"}U.products={Donor=5745895;OldDonor=2649766}U.materials={"\080\108\097\115\116\105\099";"\087\111\111\100","\067\111\110\099\114\101\116\101","\067\111\114\114\111\100\101\100\077\101\116\097\108";"\068\105\097\109\111\110\100\080\108\097\116\101";"\070\111\105\108";"\071\114\097\115\115","\073\099\101";"\077\097\114\098\108\101","\071\114\097\110\105\116\101";"\066\114\105\099\107";"\080\101\098\098\108\101";"\083\097\110\100","\070\097\098\114\105\099";"\083\109\111\111\116\104\080\108\097\115\116\105\099","\077\101\116\097\108";"\087\111\111\100\080\108\097\110\107\115";"\067\111\098\098\108\101\115\116\111\110\101";"\078\101\111\110";"\071\108\097\115\115"}U.rankTypes={Auto=4;Perm=3,Server=2,Temp=1}if c=="\083\101\114\118\101\114"then U.pd={}U.sd={}U.permissions={specificUsers={};gamepasses={},assets={},groups={},friends=0,freeAdmin=0,vipServerOwner=0;vipServerPlayer=0,owner=true}U.commandInfo={}U.commandRanks={}U.infoOnAllCommands={Contributors={},Tags={};Prefixes={},Aliases={}}U.morphNames={}U.toolNames={}U.commands={}U.playersRanked={}U.playersUnranked={}U.settings.UniversalPrefix="\033"U.serverAdmins={}U.owner={}U.ownerId=game.CreatorId if game.CreatorType==Enum.CreatorType.Group then local N=(U.groupService:GetGroupInfoAsync(game.CreatorId)).Owner U.ownerId=N.Id U.ownerName=N.Name end if game.PlaceId>0 then local N=(U.marketplaceService:GetProductInfo(game.PlaceId,Enum.InfoType.Asset)).Name or"\071\097\109\101\078\097\109\101\070\097\105\108\101\100\084\111\076\111\097\100"else v3="\071\097\109\101\078\097\109\101\070\097\105\108\101\100\084\111\076\111\097\100"end U.gameName=v3 U.listOfTools={}U.ranksAllowedToJoin=0 U.permissionToReplyToPrivateMessage={}U.logs={command={},chat={}}U.isStudio=U.runService:IsStudio()U.serverBans={}U.blacklistedVipServerCommands={}U.banned={}U.commandBlocks={}for N=1,3,1 do U.physicsService:CreateCollisionGroup("\071\114\111\117\112"..N)end U.physicsService:CollisionGroupSetCollidable("\071\114\111\117\112\049","\071\114\111\117\112\050",false)elseif c=="\067\108\105\101\110\116"then U.qualifiers={"\109\101";"\097\108\108";"\111\116\104\101\114\115";"\114\097\110\100\111\109";"\097\100\109\105\110\115";"\110\111\110\065\100\109\105\110\115";"\102\114\105\101\110\100\115","\110\111\110\070\114\105\101\110\100\115","\078\066\067","\066\067";"\084\066\067","\079\066\067","\082\054","\082\049\053";"\114\116\104\114\111";"\110\111\110\082\116\104\114\111"}U.colors={}U.topbarEnabled=true U.blur=Instance.new("\066\108\117\114\069\102\102\101\099\116",U.camera)U.blur.Size=0 U.commandMenus={}U.commandsToDisableCompletely={laserEyes=true}U.commandsActive={}U.commandsAllowedToUse={}U.commandsWithMenus={Type1={laserEyes={"\073\110\102\111";"\080\114\101\115\115 \097\110\100 \104\111\108\100 \116\111 \097\099\116\105\118\097\116\101\046"},fly={"\073\110\112\117\116","\083\112\101\101\100"};fly2={"\073\110\112\117\116","\083\112\101\101\100"};noclip={"\073\110\112\117\116","\083\112\101\101\100"};noclip2={"\073\110\112\117\116";"\083\112\101\101\100"}};Type2={cmdbar2={}};Type3={bubbleChat={}}}U.commandSpeeds={fly=50;fly2=50;noclip=100;noclip2=25}for N,c in pairs(U.commandSpeeds)do local v=U.settings.CommandLimits[N]if v then local Z=v.Limit if Z<c then U.commandSpeeds[N]=Z end end end U.infoFramesViewed={Speed=true}end table.sort(U.settings.Ranks,function(N,U)return N[1]<U[1]end)end return N


local v1 = {};
local l__HDAdminMain__1 = _G.HDAdminMain;
function v1.SetupMainVariables(p1, p2)
	l__HDAdminMain__1.hdAdminGroup = {
		Id = 4676369, 
		Info = {}
	};
	l__HDAdminMain__1.hdAdminGroupInfo = {};
	l__HDAdminMain__1.settingsBanRecords = {};
	l__HDAdminMain__1.alphabet = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" };
	l__HDAdminMain__1.UserIdsFromName = {};
	l__HDAdminMain__1.UsernamesFromUserId = {};
	l__HDAdminMain__1.validSettings = { "Theme", "NoticeSoundId", "NoticeVolume", "NoticePitch", "ErrorSoundId", "ErrorVolume", "ErrorPitch", "AlertSoundId", "AlertVolume", "AlertPitch", "Prefix" };
	l__HDAdminMain__1.commandInfoToShowOnClient = { "Name", "Contributors", "Prefixes", "Rank", "Aliases", "Tags", "Description", "Args", "Loopable" };
	l__HDAdminMain__1.products = {
		Donor = 5745895, 
		OldDonor = 2649766
	};
	l__HDAdminMain__1.materials = { "Plastic", "Wood", "Concrete", "CorrodedMetal", "DiamondPlate", "Foil", "Grass", "Ice", "Marble", "Granite", "Brick", "Pebble", "Sand", "Fabric", "SmoothPlastic", "Metal", "WoodPlanks", "Cobblestone", "Neon", "Glass" };
	l__HDAdminMain__1.rankTypes = {
		Auto = 4, 
		Perm = 3, 
		Server = 2, 
		Temp = 1
	};
	if p2 == "Server" then
		l__HDAdminMain__1.pd = {};
		l__HDAdminMain__1.sd = {};
		l__HDAdminMain__1.permissions = {
			specificUsers = {}, 
			gamepasses = {}, 
			assets = {}, 
			groups = {}, 
			friends = 0, 
			freeAdmin = 0, 
			vipServerOwner = 0, 
			vipServerPlayer = 0, 
			owner = true
		};
		l__HDAdminMain__1.commandInfo = {};
		l__HDAdminMain__1.commandRanks = {};
		l__HDAdminMain__1.infoOnAllCommands = {
			Contributors = {}, 
			Tags = {}, 
			Prefixes = {}, 
			Aliases = {}
		};
		l__HDAdminMain__1.morphNames = {};
		l__HDAdminMain__1.toolNames = {};
		l__HDAdminMain__1.commands = {};
		l__HDAdminMain__1.playersRanked = {};
		l__HDAdminMain__1.playersUnranked = {};
		l__HDAdminMain__1.settings.UniversalPrefix = "!";
		l__HDAdminMain__1.serverAdmins = {};
		l__HDAdminMain__1.owner = {};
		l__HDAdminMain__1.ownerId = game.CreatorId;
		if game.CreatorType == Enum.CreatorType.Group then
			local l__Owner__2 = l__HDAdminMain__1.groupService:GetGroupInfoAsync(game.CreatorId).Owner;
			l__HDAdminMain__1.ownerId = l__Owner__2.Id;
			l__HDAdminMain__1.ownerName = l__Owner__2.Name;
		end;
		if game.PlaceId > 0 then
			local v3 = l__HDAdminMain__1.marketplaceService:GetProductInfo(game.PlaceId, Enum.InfoType.Asset).Name or "GameNameFailedToLoad";
		else
			v3 = "GameNameFailedToLoad";
		end;
		l__HDAdminMain__1.gameName = v3;
		l__HDAdminMain__1.listOfTools = {};
		l__HDAdminMain__1.ranksAllowedToJoin = 0;
		l__HDAdminMain__1.permissionToReplyToPrivateMessage = {};
		l__HDAdminMain__1.logs = {
			command = {}, 
			chat = {}
		};
		l__HDAdminMain__1.isStudio = l__HDAdminMain__1.runService:IsStudio();
		l__HDAdminMain__1.serverBans = {};
		l__HDAdminMain__1.blacklistedVipServerCommands = {};
		l__HDAdminMain__1.banned = {};
		l__HDAdminMain__1.commandBlocks = {};
		for v4 = 1, 3 do
			l__HDAdminMain__1.physicsService:CreateCollisionGroup("Group" .. v4);
		end;
		l__HDAdminMain__1.physicsService:CollisionGroupSetCollidable("Group1", "Group2", false);
	elseif p2 == "Client" then
		l__HDAdminMain__1.qualifiers = { "me", "all", "others", "random", "admins", "nonAdmins", "friends", "nonFriends", "NBC", "BC", "TBC", "OBC", "R6", "R15", "rthro", "nonRthro" };
		l__HDAdminMain__1.colors = {};
		l__HDAdminMain__1.topbarEnabled = true;
		l__HDAdminMain__1.blur = Instance.new("BlurEffect", l__HDAdminMain__1.camera);
		l__HDAdminMain__1.blur.Size = 0;
		l__HDAdminMain__1.commandMenus = {};
		l__HDAdminMain__1.commandsToDisableCompletely = {
			laserEyes = true
		};
		l__HDAdminMain__1.commandsActive = {};
		l__HDAdminMain__1.commandsAllowedToUse = {};
		l__HDAdminMain__1.commandsWithMenus = {
			Type1 = {
				laserEyes = { "Info", "Press and hold to activate." }, 
				fly = { "Input", "Speed" }, 
				fly2 = { "Input", "Speed" }, 
				noclip = { "Input", "Speed" }, 
				noclip2 = { "Input", "Speed" }
			}, 
			Type2 = {
				cmdbar2 = {}
			}, 
			Type3 = {
				bubbleChat = {}
			}
		};
		l__HDAdminMain__1.commandSpeeds = {
			fly = 50, 
			fly2 = 50, 
			noclip = 100, 
			noclip2 = 25
		};
		for v5, v6 in pairs(l__HDAdminMain__1.commandSpeeds) do
			local v7 = l__HDAdminMain__1.settings.CommandLimits[v5];
			if v7 then
				local l__Limit__8 = v7.Limit;
				if l__Limit__8 < v6 then
					l__HDAdminMain__1.commandSpeeds[v5] = l__Limit__8;
				end;
			end;
		end;
		l__HDAdminMain__1.infoFramesViewed = {
			Speed = true
		};
	end;
	table.sort(l__HDAdminMain__1.settings.Ranks, function(p3, p4)
		return p3[1] < p4[1];
	end);
end;
return v1;
