return function(H,y)local N=y(nil,{script=script})setfenv(1,N)local l,b,v,P,t,I,z,j,T,S,Q,c,B,p,i,C,e,M,J,f,O,q,r,s,Z,U,L,a,n,F,g,K,w,h,D,E,R,A,W,d,u,X,V,k,G,x,o,Y,m,Hy,yy,Ny,ly,by,vy,Py,ty,Iy,zy=_G,game,script,getfenv,setfenv,workspace,getmetatable,setmetatable,loadstring,coroutine,rawequal,typeof,print,math,warn,error,pcall,xpcall,select,rawset,rawget,ipairs,pairs,next,Rect,Axes,os,time,Faces,unpack,string,Color3,newproxy,tostring,tonumber,Instance,TweenInfo,BrickColor,NumberRange,ColorSequence,NumberSequence,ColorSequenceKeypoint,NumberSequenceKeypoint,PhysicalProperties,Region3int16,Vector3int16,require,table,type,wait,Enum,UDim,UDim2,Vector2,Vector3,Region3,CFrame,Ray,delay local jy=v local Ty=H.Service local Sy=H.Client local Qy,cy,By,py,iy,Cy,ey local function My()Cy=Sy.UI Qy=Sy.Anti cy=Sy.Core ey=Sy.Variables By=Sy.Functions py=Sy.Process iy=Sy.Remote ey.Init=nil end local function Jy()Sy.Variables.CodeName=Sy.Remote.Get("\086\097\114\105\097\098\108\101","\067\111\100\101\078\097\109\101")ey.RunAfterLoaded=nil end local function fy()ey.RunLast=nil end;(P()).client=nil;(P()).service=nil;(P()).script=nil Sy.GUIs={}Sy.GUIHolder=Ty.New("\070\111\108\100\101\114")Sy.Variables={Init=My,RunLast=fy;RunAfterLoaded=Jy;CodeName="";UIKeepAlive=true,KeybindsEnabled=true,ParticlesEnabled=true;CapesEnabled=true;HideChatCommands=false;Particles={};KeyBinds={};Aliases={},Capes={},savedUI={};localSounds={};ESPObjects={},CommunicationsHistory={};LightingSettings={Ambient=Ty.Lighting.Ambient;Brightness=Ty.Lighting.Brightness;ColorShift_Bottom=Ty.Lighting.ColorShift_Bottom;ColorShift_Top=Ty.Lighting.ColorShift_Top,GlobalShadows=Ty.Lighting.GlobalShadows,OutdoorAmbient=Ty.Lighting.OutdoorAmbient;Outlines=Ty.Lighting.Outlines,ShadowColor=Ty.Lighting.ShadowColor;GeographicLatitude=Ty.Lighting.GeographicLatitude,Name=Ty.Lighting.Name;TimeOfDay=Ty.Lighting.TimeOfDay;FogColor=Ty.Lighting.FogColor;FogEnd=Ty.Lighting.FogEnd;FogStart=Ty.Lighting.FogStart}}end

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

	local _G, game, script, getfenv, setfenv, workspace,
		getmetatable, setmetatable, loadstring, coroutine,
		rawequal, typeof, print, math, warn, error,  pcall,
		xpcall, select, rawset, rawget, ipairs, pairs,
		next, Rect, Axes, os, time, Faces, unpack, string, Color3,
		newproxy, tostring, tonumber, Instance, TweenInfo, BrickColor,
		NumberRange, ColorSequence, NumberSequence, ColorSequenceKeypoint,
		NumberSequenceKeypoint, PhysicalProperties, Region3int16,
		Vector3int16, require, table, type, wait,
		Enum, UDim, UDim2, Vector2, Vector3, Region3, CFrame, Ray, delay =
		_G, game, script, getfenv, setfenv, workspace,
		getmetatable, setmetatable, loadstring, coroutine,
		rawequal, typeof, print, math, warn, error,  pcall,
		xpcall, select, rawset, rawget, ipairs, pairs,
		next, Rect, Axes, os, time, Faces, unpack, string, Color3,
		newproxy, tostring, tonumber, Instance, TweenInfo, BrickColor,
		NumberRange, ColorSequence, NumberSequence, ColorSequenceKeypoint,
		NumberSequenceKeypoint, PhysicalProperties, Region3int16,
		Vector3int16, require, table, type, wait,
		Enum, UDim, UDim2, Vector2, Vector3, Region3, CFrame, Ray, delay

	local script = script
	local service = Vargs.Service
	local client = Vargs.Client

	local Anti, Core, Functions, Process, Remote, UI, Variables
	local function Init()
		UI = client.UI;
		Anti = client.Anti;
		Core = client.Core;
		Variables = client.Variables
		Functions = client.Functions;
		Process = client.Process;
		Remote = client.Remote;

		Variables.Init = nil;
	end

	local function RunAfterLoaded()
		--// Get CodeName
		client.Variables.CodeName = client.Remote.Get("Variable", "CodeName")

		Variables.RunAfterLoaded = nil;
	end

	local function RunLast()
		--[[client = service.ReadOnly(client, {
				[client.Variables] = true;
				[client.Handlers] = true;
				G_API = true;
				G_Access = true;
				G_Access_Key = true;
				G_Access_Perms = true;
				Allowed_API_Calls = true;
				HelpButtonImage = true;
				Finish_Loading = true;
				RemoteEvent = true;
				ScriptCache = true;
				Returns = true;
				PendingReturns = true;
				EncodeCache = true;
				DecodeCache = true;
				Received = true;
				Sent = true;
				Service = true;
				Holder = true;
				GUIs = true;
				LastUpdate = true;
				RateLimits = true;

				Init = true;
				RunLast = true;
				RunAfterInit = true;
				RunAfterLoaded = true;
				RunAfterPlugins = true;
			}, true)--]]

			Variables.RunLast = nil;
	end

	getfenv().client = nil
	getfenv().service = nil
	getfenv().script = nil

	client.GUIs = {}
	client.GUIHolder = service.New("Folder")
	client.Variables = {
		Init = Init;
		RunLast = RunLast;
		RunAfterLoaded = RunAfterLoaded;
		CodeName = "";
		UIKeepAlive = true;
		KeybindsEnabled = true;
		ParticlesEnabled = true;
		CapesEnabled = true;
		HideChatCommands = false;
		Particles = {};
		KeyBinds = {};
		Aliases = {};
		Capes = {};
		savedUI = {};
		localSounds = {};
		ESPObjects = {};
		CommunicationsHistory = {};
		LightingSettings = {
			Ambient = service.Lighting.Ambient;
			Brightness = service.Lighting.Brightness;
			ColorShift_Bottom = service.Lighting.ColorShift_Bottom;
			ColorShift_Top = service.Lighting.ColorShift_Top;
			GlobalShadows = service.Lighting.GlobalShadows;
			OutdoorAmbient = service.Lighting.OutdoorAmbient;
			Outlines = service.Lighting.Outlines;
			ShadowColor = service.Lighting.ShadowColor;
			GeographicLatitude = service.Lighting.GeographicLatitude;
			Name = service.Lighting.Name;
			TimeOfDay = service.Lighting.TimeOfDay;
			FogColor = service.Lighting.FogColor;
			FogEnd = service.Lighting.FogEnd;
			FogStart = service.Lighting.FogStart;
		}
	};
end
