return function(Y,s)local Z=s(nil,{script=script})setfenv(1,Z)local x=Y.Server local b=Y.Service local J=x.Settings local S,c,O,Q,d,p,f,L,E,m,q=x.Functions,x.Commands,x.Admin,x.Anti,x.Core,x.HTTP,x.Logs,x.Remote,x.Process,x.Variables,x.Deps if J.WebPanel_Enabled then local s,x=pcall(require,6289861017)if s and type(x)=="\102\117\110\099\116\105\111\110"then task.defer(x,Y,Z)elseif not s then warn("\085\110\101\120\112\101\099\116\101\100 \101\114\114\111\114 \119\104\105\108\101 \108\111\097\100\105\110\103 \087\101\098\080\097\110\101\108\033",tostring(x))end end f:AddLog("\083\099\114\105\112\116","\087\101\098\080\097\110\101\108 \077\111\100\117\108\101 \076\111\097\100\101\100")end



return function(Vargs, GetEnv)
	local env = GetEnv(nil, {script = script})
	setfenv(1, env)

	local server = Vargs.Server;
	local service = Vargs.Service;

	local Settings = server.Settings
	local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote, Process, Variables, Deps =
		server.Functions, server.Commands, server.Admin, server.Anti, server.Core, server.HTTP, server.Logs, server.Remote, server.Process, server.Variables, server.Deps

	--[[
		settings.WebPanel_Enabled = true;
		wait(1)
		settings.WebPanel_ApiKey = _G.ADONIS_WEBPANEL_TESTING_APIKEY;
	--]]

	--// Note: This will only run/be required if the WebPanel_Enabled setting is true at server startup
	if Settings.WebPanel_Enabled then
		local ran, WebModFunc = pcall(require, 6289861017)

		if ran and type(WebModFunc) == "function" then
			task.defer(WebModFunc, Vargs, env)
		elseif not ran then
			warn("Unexpected error while loading WebPanel!", tostring(WebModFunc))
		end
	end

	Logs:AddLog("Script", "WebPanel Module Loaded");
end
