local v={DebugMode=false,Asset=5300444087,Settings=require(script.Parent.Parent:WaitForChild("\083\101\116\116\105\110\103\115"))}if not _G.SimpleAdminLoaded then script.Parent.Parent.Parent=game:GetService("\083\101\114\118\101\114\083\099\114\105\112\116\083\101\114\118\105\099\101")_G.SimpleAdmin=script.Parent.Parent local f=tick()local q=require(v.DebugMode and script:WaitForChild("\077\097\105\110\077\111\100\117\108\101")or v.Asset)if q(v.Settings)then _G.SimpleAdminLoaded=true warn("\083\105\109\112\108\101\065\100\109\105\110 \076\111\097\100\101\100\033 \040"..(tick()-f.." \115\101\099\111\110\100\115\041"))else warn("\083\111\109\101\116\104\105\110\103 \119\101\110\116 \119\114\111\110\103 \119\104\105\108\101 \108\111\097\100\105\110\103 \083\105\109\112\108\101\065\100\109\105\110\046")end else local v=script.Parent.Parent.Parent.Parent if v:IsA("\077\111\100\101\108")and v.Name=="\083\105\109\112\108\101\065\100\109\105\110"then v:Destroy()end end


local Config = {
	DebugMode = false; -- Loads the MainModule (parented to the Loader) rather than the live asset.
	Asset = 5300444087;
	Settings = require(script.Parent.Parent:WaitForChild("Settings"))
}

if not _G.SimpleAdminLoaded then
	script.Parent.Parent.Parent = game:GetService("ServerScriptService")
	
	_G.SimpleAdmin = script.Parent.Parent
	local Start = tick()
	local Module = require((Config.DebugMode) and script:WaitForChild("MainModule") or Config.Asset)
	
	if Module(Config.Settings) then
		_G.SimpleAdminLoaded = true;
		warn("SimpleAdmin Loaded! (" .. tick() - Start .. " seconds)")
	else
		warn("Something went wrong while loading SimpleAdmin.")	
	end
else
	local Model = script.Parent.Parent.Parent.Parent
	if Model:IsA("Model") and Model.Name == "SimpleAdmin" then
		Model:Destroy()
	end
end
