Phantom Forces Script | RAGE CHEAT

Created by duck#1337

Features:

  • RAGE FEATURES
  • LEGIT FEATURES
client={}repeat task.wait()until game.ReplicatedFirst:FindFirstChild("Framework")local a=game:GetService("Players")local b=game:GetService("RunService")local c=game:GetService("UserInputService")local d=game:GetService("ReplicatedStorage")local e=a.LocalPlayer;local f=game.Workspace.CurrentCamera;local g=e:GetMouse()local h={}function client:Draw(i,j,k)local l=Drawing.new(j)for m,n in pairs(k)do pcall(function()l[m]=k[n]end)end;h[i]=l;return l end;for m,n in pairs(getgc(true))do if type(n)=='function'then if debug.getinfo(n).name=='loadmodules'then client.loadmodules=n end;if debug.getinfo(n).name=='trajectory'then client.physics=n end elseif type(n)=='table'then if rawget(n,'basecframe')then client.camera=n elseif rawget(n,'setbasewalkspeed')then client.char=n elseif rawget(n,'gammo')then client.gamelogic=n elseif rawget(n,'getbodyparts')then client.replication=n;client.bodyparts=debug.getupvalue(n.getbodyparts,1)elseif rawget(n,'send')then client.network=n elseif rawget(n,'updateammo')then client.hud=n elseif rawget(n,'getscale')then client.uiscaler=n elseif rawget(n,'player')then client.animation=n elseif rawget(n,'bulletAcceleration')then client.settings=n elseif rawget(n,'PlaySoundId')then client.sound=n elseif rawget(n,'raycastwhitelist')then client.roundsystem=n end end end;for m,n in pairs(getnilinstances())do if n.Name=="BulletCheck"then client.bulletcheck=require(n)end;if n.Name:lower():find("particle")then client.particle=require(n)end end;local o=e.PlayerGui:WaitForChild("ChatGame")local p=o:WaitForChild("GlobalChat")local q=d.Misc:WaitForChild("MsgerMain")function client:console(r)local s=q:Clone()s.Text="[Ceri]: "s.TextColor3=Color3.fromRGB(255,100,120)s.Msg.Text=r;s.Parent=p;s.Msg.Position=UDim2.new(0,s.TextBounds.x/client.uiscaler.getscale(),0,0)end;if Loaded then client:console("Script already loaded!")return end;if identifyexecutor then local t=identifyexecutor():lower()local u=false;if t:find("ware")then u=true elseif t:find("synapse")then u=true elseif t:find("krnl")then u=true end;if not u then client:console("This script is not supported by your executor.")client:console("Contact duck#1337 if you believe it will.")return end end;local v=false;c_assert=function(w,x)if w==nil then client:console(x.." | Contact duck#1337")v=true end end;c_assert(client.camera,"Could not find camera.")c_assert(client.char,"Could not find character.")c_assert(client.gamelogic,"Could not find gamelogic.")c_assert(client.replication,"Could not find replication.")c_assert(client.bodyparts,"Could not find bodyparts.")c_assert(client.network,"Could not find network.")c_assert(client.hud,"Could not find hud.")c_assert(client.uiscaler,"Could not find uiscaler.")c_assert(client.loadmodules,"Could not find loadmodules.")if v then client:console("Script loading has failed!")return end;do getgenv().runService=game:GetService"RunService"getgenv().textService=game:GetService"TextService"getgenv().inputService=game:GetService"UserInputService"getgenv().tweenService=game:GetService"TweenService"local runService=runService;local textService=textService;local inputService=inputService;local tweenService=tweenService;if getgenv().library then getgenv().library:Unload()end;local y={tabs={},draggable=true,flags={},title="Duck's Private Cheat",open=false,mousestate=inputService.MouseIconEnabled,popup=nil,instances={},connections={},options={},notifications={},tabSize=0,theme={},foldername="CeriPrivate",fileext=".cpr"}getgenv().library=y;local z,A,B,C,D;local E={Enum.KeyCode.Unknown,Enum.KeyCode.W,Enum.KeyCode.A,Enum.KeyCode.S,Enum.KeyCode.D,Enum.KeyCode.Slash,Enum.KeyCode.Tab,Enum.KeyCode.Escape}local F={Enum.UserInputType.MouseButton1,Enum.UserInputType.MouseButton2,Enum.UserInputType.MouseButton3}y.round=function(m,G)G=G or 1;local H;if typeof(m)=="Vector2"then H=Vector2.new(y.round(m.X),y.round(m.Y))elseif typeof(m)=="Color3"then return y.round(m.r*255),y.round(m.g*255),y.round(m.b*255)else H=math.floor(m/G+math.sign(m)*0.5)*G;if H<0 then H=H+G end;return H end;return H end;local I;spawn(function()while y and wait()do I=Color3.fromHSV(tick()%6/6,1,1)end end)function y:Create(J,K)K=K or{}if not J then return end;local H=J=="Square"or J=="Line"or J=="Text"or J=="Quad"or J=="Circle"or J=="Triangle"local L=H and Drawing or Instance;local M=L.new(J)for N,O in next,K do M[N]=O end;table.insert(self.instances,{object=M,method=H})return M end;function y:AddConnection(P,Q,R)R=type(Q)=="function"and Q or R;P=P:connect(R)if Q~=R then self.connections[Q]=P else table.insert(self.connections,P)end;return P end;function y:Unload()inputService.MouseIconEnabled=self.mousestate;for n,S in next,self.connections do S:Disconnect()end;for n,T in next,self.instances do if T.method then pcall(function()T.object:Remove()end)else T.object:Destroy()end end;for n,U in next,self.options do if U.type=="toggle"then pcall(function()U:SetState()end)end end;y=nil;getgenv().library={}end;function y:LoadConfig(V)if table.find(self:GetConfigs(),V)then local W,Z=pcall(function()return game:GetService"HttpService":JSONDecode(readfile(self.foldername.."/"..V..self.fileext))end)Z=W and Z or{}for n,_ in next,self.options do if _.hasInit then if _.type~="button"and _.flag and not _.skipflag then if _.type=="toggle"then spawn(function()_:SetState(Z[_.flag]==1)end)elseif _.type=="color"then if Z[_.flag]then spawn(function()_:SetColor(Z[_.flag])end)if _.trans then spawn(function()_:SetTrans(Z[_.flag.." Transparency"])end)end end elseif _.type=="bind"then spawn(function()_:SetKey(Z[_.flag])end)else spawn(function()_:SetValue(Z[_.flag])end)end end end end end end;function y:SaveConfig(V)local Z={}if table.find(self:GetConfigs(),V)then Z=game:GetService"HttpService":JSONDecode(readfile(self.foldername.."/"..V..self.fileext))end;for n,_ in next,self.options do if _.type~="button"and _.flag and not _.skipflag then if _.type=="toggle"then Z[_.flag]=_.state and 1 or 0 elseif _.type=="color"then Z[_.flag]={_.color.r,_.color.g,_.color.b}if _.trans then Z[_.flag.." Transparency"]=_.trans end elseif _.type=="bind"then Z[_.flag]=_.key elseif _.type=="list"then Z[_.flag]=_.value else Z[_.flag]=_.value end end end;writefile(self.foldername.."/"..V..self.fileext,game:GetService"HttpService":JSONEncode(Z))end;function y:GetConfigs()if not isfolder(self.foldername)then makefolder(self.foldername)return{}end;local a0={}local H=0;for T,a1 in next,listfiles(self.foldername)do if a1:sub(#a1-#self.fileext+1,#a1)==self.fileext then H=H+1;a1=a1:gsub(self.foldername.."\\","")a1=a1:gsub(self.fileext,"")table.insert(a0,H,a1)end end;return a0 end;local function a2(_,a3)_.main=y:Create("TextLabel",{LayoutOrder=_.position,Position=UDim2.new(0,6,0,0),Size=UDim2.new(1,-12,0,24),BackgroundTransparency=1,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Top,TextWrapped=true,Parent=a3})setmetatable(_,{__newindex=function(L,T,a1)if T=="Text"then _.main.Text=tostring(a1)_.main.Size=UDim2.new(1,-12,0,textService:GetTextSize(_.main.Text,15,Enum.Font.Code,Vector2.new(_.main.AbsoluteSize.X,9e9)).Y+6)end end})_.Text=_.text end;local function a4(_,a3)_.hasInit=true;_.main=y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,18),BackgroundTransparency=1,Parent=a3})y:Create("Frame",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0.5,0,0.5,0),Size=UDim2.new(1,-24,0,1),BackgroundColor3=Color3.fromRGB(71,69,71),BorderColor3=Color3.new(),Parent=_.main})_.title=y:Create("TextLabel",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0.5,0,0.5,0),BackgroundColor3=Color3.fromRGB(30,30,30),BorderSizePixel=0,TextColor3=Color3.new(1,1,1),TextSize=15,Font=Enum.Font.Code,TextXAlignment=Enum.TextXAlignment.Center,Parent=_.main})setmetatable(_,{__newindex=function(L,T,a1)if T=="Text"then if a1 then _.title.Text=tostring(a1)_.title.Size=UDim2.new(0,textService:GetTextSize(_.title.Text,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X+12,0,20)_.main.Size=UDim2.new(1,0,0,18)else _.title.Text=""_.title.Size=UDim2.new()_.main.Size=UDim2.new(1,0,0,6)end end end})_.Text=_.text end;local function a5(_,a3)_.hasInit=true;_.main=y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,20),BackgroundTransparency=1,Parent=a3})local a6;local a7;if _.style then a6=y:Create("ImageLabel",{Position=UDim2.new(0,6,0,4),Size=UDim2.new(0,12,0,12),BackgroundTransparency=1,Image="rbxassetid://3570695787",ImageColor3=Color3.new(),Parent=_.main})y:Create("ImageLabel",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0.5,0,0.5,0),Size=UDim2.new(1,-2,1,-2),BackgroundTransparency=1,Image="rbxassetid://3570695787",ImageColor3=Color3.fromRGB(60,60,60),Parent=a6})y:Create("ImageLabel",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0.5,0,0.5,0),Size=UDim2.new(1,-6,1,-6),BackgroundTransparency=1,Image="rbxassetid://3570695787",ImageColor3=Color3.fromRGB(40,40,40),Parent=a6})a7=y:Create("ImageLabel",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0.5,0,0.5,0),Size=UDim2.new(1,-6,1,-6),BackgroundTransparency=1,Image="rbxassetid://3570695787",ImageColor3=y.flags["Menu Accent Color"],Visible=_.state,Parent=a6})y:Create("ImageLabel",{AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0.5,0,0.5,0),Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://5941353943",ImageTransparency=0.6,Parent=a6})table.insert(y.theme,a7)else a6=y:Create("Frame",{Position=UDim2.new(0,6,0,4),Size=UDim2.new(0,12,0,12),BackgroundColor3=y.flags["Menu Accent Color"],BorderColor3=Color3.new(),Parent=_.main})a7=y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=_.state and 1 or 0,BackgroundColor3=Color3.fromRGB(50,50,50),BorderColor3=Color3.new(),Image="rbxassetid://4155801252",ImageTransparency=0.6,ImageColor3=Color3.new(),Parent=a6})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=a6})y:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=a6})table.insert(y.theme,a6)end;_.interest=y:Create("Frame",{Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,0,20),BackgroundTransparency=1,Parent=_.main})_.title=y:Create("TextLabel",{Position=UDim2.new(0,24,0,0),Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Text=_.text,TextColor3=_.state and Color3.fromRGB(210,210,210)or Color3.fromRGB(180,180,180),TextSize=15,Font=Enum.Font.Code,TextXAlignment=Enum.TextXAlignment.Left,Parent=_.interest})_.interest.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then _:SetState(not _.state)end;if a8.UserInputType.Name=="MouseMovement"then if not y.warning and not y.slider then if _.style then a6.ImageColor3=y.flags["Menu Accent Color"]else a6.BorderColor3=y.flags["Menu Accent Color"]a7.BorderColor3=y.flags["Menu Accent Color"]end end;if _.tip then y.tooltip.Text=_.tip;y.tooltip.Size=UDim2.new(0,textService:GetTextSize(_.tip,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,20)end end end)_.interest.InputChanged:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.tip then y.tooltip.Position=UDim2.new(0,a8.Position.X+26,0,a8.Position.Y+36)end end end)_.interest.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.style then a6.ImageColor3=Color3.new()else a6.BorderColor3=Color3.new()a7.BorderColor3=Color3.new()end;y.tooltip.Position=UDim2.new(2)end end)function _:SetState(a9,aa)a9=typeof(a9)=="boolean"and a9;a9=a9 or false;y.flags[self.flag]=a9;self.state=a9;_.title.TextColor3=a9 and Color3.fromRGB(210,210,210)or Color3.fromRGB(160,160,160)if _.style then a7.Visible=a9 else a7.BackgroundTransparency=a9 and 1 or 0 end;if not aa then self.callback(a9)end end;if _.state then delay(1,function()if y then _.callback(true)end end)end;setmetatable(_,{__newindex=function(L,T,a1)if T=="Text"then _.title.Text=tostring(a1)end end})end;local function ab(_,a3)_.hasInit=true;_.main=y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,26),BackgroundTransparency=1,Parent=a3})_.title=y:Create("TextLabel",{AnchorPoint=Vector2.new(0.5,1),Position=UDim2.new(0.5,0,1,-5),Size=UDim2.new(1,-12,0,18),BackgroundColor3=Color3.fromRGB(50,50,50),BorderColor3=Color3.new(),Text=_.text,TextColor3=Color3.new(1,1,1),TextSize=15,Font=Enum.Font.Code,Parent=_.main})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.title})y:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.title})y:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(180,180,180)),ColorSequenceKeypoint.new(1,Color3.fromRGB(253,253,253))}),Rotation=-90,Parent=_.title})_.title.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then _.callback()if y then y.flags[_.flag]=true end;if _.tip then y.tooltip.Text=_.tip;y.tooltip.Size=UDim2.new(0,textService:GetTextSize(_.tip,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,20)end end;if a8.UserInputType.Name=="MouseMovement"then if not y.warning and not y.slider then _.title.BorderColor3=y.flags["Menu Accent Color"]end end end)_.title.InputChanged:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.tip then y.tooltip.Position=UDim2.new(0,a8.Position.X+26,0,a8.Position.Y+36)end end end)_.title.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then _.title.BorderColor3=Color3.new()y.tooltip.Position=UDim2.new(2)end end)end;local function ac(_,a3)_.hasInit=true;local ad;local ae;local af;if _.sub then _.main=_:getMain()else _.main=_.main or y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,20),BackgroundTransparency=1,Parent=a3})y:Create("TextLabel",{Position=UDim2.new(0,6,0,0),Size=UDim2.new(1,-12,1,0),BackgroundTransparency=1,Text=_.text,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.fromRGB(210,210,210),TextXAlignment=Enum.TextXAlignment.Left,Parent=_.main})end;local ag=y:Create(_.sub and"TextButton"or"TextLabel",{Position=UDim2.new(1,-6-(_.subpos or 0),0,_.sub and 2 or 3),SizeConstraint=Enum.SizeConstraint.RelativeYY,BackgroundColor3=Color3.fromRGB(30,30,30),BorderSizePixel=0,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.fromRGB(160,160,160),TextXAlignment=Enum.TextXAlignment.Right,Parent=_.main})if _.sub then ag.AutoButtonColor=false end;local ah=_.sub and ag or _.main;local ai;ah.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then ad=true;ag.Text="[...]"ag.Size=UDim2.new(0,-textService:GetTextSize(ag.Text,16,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,16)ag.TextColor3=y.flags["Menu Accent Color"]end end)y:AddConnection(inputService.InputBegan,function(a8)if inputService:GetFocusedTextBox()then return end;if ad then local aj=table.find(F,a8.UserInputType)and not _.nomouse and a8.UserInputType;_:SetKey(aj or not table.find(E,a8.KeyCode)and a8.KeyCode)else if(a8.KeyCode.Name==_.key or a8.UserInputType.Name==_.key)and not ad then if _.mode=="toggle"then y.flags[_.flag]=not y.flags[_.flag]_.callback(y.flags[_.flag],0)else y.flags[_.flag]=true;if af then af:Disconnect()_.callback(true,0)end;af=y:AddConnection(runService.RenderStepped,function(ak)if not inputService:GetFocusedTextBox()then _.callback(nil,ak)end end)end end end end)y:AddConnection(inputService.InputEnded,function(a8)if _.key~="none"then if a8.KeyCode.Name==_.key or a8.UserInputType.Name==_.key then if af then af:Disconnect()y.flags[_.flag]=false;_.callback(true,0)end end end end)function _:SetKey(aj)ad=false;ag.TextColor3=Color3.fromRGB(160,160,160)if af then af:Disconnect()y.flags[_.flag]=false;_.callback(true,0)end;self.key=aj and aj.Name or aj or self.key;if self.key=="Backspace"then self.key="none"ag.Text="[NONE]"else local H=self.key;if self.key:match"Mouse"then H=self.key:gsub("Button",""):gsub("Mouse","M")elseif self.key:match"Shift"or self.key:match"Alt"or self.key:match"Control"then H=self.key:gsub("Left","L"):gsub("Right","R")end;ag.Text="["..H:gsub("Control","CTRL"):upper().."]"end;ag.Size=UDim2.new(0,-textService:GetTextSize(ag.Text,16,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,16)end;_:SetKey()end;local function al(_,a3)_.hasInit=true;if _.sub then _.main=_:getMain()_.main.Size=UDim2.new(1,0,0,42)else _.main=y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,_.textpos and 24 or 40),BackgroundTransparency=1,Parent=a3})end;_.slider=y:Create("Frame",{Position=UDim2.new(0,6,0,_.sub and 22 or _.textpos and 4 or 20),Size=UDim2.new(1,-12,0,16),BackgroundColor3=Color3.fromRGB(50,50,50),BorderColor3=Color3.new(),Parent=_.main})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.new(),ImageTransparency=0.8,Parent=_.slider})_.fill=y:Create("Frame",{BackgroundColor3=y.flags["Menu Accent Color"],BorderSizePixel=0,Parent=_.slider})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.slider})y:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.slider})_.title=y:Create("TextBox",{Position=UDim2.new((_.sub or _.textpos)and 0.5 or 0,(_.sub or _.textpos)and 0 or 6,0,0),Size=UDim2.new(0,0,0,(_.sub or _.textpos)and 14 or 18),BackgroundTransparency=1,Text=(_.text=="nil"and""or _.text..": ").._.value.._.suffix,TextSize=(_.sub or _.textpos)and 14 or 15,Font=Enum.Font.Code,TextColor3=Color3.fromRGB(210,210,210),TextXAlignment=Enum.TextXAlignment[(_.sub or _.textpos)and"Center"or"Left"],Parent=(_.sub or _.textpos)and _.slider or _.main})table.insert(y.theme,_.fill)y:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(115,115,115)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}),Rotation=-90,Parent=_.fill})if _.min>=0 then _.fill.Size=UDim2.new((_.value-_.min)/(_.max-_.min),0,1,0)else _.fill.Position=UDim2.new((0-_.min)/(_.max-_.min),0,0,0)_.fill.Size=UDim2.new(_.value/(_.max-_.min),0,1,0)end;local am;_.title.Focused:connect(function()if not am then _.title:ReleaseFocus()_.title.Text=(_.text=="nil"and""or _.text..": ").._.value.._.suffix end end)_.title.FocusLost:connect(function()_.slider.BorderColor3=Color3.new()if am then if tonumber(_.title.Text)then _:SetValue(tonumber(_.title.Text))else _.title.Text=(_.text=="nil"and""or _.text..": ").._.value.._.suffix end end;am=false end)local ah=(_.sub or _.textpos)and _.slider or _.main;ah.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then if inputService:IsKeyDown(Enum.KeyCode.LeftControl)or inputService:IsKeyDown(Enum.KeyCode.RightControl)then am=true;_.title:CaptureFocus()else y.slider=_;_.slider.BorderColor3=y.flags["Menu Accent Color"]_:SetValue(_.min+(a8.Position.X-_.slider.AbsolutePosition.X)/_.slider.AbsoluteSize.X*(_.max-_.min))end end;if a8.UserInputType.Name=="MouseMovement"then if not y.warning and not y.slider then _.slider.BorderColor3=y.flags["Menu Accent Color"]end;if _.tip then y.tooltip.Text=_.tip;y.tooltip.Size=UDim2.new(0,textService:GetTextSize(_.tip,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,20)end end end)ah.InputChanged:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.tip then y.tooltip.Position=UDim2.new(0,a8.Position.X+26,0,a8.Position.Y+36)end end end)ah.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then y.tooltip.Position=UDim2.new(2)if _~=y.slider then _.slider.BorderColor3=Color3.new()end end end)function _:SetValue(O,aa)if typeof(O)~="number"then O=0 end;O=y.round(O,_.float)O=math.clamp(O,self.min,self.max)if self.min>=0 then _.fill:TweenSize(UDim2.new((O-self.min)/(self.max-self.min),0,1,0),"Out","Quad",0.05,true)else _.fill:TweenPosition(UDim2.new((0-self.min)/(self.max-self.min),0,0,0),"Out","Quad",0.05,true)_.fill:TweenSize(UDim2.new(O/(self.max-self.min),0,1,0),"Out","Quad",0.1,true)end;y.flags[self.flag]=O;self.value=O;_.title.Text=(_.text=="nil"and""or _.text..": ").._.value.._.suffix;if not aa then self.callback(O)end end;delay(1,function()if y then _:SetValue(_.value)end end)end;local function an(_,a3)_.hasInit=true;if _.sub then _.main=_:getMain()_.main.Size=UDim2.new(1,0,0,48)else _.main=y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,_.text=="nil"and 30 or 48),BackgroundTransparency=1,Parent=a3})if _.text~="nil"then y:Create("TextLabel",{Position=UDim2.new(0,6,0,0),Size=UDim2.new(1,-12,0,18),BackgroundTransparency=1,Text=_.text,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.fromRGB(210,210,210),TextXAlignment=Enum.TextXAlignment.Left,Parent=_.main})end end;local function ao()local ap=""for n,O in next,_.values do ap=ap..(_.value[O]and tostring(O)..", "or"")end;return string.sub(ap,1,#ap-2)end;_.listvalue=y:Create("TextLabel",{Position=UDim2.new(0,6,0,_.text=="nil"and not _.sub and 4 or 22),Size=UDim2.new(1,-12,0,22),BackgroundColor3=Color3.fromRGB(50,50,50),BorderColor3=Color3.new(),Text=" "..(typeof(_.value)=="string"and _.value or ao()),TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),TextXAlignment=Enum.TextXAlignment.Left,TextTruncate=Enum.TextTruncate.AtEnd,Parent=_.main})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.new(),ImageTransparency=0.8,Parent=_.listvalue})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.listvalue})y:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.listvalue})_.arrow=y:Create("ImageLabel",{Position=UDim2.new(1,-16,0,7),Size=UDim2.new(0,8,0,8),Rotation=90,BackgroundTransparency=1,Image="rbxassetid://4918373417",ImageColor3=Color3.new(1,1,1),ScaleType=Enum.ScaleType.Fit,ImageTransparency=0.4,Parent=_.listvalue})_.holder=y:Create("TextButton",{ZIndex=4,BackgroundColor3=Color3.fromRGB(40,40,40),BorderColor3=Color3.new(),Text="",AutoButtonColor=false,Visible=false,Parent=y.base})_.content=y:Create("ScrollingFrame",{ZIndex=4,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,BorderSizePixel=0,ScrollBarImageColor3=Color3.new(),ScrollBarThickness=3,ScrollingDirection=Enum.ScrollingDirection.Y,VerticalScrollBarInset=Enum.ScrollBarInset.Always,TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",Parent=_.holder})y:Create("ImageLabel",{ZIndex=4,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.holder})y:Create("ImageLabel",{ZIndex=4,Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.holder})local aq=y:Create("UIListLayout",{Padding=UDim.new(0,2),Parent=_.content})y:Create("UIPadding",{PaddingTop=UDim.new(0,4),PaddingLeft=UDim.new(0,4),Parent=_.content})local ar=0;aq.Changed:connect(function()_.holder.Size=UDim2.new(0,_.listvalue.AbsoluteSize.X,0,8+(ar>_.max and-2+_.max*22 or aq.AbsoluteContentSize.Y))_.content.CanvasSize=UDim2.new(0,0,0,8+aq.AbsoluteContentSize.Y)end)local ah=_.sub and _.listvalue or _.main;_.listvalue.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then if y.popup==_ then y.popup:Close()return end;if y.popup then y.popup:Close()end;_.arrow.Rotation=-90;_.open=true;_.holder.Visible=true;local as=_.main.AbsolutePosition;_.holder.Position=UDim2.new(0,as.X+6,0,as.Y+(_.text=="nil"and not _.sub and 66 or 84))y.popup=_;_.listvalue.BorderColor3=y.flags["Menu Accent Color"]end;if a8.UserInputType.Name=="MouseMovement"then if not y.warning and not y.slider then _.listvalue.BorderColor3=y.flags["Menu Accent Color"]end end end)_.listvalue.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if not _.open then _.listvalue.BorderColor3=Color3.new()end end end)ah.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.tip then y.tooltip.Text=_.tip;y.tooltip.Size=UDim2.new(0,textService:GetTextSize(_.tip,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,20)end end end)ah.InputChanged:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.tip then y.tooltip.Position=UDim2.new(0,a8.Position.X+26,0,a8.Position.Y+36)end end end)ah.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then y.tooltip.Position=UDim2.new(2)end end)local at;function _:AddValue(O,a9)if self.labels[O]then return end;ar=ar+1;if self.multiselect then self.values[O]=a9 else if not table.find(self.values,O)then table.insert(self.values,O)end end;local au=y:Create("TextLabel",{ZIndex=4,Size=UDim2.new(1,0,0,20),BackgroundTransparency=1,Text=O,TextSize=15,Font=Enum.Font.Code,TextTransparency=self.multiselect and(self.value[O]and 1 or 0)or self.value==O and 1 or 0,TextColor3=Color3.fromRGB(210,210,210),TextXAlignment=Enum.TextXAlignment.Left,Parent=_.content})self.labels[O]=au;local av=y:Create("TextLabel",{ZIndex=4,Size=UDim2.new(1,0,1,0),BackgroundTransparency=0.8,Text=" "..O,TextSize=15,Font=Enum.Font.Code,TextColor3=y.flags["Menu Accent Color"],TextXAlignment=Enum.TextXAlignment.Left,Visible=self.multiselect and self.value[O]or self.value==O,Parent=au})at=at or self.value==O and av;table.insert(y.theme,av)au.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then if self.multiselect then self.value[O]=not self.value[O]self:SetValue(self.value)else self:SetValue(O)self:Close()end end end)end;for T,O in next,_.values do _:AddValue(tostring(typeof(T)=="number"and O or T))end;function _:RemoveValue(O)local au=self.labels[O]if au then au:Destroy()self.labels[O]=nil;ar=ar-1;if self.multiselect then self.values[O]=nil;self:SetValue(self.value)else table.remove(self.values,table.find(self.values,O))if self.value==O then at=nil;self:SetValue(self.values[1]or"")end end end end;function _:SetValue(O,aa)if self.multiselect and typeof(O)~="table"then O={}for T,a1 in next,self.values do O[a1]=false end end;self.value=typeof(O)=="table"and O or tostring(table.find(self.values,O)and O or self.values[1])y.flags[self.flag]=self.value;_.listvalue.Text=" "..(self.multiselect and ao()or self.value)if self.multiselect then for Q,au in next,self.labels do au.TextTransparency=self.value[Q]and 1 or 0;if au:FindFirstChild"TextLabel"then au.TextLabel.Visible=self.value[Q]end end else if at then at.TextTransparency=0;if at:FindFirstChild"TextLabel"then at.TextLabel.Visible=false end end;if self.labels[self.value]then at=self.labels[self.value]at.TextTransparency=1;if at:FindFirstChild"TextLabel"then at.TextLabel.Visible=true end end end;if not aa then self.callback(self.value)end end;delay(1,function()if y then _:SetValue(_.value)end end)function _:Close()y.popup=nil;_.arrow.Rotation=90;self.open=false;_.holder.Visible=false;_.listvalue.BorderColor3=Color3.new()end;return _ end;local function aw(_,a3)_.hasInit=true;_.main=y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,_.text=="nil"and 28 or 44),BackgroundTransparency=1,Parent=a3})if _.text~="nil"then _.title=y:Create("TextLabel",{Position=UDim2.new(0,6,0,0),Size=UDim2.new(1,-12,0,18),BackgroundTransparency=1,Text=_.text,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.fromRGB(210,210,210),TextXAlignment=Enum.TextXAlignment.Left,Parent=_.main})end;_.holder=y:Create("Frame",{Position=UDim2.new(0,6,0,_.text=="nil"and 4 or 20),Size=UDim2.new(1,-12,0,20),BackgroundColor3=Color3.fromRGB(50,50,50),BorderColor3=Color3.new(),Parent=_.main})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.new(),ImageTransparency=0.8,Parent=_.holder})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.holder})y:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.holder})local ax=y:Create("TextBox",{Position=UDim2.new(0,4,0,0),Size=UDim2.new(1,-4,1,0),BackgroundTransparency=1,Text="  ".._.value,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),TextXAlignment=Enum.TextXAlignment.Left,TextWrapped=true,ClearTextOnFocus=false,Parent=_.holder})ax.FocusLost:connect(function(ay)_.holder.BorderColor3=Color3.new()_:SetValue(ax.Text,ay)end)ax.Focused:connect(function()_.holder.BorderColor3=y.flags["Menu Accent Color"]end)ax.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then ax.Text=""end;if a8.UserInputType.Name=="MouseMovement"then if not y.warning and not y.slider then _.holder.BorderColor3=y.flags["Menu Accent Color"]end;if _.tip then y.tooltip.Text=_.tip;y.tooltip.Size=UDim2.new(0,textService:GetTextSize(_.tip,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,20)end end end)ax.InputChanged:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.tip then y.tooltip.Position=UDim2.new(0,a8.Position.X+26,0,a8.Position.Y+36)end end end)ax.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if not ax:IsFocused()then _.holder.BorderColor3=Color3.new()end;y.tooltip.Position=UDim2.new(2)end end)function _:SetValue(O,ay)if tostring(O)==""then ax.Text=self.value else y.flags[self.flag]=tostring(O)self.value=tostring(O)ax.Text=self.value;self.callback(O,ay)end end;delay(1,function()if y then _:SetValue(_.value)end end)end;local function az(_)_.mainHolder=y:Create("TextButton",{ZIndex=4,Size=UDim2.new(0,_.trans and 200 or 184,0,200),BackgroundColor3=Color3.fromRGB(40,40,40),BorderColor3=Color3.new(),AutoButtonColor=false,Visible=false,Parent=y.base})y:Create("ImageLabel",{ZIndex=4,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.mainHolder})y:Create("ImageLabel",{ZIndex=4,Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.mainHolder})local aA,aB,aC=Color3.toHSV(_.color)aA,aB,aC=aA==0 and 1 or aA,aB+0.005,aC-0.005;local aD;local aE;local aF;local aG;if _.trans then aG=y:Create("ImageLabel",{ZIndex=5,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.fromHSV(aA,1,1),Rotation=180,Parent=y:Create("ImageLabel",{ZIndex=4,AnchorPoint=Vector2.new(1,0),Position=UDim2.new(1,-6,0,6),Size=UDim2.new(0,10,1,-12),BorderColor3=Color3.new(),Image="rbxassetid://4632082392",ScaleType=Enum.ScaleType.Tile,TileSize=UDim2.new(0,5,0,5),Parent=_.mainHolder})})_.transSlider=y:Create("Frame",{ZIndex=5,Position=UDim2.new(0,0,_.trans,0),Size=UDim2.new(1,0,0,2),BackgroundColor3=Color3.fromRGB(38,41,65),BorderColor3=Color3.fromRGB(255,255,255),Parent=aG})aG.InputBegan:connect(function(aH)if aH.UserInputType.Name=="MouseButton1"then aF=true;_:SetTrans(1-(aH.Position.Y-aG.AbsolutePosition.Y)/aG.AbsoluteSize.Y)end end)aG.InputEnded:connect(function(aH)if aH.UserInputType.Name=="MouseButton1"then aF=false end end)end;local aI=y:Create("Frame",{ZIndex=4,AnchorPoint=Vector2.new(0,1),Position=UDim2.new(0,6,1,-6),Size=UDim2.new(1,_.trans and-28 or-12,0,10),BackgroundColor3=Color3.new(1,1,1),BorderColor3=Color3.new(),Parent=_.mainHolder})local aJ=y:Create("UIGradient",{Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,0,0)),ColorSequenceKeypoint.new(0.17,Color3.fromRGB(255,0,255)),ColorSequenceKeypoint.new(0.33,Color3.fromRGB(0,0,255)),ColorSequenceKeypoint.new(0.5,Color3.fromRGB(0,255,255)),ColorSequenceKeypoint.new(0.67,Color3.fromRGB(0,255,0)),ColorSequenceKeypoint.new(0.83,Color3.fromRGB(255,255,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(255,0,0))}),Parent=aI})local aK=y:Create("Frame",{ZIndex=4,Position=UDim2.new(1-aA,0,0,0),Size=UDim2.new(0,2,1,0),BackgroundColor3=Color3.fromRGB(38,41,65),BorderColor3=Color3.fromRGB(255,255,255),Parent=aI})aI.InputBegan:connect(function(aH)if aH.UserInputType.Name=="MouseButton1"then aD=true;X=aI.AbsolutePosition.X+aI.AbsoluteSize.X-aI.AbsolutePosition.X;X=math.clamp((aH.Position.X-aI.AbsolutePosition.X)/X,0,0.995)_:SetColor(Color3.fromHSV(1-X,aB,aC))end end)aI.InputEnded:connect(function(aH)if aH.UserInputType.Name=="MouseButton1"then aD=false end end)local aL=y:Create("ImageLabel",{ZIndex=4,Position=UDim2.new(0,6,0,6),Size=UDim2.new(1,_.trans and-28 or-12,1,-28),BackgroundColor3=Color3.fromHSV(aA,1,1),BorderColor3=Color3.new(),Image="rbxassetid://4155801252",ClipsDescendants=true,Parent=_.mainHolder})local aM=y:Create("Frame",{ZIndex=4,AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(aB,0,1-aC,0),Size=UDim2.new(0,4,0,4),Rotation=45,BackgroundColor3=Color3.fromRGB(255,255,255),Parent=aL})aL.InputBegan:connect(function(aH)if aH.UserInputType.Name=="MouseButton1"then aE=true;X=aL.AbsolutePosition.X+aL.AbsoluteSize.X-aL.AbsolutePosition.X;Y=aL.AbsolutePosition.Y+aL.AbsoluteSize.Y-aL.AbsolutePosition.Y;X=math.clamp((aH.Position.X-aL.AbsolutePosition.X)/X,0.005,1)Y=math.clamp((aH.Position.Y-aL.AbsolutePosition.Y)/Y,0,0.995)_:SetColor(Color3.fromHSV(aA,X,1-Y))end end)y:AddConnection(inputService.InputChanged,function(aH)if aH.UserInputType.Name=="MouseMovement"then if aE then X=aL.AbsolutePosition.X+aL.AbsoluteSize.X-aL.AbsolutePosition.X;Y=aL.AbsolutePosition.Y+aL.AbsoluteSize.Y-aL.AbsolutePosition.Y;X=math.clamp((aH.Position.X-aL.AbsolutePosition.X)/X,0.005,1)Y=math.clamp((aH.Position.Y-aL.AbsolutePosition.Y)/Y,0,0.995)_:SetColor(Color3.fromHSV(aA,X,1-Y))elseif aD then X=aI.AbsolutePosition.X+aI.AbsoluteSize.X-aI.AbsolutePosition.X;X=math.clamp((aH.Position.X-aI.AbsolutePosition.X)/X,0,0.995)_:SetColor(Color3.fromHSV(1-X,aB,aC))elseif aF then _:SetTrans(1-(aH.Position.Y-aG.AbsolutePosition.Y)/aG.AbsoluteSize.Y)end end end)aL.InputEnded:connect(function(aH)if aH.UserInputType.Name=="MouseButton1"then aE=false end end)function _:updateVisuals(aN)aA,aB,aC=Color3.toHSV(aN)aA=aA==0 and 1 or aA;aL.BackgroundColor3=Color3.fromHSV(aA,1,1)if _.trans then aG.ImageColor3=Color3.fromHSV(aA,1,1)end;aK.Position=UDim2.new(1-aA,0,0,0)aM.Position=UDim2.new(aB,0,1-aC,0)end;return _ end;local function aO(_,a3)_.hasInit=true;if _.sub then _.main=_:getMain()else _.main=y:Create("Frame",{LayoutOrder=_.position,Size=UDim2.new(1,0,0,20),BackgroundTransparency=1,Parent=a3})_.title=y:Create("TextLabel",{Position=UDim2.new(0,6,0,0),Size=UDim2.new(1,-12,1,0),BackgroundTransparency=1,Text=_.text,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.fromRGB(210,210,210),TextXAlignment=Enum.TextXAlignment.Left,Parent=_.main})end;_.visualize=y:Create(_.sub and"TextButton"or"Frame",{Position=UDim2.new(1,-(_.subpos or 0)-24,0,4),Size=UDim2.new(0,18,0,12),SizeConstraint=Enum.SizeConstraint.RelativeYY,BackgroundColor3=_.color,BorderColor3=Color3.new(),Parent=_.main})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.new(),ImageTransparency=0.6,Parent=_.visualize})y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.visualize})y:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=_.visualize})local ah=_.sub and _.visualize or _.main;if _.sub then _.visualize.Text=""_.visualize.AutoButtonColor=false end;ah.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then if not _.mainHolder then az(_)end;if y.popup==_ then y.popup:Close()return end;if y.popup then y.popup:Close()end;_.open=true;local as=_.main.AbsolutePosition;_.mainHolder.Position=UDim2.new(0,as.X+36+(_.trans and-16 or 0),0,as.Y+56)_.mainHolder.Visible=true;y.popup=_;_.visualize.BorderColor3=y.flags["Menu Accent Color"]end;if a8.UserInputType.Name=="MouseMovement"then if not y.warning and not y.slider then _.visualize.BorderColor3=y.flags["Menu Accent Color"]end;if _.tip then y.tooltip.Text=_.tip;y.tooltip.Size=UDim2.new(0,textService:GetTextSize(_.tip,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X,0,20)end end end)ah.InputChanged:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if _.tip then y.tooltip.Position=UDim2.new(0,a8.Position.X+26,0,a8.Position.Y+36)end end end)ah.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseMovement"then if not _.open then _.visualize.BorderColor3=Color3.new()end;y.tooltip.Position=UDim2.new(2)end end)function _:SetColor(aP,aa)if typeof(aP)=="table"then aP=Color3.new(aP[1],aP[2],aP[3])end;aP=aP or Color3.new(1,1,1)if self.mainHolder then self:updateVisuals(aP)end;_.visualize.BackgroundColor3=aP;y.flags[self.flag]=aP;self.color=aP;if not aa then self.callback(aP)end end;if _.trans then function _:SetTrans(O,aQ)O=math.clamp(tonumber(O)or 0,0,1)if self.transSlider then self.transSlider.Position=UDim2.new(0,0,O,0)end;self.trans=O;y.flags[self.flag.." Transparency"]=1-O;self.calltrans(O)end;_:SetTrans(_.trans)end;delay(1,function()if y then _:SetColor(_.color)end end)function _:Close()y.popup=nil;self.open=false;self.mainHolder.Visible=false;_.visualize.BorderColor3=Color3.new()end end;function y:AddTab(aR,as)local aS={canInit=true,columns={},title=tostring(aR)}table.insert(self.tabs,as or#self.tabs+1,aS)function aS:AddColumn()local aT={sections={},position=#self.columns,canInit=true,tab=self}table.insert(self.columns,aT)function aT:AddSection(aR)local aU={title=tostring(aR),options={},canInit=true,column=self}table.insert(self.sections,aU)function aU:AddLabel(aV)local _={text=aV}_.section=self;_.type="label"_.position=#self.options;_.canInit=true;table.insert(self.options,_)if y.hasInit and self.hasInit then a2(_,self.content)else _.Init=a2 end;return _ end;function aU:AddDivider(aV)local _={text=aV}_.section=self;_.type="divider"_.position=#self.options;_.canInit=true;table.insert(self.options,_)if y.hasInit and self.hasInit then a4(_,self.content)else _.Init=a4 end;return _ end;function aU:AddToggle(_)_=typeof(_)=="table"and _ or{}_.section=self;_.text=tostring(_.text)_.state=typeof(_.state)=="boolean"and _.state or false;_.callback=typeof(_.callback)=="function"and _.callback or function()end;_.type="toggle"_.position=#self.options;_.flag=(y.flagprefix and y.flagprefix.." "or"")..(_.flag or _.text)_.subcount=0;_.canInit=_.canInit~=nil and _.canInit or true;_.tip=_.tip and tostring(_.tip)_.style=_.style==2;y.flags[_.flag]=_.state;table.insert(self.options,_)y.options[_.flag]=_;function _:AddColor(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddColor(aW)end;function _:AddBind(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddBind(aW)end;function _:AddList(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddList(aW)end;function _:AddSlider(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddSlider(aW)end;if y.hasInit and self.hasInit then a5(_,self.content)else _.Init=a5 end;return _ end;function aU:AddButton(_)_=typeof(_)=="table"and _ or{}_.section=self;_.text=tostring(_.text)_.callback=typeof(_.callback)=="function"and _.callback or function()end;_.type="button"_.position=#self.options;_.flag=(y.flagprefix and y.flagprefix.." "or"")..(_.flag or _.text)_.subcount=0;_.canInit=_.canInit~=nil and _.canInit or true;_.tip=_.tip and tostring(_.tip)table.insert(self.options,_)y.options[_.flag]=_;function _:AddBind(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()_.main.Size=UDim2.new(1,0,0,40)return _.main end;self.subcount=self.subcount+1;return aU:AddBind(aW)end;function _:AddColor(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()_.main.Size=UDim2.new(1,0,0,40)return _.main end;self.subcount=self.subcount+1;return aU:AddColor(aW)end;if y.hasInit and self.hasInit then ab(_,self.content)else _.Init=ab end;return _ end;function aU:AddBind(_)_=typeof(_)=="table"and _ or{}_.section=self;_.text=tostring(_.text)_.key=_.key and _.key.Name or _.key or"none"_.nomouse=typeof(_.nomouse)=="boolean"and _.nomouse or false;_.mode=typeof(_.mode)=="string"and(_.mode=="toggle"or _.mode=="hold"and _.mode)or"toggle"_.callback=typeof(_.callback)=="function"and _.callback or function()end;_.type="bind"_.position=#self.options;_.flag=(y.flagprefix and y.flagprefix.." "or"")..(_.flag or _.text)_.canInit=_.canInit~=nil and _.canInit or true;_.tip=_.tip and tostring(_.tip)table.insert(self.options,_)y.options[_.flag]=_;if y.hasInit and self.hasInit then ac(_,self.content)else _.Init=ac end;return _ end;function aU:AddSlider(_)_=typeof(_)=="table"and _ or{}_.section=self;_.text=tostring(_.text)_.min=typeof(_.min)=="number"and _.min or 0;_.max=typeof(_.max)=="number"and _.max or 0;_.value=_.min<0 and 0 or math.clamp(typeof(_.value)=="number"and _.value or _.min,_.min,_.max)_.callback=typeof(_.callback)=="function"and _.callback or function()end;_.float=typeof(_.value)=="number"and _.float or 1;_.suffix=_.suffix and tostring(_.suffix)or""_.textpos=_.textpos==2;_.type="slider"_.position=#self.options;_.flag=(y.flagprefix and y.flagprefix.." "or"")..(_.flag or _.text)_.subcount=0;_.canInit=_.canInit~=nil and _.canInit or true;_.tip=_.tip and tostring(_.tip)y.flags[_.flag]=_.value;table.insert(self.options,_)y.options[_.flag]=_;function _:AddColor(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddColor(aW)end;function _:AddBind(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddBind(aW)end;if y.hasInit and self.hasInit then al(_,self.content)else _.Init=al end;return _ end;function aU:AddList(_)_=typeof(_)=="table"and _ or{}_.section=self;_.text=tostring(_.text)_.values=typeof(_.values)=="table"and _.values or{}_.callback=typeof(_.callback)=="function"and _.callback or function()end;_.multiselect=typeof(_.multiselect)=="boolean"and _.multiselect or false;_.value=_.multiselect and(typeof(_.value)=="table"and _.value or{})or tostring(_.value or _.values[1]or"")if _.multiselect then for T,a1 in next,_.values do _.value[a1]=false end end;_.max=_.max or 4;_.open=false;_.type="list"_.position=#self.options;_.labels={}_.flag=(y.flagprefix and y.flagprefix.." "or"")..(_.flag or _.text)_.subcount=0;_.canInit=_.canInit~=nil and _.canInit or true;_.tip=_.tip and tostring(_.tip)y.flags[_.flag]=_.value;table.insert(self.options,_)y.options[_.flag]=_;function _:AddValue(O,a9)if self.multiselect then self.values[O]=a9 else table.insert(self.values,O)end end;function _:AddColor(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddColor(aW)end;function _:AddBind(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddBind(aW)end;if y.hasInit and self.hasInit then an(_,self.content)else _.Init=an end;return _ end;function aU:AddBox(_)_=typeof(_)=="table"and _ or{}_.section=self;_.text=tostring(_.text)_.value=tostring(_.value or"")_.callback=typeof(_.callback)=="function"and _.callback or function()end;_.type="box"_.position=#self.options;_.flag=(y.flagprefix and y.flagprefix.." "or"")..(_.flag or _.text)_.canInit=_.canInit~=nil and _.canInit or true;_.tip=_.tip and tostring(_.tip)y.flags[_.flag]=_.value;table.insert(self.options,_)y.options[_.flag]=_;if y.hasInit and self.hasInit then aw(_,self.content)else _.Init=aw end;return _ end;function aU:AddColor(_)_=typeof(_)=="table"and _ or{}_.section=self;_.text=tostring(_.text)_.color=typeof(_.color)=="table"and Color3.new(_.color[1],_.color[2],_.color[3])or _.color or Color3.new(1,1,1)_.callback=typeof(_.callback)=="function"and _.callback or function()end;_.calltrans=typeof(_.calltrans)=="function"and _.calltrans or _.calltrans==1 and _.callback or function()end;_.open=false;_.trans=tonumber(_.trans)_.subcount=1;_.type="color"_.position=#self.options;_.flag=(y.flagprefix and y.flagprefix.." "or"")..(_.flag or _.text)_.canInit=_.canInit~=nil and _.canInit or true;_.tip=_.tip and tostring(_.tip)y.flags[_.flag]=_.color;table.insert(self.options,_)y.options[_.flag]=_;function _:AddColor(aW)aW=typeof(aW)=="table"and aW or{}aW.sub=true;aW.subpos=self.subcount*24;function aW:getMain()return _.main end;self.subcount=self.subcount+1;return aU:AddColor(aW)end;if _.trans then y.flags[_.flag.." Transparency"]=_.trans end;if y.hasInit and self.hasInit then aO(_,self.content)else _.Init=aO end;return _ end;function aU:SetTitle(aX)self.title=tostring(aX)if self.titleText then self.titleText.Text=tostring(aX)self.titleText.Size=UDim2.new(0,textService:GetTextSize(self.title,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X+10,0,3)end end;function aU:Init()if self.hasInit then return end;self.hasInit=true;self.main=y:Create("Frame",{BackgroundColor3=Color3.fromRGB(30,30,30),BorderColor3=Color3.new(),Parent=aT.main})self.content=y:Create("Frame",{Size=UDim2.new(1,0,1,0),BackgroundColor3=Color3.fromRGB(30,30,30),BorderColor3=Color3.fromRGB(60,60,60),BorderMode=Enum.BorderMode.Inset,Parent=self.main})y:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=self.main})table.insert(y.theme,y:Create("Frame",{Size=UDim2.new(1,0,0,1),BackgroundColor3=y.flags["Menu Accent Color"],BorderSizePixel=0,BorderMode=Enum.BorderMode.Inset,Parent=self.main}))local aq=y:Create("UIListLayout",{HorizontalAlignment=Enum.HorizontalAlignment.Center,SortOrder=Enum.SortOrder.LayoutOrder,Padding=UDim.new(0,2),Parent=self.content})y:Create("UIPadding",{PaddingTop=UDim.new(0,12),Parent=self.content})self.titleText=y:Create("TextLabel",{AnchorPoint=Vector2.new(0,0.5),Position=UDim2.new(0,12,0,0),Size=UDim2.new(0,textService:GetTextSize(self.title,15,Enum.Font.Code,Vector2.new(9e9,9e9)).X+10,0,3),BackgroundColor3=Color3.fromRGB(30,30,30),BorderSizePixel=0,Text=self.title,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),Parent=self.main})aq.Changed:connect(function()self.main.Size=UDim2.new(1,0,0,aq.AbsoluteContentSize.Y+16)end)for n,_ in next,self.options do if _.canInit then _.Init(_,self.content)end end end;if y.hasInit and self.hasInit then aU:Init()end;return aU end;function aT:Init()if self.hasInit then return end;self.hasInit=true;self.main=y:Create("ScrollingFrame",{ZIndex=2,Position=UDim2.new(0,6+self.position*239,0,2),Size=UDim2.new(0,233,1,-4),BackgroundTransparency=1,BorderSizePixel=0,ScrollBarImageColor3=Color3.fromRGB(),ScrollBarThickness=4,VerticalScrollBarInset=Enum.ScrollBarInset.ScrollBar,ScrollingDirection=Enum.ScrollingDirection.Y,Visible=false,Parent=y.columnHolder})local aq=y:Create("UIListLayout",{HorizontalAlignment=Enum.HorizontalAlignment.Center,SortOrder=Enum.SortOrder.LayoutOrder,Padding=UDim.new(0,12),Parent=self.main})y:Create("UIPadding",{PaddingTop=UDim.new(0,8),PaddingLeft=UDim.new(0,2),PaddingRight=UDim.new(0,2),Parent=self.main})aq.Changed:connect(function()self.main.CanvasSize=UDim2.new(0,0,0,aq.AbsoluteContentSize.Y+14)end)for n,aU in next,self.sections do if aU.canInit and#aU.options>0 then aU:Init()end end end;if y.hasInit and self.hasInit then aT:Init()end;return aT end;function aS:Init()if self.hasInit then return end;self.hasInit=true;local aY=textService:GetTextSize(self.title,18,Enum.Font.Code,Vector2.new(9e9,9e9)).X+10;self.button=y:Create("TextLabel",{Position=UDim2.new(0,y.tabSize,0,22),Size=UDim2.new(0,aY,0,30),BackgroundTransparency=1,Text=self.title,TextColor3=Color3.new(1,1,1),TextSize=15,Font=Enum.Font.Code,TextWrapped=true,ClipsDescendants=true,Parent=y.main})y.tabSize=y.tabSize+aY;self.button.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then y:selectTab(self)end end)for n,aT in next,self.columns do if aT.canInit then aT:Init()end end end;if self.hasInit then aS:Init()end;return aS end;function y:AddWarning(aZ)aZ=typeof(aZ)=="table"and aZ or{}aZ.text=tostring(aZ.text)aZ.type=aZ.type=="confirm"and"confirm"or""local a_;function aZ:Show()y.warning=aZ;if aZ.main and aZ.type==""then return end;if y.popup then y.popup:Close()end;if not aZ.main then aZ.main=y:Create("TextButton",{ZIndex=2,Size=UDim2.new(1,0,1,0),BackgroundTransparency=0.6,BackgroundColor3=Color3.new(),BorderSizePixel=0,Text="",AutoButtonColor=false,Parent=y.main})aZ.message=y:Create("TextLabel",{ZIndex=2,Position=UDim2.new(0,20,0.5,-60),Size=UDim2.new(1,-40,0,40),BackgroundTransparency=1,TextSize=16,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),TextWrapped=true,RichText=true,Parent=aZ.main})if aZ.type=="confirm"then local b0=y:Create("TextLabel",{ZIndex=2,Position=UDim2.new(0.5,-105,0.5,-10),Size=UDim2.new(0,100,0,20),BackgroundColor3=Color3.fromRGB(40,40,40),BorderColor3=Color3.new(),Text="Yes",TextSize=16,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),Parent=aZ.main})y:Create("ImageLabel",{ZIndex=2,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.new(),ImageTransparency=0.8,Parent=b0})y:Create("ImageLabel",{ZIndex=2,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=b0})local b1=y:Create("TextLabel",{ZIndex=2,Position=UDim2.new(0.5,5,0.5,-10),Size=UDim2.new(0,100,0,20),BackgroundColor3=Color3.fromRGB(40,40,40),BorderColor3=Color3.new(),Text="No",TextSize=16,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),Parent=aZ.main})y:Create("ImageLabel",{ZIndex=2,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.new(),ImageTransparency=0.8,Parent=b1})y:Create("ImageLabel",{ZIndex=2,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=b1})b0.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then a_=true end end)b1.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then a_=false end end)else local b0=y:Create("TextLabel",{ZIndex=2,Position=UDim2.new(0.5,-50,0.5,-10),Size=UDim2.new(0,100,0,20),BackgroundColor3=Color3.fromRGB(30,30,30),BorderColor3=Color3.new(),Text="OK",TextSize=16,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),Parent=aZ.main})y:Create("ImageLabel",{ZIndex=2,Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2454009026",ImageColor3=Color3.new(),ImageTransparency=0.8,Parent=b0})y:Create("ImageLabel",{ZIndex=2,AnchorPoint=Vector2.new(0.5,0.5),Position=UDim2.new(0.5,0,0.5,0),Size=UDim2.new(1,-2,1,-2),BackgroundTransparency=1,Image="rbxassetid://3570695787",ImageColor3=Color3.fromRGB(50,50,50),Parent=b0})b0.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then a_=true end end)end end;aZ.main.Visible=true;aZ.message.Text=aZ.text;repeat wait()until a_~=nil;spawn(aZ.Close)y.warning=nil;return a_ end;function aZ:Close()a_=nil;if not aZ.main then return end;aZ.main.Visible=false end;return aZ end;function y:Close()self.open=not self.open;if self.open then inputService.MouseIconEnabled=false else inputService.MouseIconEnabled=self.mousestate end;if self.main then if self.popup then self.popup:Close()end;self.main.Visible=self.open;self.cursor.Visible=self.open;self.cursor1.Visible=self.open end end;function y:Init()if self.hasInit then return end;self.hasInit=true;self.base=y:Create("ScreenGui",{IgnoreGuiInset=true})if runService:IsStudio()then self.base.Parent=script.Parent.Parent elseif syn and syn.request then syn.protect_gui(self.base)self.base.Parent=game:GetService"CoreGui"else self.base.Parent=gethui()end;self.main=self:Create("ImageButton",{AutoButtonColor=false,Position=UDim2.new(0,100,0,46),Size=UDim2.new(0,90,0,90),BackgroundColor3=Color3.fromRGB(20,20,20),BorderColor3=Color3.new(),ScaleType=Enum.ScaleType.Tile,Modal=true,Visible=false,Parent=self.base})local b2=self:Create("Frame",{Size=UDim2.new(1,0,0,50),BackgroundColor3=Color3.fromRGB(30,30,30),BorderColor3=Color3.new(),Parent=self.main})self:Create("TextLabel",{Position=UDim2.new(0,6,0,-1),Size=UDim2.new(0,0,0,20),BackgroundTransparency=1,Text=tostring(self.title),Font=Enum.Font.Code,TextSize=18,TextColor3=Color3.new(1,1,1),TextXAlignment=Enum.TextXAlignment.Left,Parent=self.main})table.insert(y.theme,self:Create("Frame",{Size=UDim2.new(1,0,0,1),Position=UDim2.new(0,0,0,24),BackgroundColor3=y.flags["Menu Accent Color"],BorderSizePixel=0,Parent=self.main}))y:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,ImageColor3=Color3.new(),ImageTransparency=0.4,Parent=b2})self.tabHighlight=self:Create("Frame",{BackgroundColor3=y.flags["Menu Accent Color"],BorderSizePixel=0,Parent=self.main})table.insert(y.theme,self.tabHighlight)self.columnHolder=self:Create("Frame",{Position=UDim2.new(0,5,0,55),Size=UDim2.new(1,-10,1,-60),BackgroundTransparency=1,Parent=self.main})self.cursor=self:Create("Triangle",{Color=Color3.fromRGB(180,180,180),Transparency=0.6})self.cursor1=self:Create("Triangle",{Color=Color3.fromRGB(240,240,240),Transparency=0.6})self.tooltip=self:Create("TextLabel",{ZIndex=2,BackgroundTransparency=1,BorderSizePixel=0,TextSize=15,Font=Enum.Font.Code,TextColor3=Color3.new(1,1,1),Visible=true,Parent=self.base})self:Create("Frame",{AnchorPoint=Vector2.new(0.5,0),Position=UDim2.new(0.5,0,0,0),Size=UDim2.new(1,10,1,0),Style=Enum.FrameStyle.RobloxRound,Parent=self.tooltip})self:Create("ImageLabel",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.fromRGB(60,60,60),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=self.main})self:Create("ImageLabel",{Size=UDim2.new(1,-2,1,-2),Position=UDim2.new(0,1,0,1),BackgroundTransparency=1,Image="rbxassetid://2592362371",ImageColor3=Color3.new(),ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(2,2,62,62),Parent=self.main})b2.InputBegan:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then D=self.main;z=true;B=a8.Position;C=D.Position;if y.popup then y.popup:Close()end end end)b2.InputChanged:connect(function(a8)if z and a8.UserInputType.Name=="MouseMovement"then A=a8 end end)b2.InputEnded:connect(function(a8)if a8.UserInputType.Name=="MouseButton1"then z=false end end)function self:selectTab(aS)if self.currentTab==aS then return end;if y.popup then y.popup:Close()end;if self.currentTab then self.currentTab.button.TextColor3=Color3.fromRGB(255,255,255)for n,aT in next,self.currentTab.columns do aT.main.Visible=false end end;self.main.Size=UDim2.new(0,16+(#aS.columns<2 and 2 or#aS.columns)*239,0,600)self.currentTab=aS;aS.button.TextColor3=y.flags["Menu Accent Color"]self.tabHighlight:TweenPosition(UDim2.new(0,aS.button.Position.X.Offset,0,50),"Out","Quad",0.2,true)self.tabHighlight:TweenSize(UDim2.new(0,aS.button.AbsoluteSize.X,0,-1),"Out","Quad",0.1,true)for n,aT in next,aS.columns do aT.main.Visible=true end end;spawn(function()while y do wait(1)local b3=self:GetConfigs()pcall(function()for n,V in next,b3 do if not table.find(self.options["Config List"].values,V)then self.options["Config List"]:AddValue(V)end end;for T,V in next,self.options["Config List"].values do if not table.find(b3,V)then self.options["Config List"]:RemoveValue(V)end end end)end end)for n,aS in next,self.tabs do if aS.canInit then aS:Init()self:selectTab(aS)end end;self:AddConnection(inputService.InputEnded,function(a8)if a8.UserInputType.Name=="MouseButton1"and self.slider then self.slider.slider.BorderColor3=Color3.new()self.slider=nil end end)self:AddConnection(inputService.InputChanged,function(a8)if self.open then if a8.UserInputType.Name=="MouseMovement"then if self.cursor then local b4=inputService:GetMouseLocation()local b5=Vector2.new(b4.X,b4.Y)self.cursor.PointA=b5;self.cursor.PointB=b5+Vector2.new(12,12)self.cursor.PointC=b5+Vector2.new(12,12)self.cursor1.PointA=b5;self.cursor1.PointB=b5+Vector2.new(11,11)self.cursor1.PointC=b5+Vector2.new(11,11)end;if self.slider then self.slider:SetValue(self.slider.min+(a8.Position.X-self.slider.slider.AbsolutePosition.X)/self.slider.slider.AbsoluteSize.X*(self.slider.max-self.slider.min))end end;if a8==A and z and y.draggable then local b6=a8.Position-B;local b7=C.Y.Offset+b6.Y<-36 and-36 or C.Y.Offset+b6.Y;D:TweenPosition(UDim2.new(C.X.Scale,C.X.Offset+b6.X,C.Y.Scale,b7),"Out","Quint",0.1,true)end end end)if not getgenv().silent then delay(1,function()self:Close()end)end end end;c_assert(library.AddTab,"AddTab is nil | UI Library failed")local b8=library:AddTab("Main")local b9=library:AddTab("Visuals")local ba=library:AddTab("Character")local bb=library:AddTab("Weapons")local bc=library:AddTab("Settings")local bd=b8:AddColumn()local be=b8:AddColumn()local bf=b9:AddColumn()local bg=b9:AddColumn()local bh=bb:AddColumn()local bi=bb:AddColumn()local bj=ba:AddColumn()local bk=bc:AddColumn()local bl=bc:AddColumn()local bm=bd:AddSection("Aimbot")local bn=bd:AddSection("Silent Aim")local bo=bf:AddSection("ESP")local bp=bg:AddSection("World")local bq=bh:AddSection("Gun")local br=bi:AddSection("Grenades")local bs=bg:AddSection("Crosshair")local bt=be:AddSection("Prediction")local bu=be:AddSection("Rage")local bv=bg:AddSection("Arm Chams")local bw=bi:AddSection("Knife Aura")local bx=bj:AddSection("Character Mods")local by=bj:AddSection("Camera")local bz=bj:AddSection("Anti-Aim")local bA=bj:AddSection("Other Players")local bB=bk:AddSection("Settings")local bC=bl:AddSection("Create")local bD=bl:AddSection("Load")local bE=bl:AddSection("Save")bu:AddToggle({text='Resolver',flag="Resolver"})by:AddToggle({text="Enable",flag="ModCamera"})by:AddSlider({text="Camera X",flag="CameraX",min=-15,max=15})by:AddSlider({text="Camera Y",flag="CameraY",min=-15,max=15})by:AddSlider({text="Camera Z",flag="CameraZ",min=-15,max=15})bz:AddToggle({text="Enabled",flag="AntiAim"})bz:AddList({text="Pitch",flag="AntiaimPitch",values={"Up","Down","Random"}})bz:AddList({text="Yaw",flag="AntiaimYaw",values={"Left","Right","Random"}})bz:AddToggle({text="Movement AA",flag="OAA"}):AddSlider({text="Speed",flag="OAASpeed",min=0,max=300})bz:AddSlider({text="OAA Radius",flag="OAARadius",min=0,max=500})bz:AddList({text="OAA Method",flag="OAAMethod",values={"Circular","Spring"}})br:AddToggle({text="Grenade TP",flag="GrenadeTP"})br:AddToggle({text="Custom Fuse",flag="CustomFuse"}):AddSlider({text="TP Fuse time",flag="GTPFuse",min=0,max=5,float=0.005})br:AddToggle({text="Instant Throw",flag="InstantThrow"})br:AddToggle({text="Frag Bot",flag="FragBot"})SpaceDown=false;c.InputBegan:Connect(function(bF)if bF.KeyCode==Enum.KeyCode.Space then SpaceDown=true end end)c.InputEnded:Connect(function(bF)if bF.KeyCode==Enum.KeyCode.Space then SpaceDown=false end end)bx:AddToggle({text="Bunny Hop",flag="BunnyHop"}):AddSlider({text="Speed",flag="BunnyHopSpeed",min=1,max=70})bx:AddToggle({text="Fly",flag="Fly"}):AddSlider({text="Fly Speed",flag="FlySpeed",min=10,max=200})bw:AddToggle({text="Knife Aura",flag="KnifeAura"}):AddSlider({text="Knife Aura Distance",flag="KnifeAuraDistance",min=0,max=25})bw:AddToggle({text="Knife Held",flag="KnifeHeld"})bx:AddToggle({text="No Fall Damage",flag="NoFallDamage"})bx:AddToggle({text="Jump Power",flag="JumpPower"}):AddSlider({text="Jump Power",flag="JumpPowerValue",min=1,max=100})oldj=client.char.jump;client.char.jump=function(bG,bH)if library.flags.JumpPower then return oldj(bG,library.flags.JumpPowerValue)end;return oldj(bG,bH)end;bA:AddToggle{text="Hitbox Expander",flag="HitboxExpander"}:AddSlider({text="Size",flag="HitboxExpanderSize",min=1,max=5})bq:AddToggle({text="Modify Recoil",flag="RecoilOn"}):AddSlider({text="Recoil %",flag="Recoil",min=0,max=1,float=.001})bq:AddToggle({text="Firerate Addition",flag="CustomFirerateOn"}):AddSlider({text="Firerate Addition",flag="CustomFirerate",min=0,max=2500})bq:AddToggle({text="Reload Speed",flag="ReloadSpeedOn"}):AddSlider({text="Reload Speed",flag="ReloadSpeed",min=0,max=1,float=.001})bq:AddToggle({text="No Animations",flag="NoAnim"})bq:AddToggle({text="No Knife Bob/Sway",flag="NoKnifeBob"})bq:AddToggle({text="No Camera Sway",flag="NoCamSway"})bq:AddToggle({text="No Spread",flag="NoSpread"})bq:AddToggle({text="No Gun Bob",flag="NoGunBob"})bq:AddToggle({text="All Firemodes",flag="FireModes"})bq:AddList({text="Default Firemode",flag="DefaultFiremode",values={'Auto','Semi','Burst'}})bq:AddToggle({text="Fake Equip",flag="FakeEquip"}):AddList({values={"Primary","Secondary","Knife"},flag="FakeEquipListItem"})bC:AddBox({text="Config Name",skipflag=true})bC:AddButton({text="Create",callback=function()library:GetConfigs()writefile(library.foldername.."/"..library.flags['Config Name']..library.fileext,"{}")library.options['Config List']:AddValue(library.flags['Config Name'])library:SaveConfig(library.flags['Config List'])end})bD:AddList({text="Configs",skipflag=true,value="",flag="Config List",values=library:GetConfigs()})bD:AddButton({text="Load",callback=function()library:LoadConfig(library.flags['Config List'])end})bD:AddButton({text="Save",callback=function()library:SaveConfig(library.flags['Config List'])end})bD:AddButton({text="Delete",callback=function()delfile(library.foldername.."/"..library.flags['Config List']..library.fileext)end})bD:AddButton({text="Set Default",callback=function()library:GetConfigs()writefile(library.foldername.."/".."default"..library.fileext,"{}")library.options['Config List']:AddValue("default")library:SaveConfig("default")end})local bI;local bI=loadstring(game:HttpGet("http://ducksite.xyz/ceri/esp_library.lua"))()bo:AddToggle({text="Enabled",callback=function(bJ)bI.settings.enabled=bJ end}):AddSlider({text="Refresh Rate",min=0,max=180,callback=function(bJ)bI.settings.refreshrate=bJ end})bo:AddToggle({text="Team Check",state=false,callback=function(bK)bI.settings.teamcheck=bK end})bo:AddToggle({text="Team Color",state=true,callback=function(bK)bI.settings.teamcolor=bK end})bo:AddToggle({text="Names",state=true,callback=function(bK)bI.settings.names=bK end}):AddColor({color=Color3.new(1,1,1),callback=function(bK)bI.settings.namescolor=bK end})bo:AddToggle({text="Names Outline",state=false,callback=function(bK)bI.settings.namesoutline=bK end})bo:AddToggle({text="Distance",state=true,callback=function(bK)bI.settings.distance=bK end}):AddColor({color=Color3.new(1,1,1),callback=function(bK)bI.settings.distancecolor=bK end})bo:AddToggle({text="Distance Outline",state=false,callback=function(bK)bI.settings.distanceoutline=bK end})bo:AddToggle({text="Boxes",state=true,callback=function(bK)bI.settings.boxes=bK end}):AddColor({color=Color3.new(1,1,1),callback=function(bK)bI.settings.boxescolor=bK end})bo:AddToggle({text="Boxes Outline",state=false,callback=function(bK)bI.settings.boxesoutline=bK end})bo:AddToggle({text="Boxes Fill",state=false,callback=function(bK)bI.settings.boxesfill=bK end}):AddColor({color=Color3.new(1,1,1),trans=0.5,flag="boxesfillclr",callback=function(bK)bI.settings.boxesfillcolor=bK;bI.settings.boxesfilltrans=library.flags["boxesfillclr Transparency"]end})local bL=bo:AddToggle({text="Healthbars",state=false,callback=function(bK)bI.settings.healthbars=bK end})bL:AddColor({color=Color3.new(0,1,0),callback=function(bK)bI.settings.healthbarscolor=bK end})bL:AddSlider({text="X Offset",min=0,max=10,value=2,callback=function(bK)bI.settings.healthbarsoffset=bK end})bo:AddToggle({text="Healthbars Outline",state=false,callback=function(bK)bI.settings.healthbarsoutline=bK end})local bM=bo:AddToggle({text="Tracers",state=false,callback=function(bK)bI.settings.tracers=bK end})bM:AddColor({color=Color3.new(1,1,1),callback=function(bK)bI.settings.tracerscolor=bK end})bM:AddList({values={"Top","Left","Right","Bottom","Center","Mouse"},value="Bottom",callback=function(bK)bI.settings.tracersorigin=bK end})bo:AddList({text="Text Font",values={"UI","System","Plex","Monospace"},value="UI",callback=function(bK)bI.settings.textfont=Drawing.Fonts[bK]end})bo:AddSlider({text="Text Font Size",min=13,max=18,value=18,suffix="px",callback=function(bK)bI.settings.textsize=bK end})bm:AddToggle({text="Enabled",flag="AimbotOn"}):AddSlider({text="Smoothness",flag="Smoothness",min=4,max=20})bm:AddToggle({text="Show FOV",flag="FOVOn"}):AddColor({text="Color",flag="FOVColor",trans=0.7})bm:AddSlider({text="Circle Radius",flag="FOV",min=15,max=300})bm:AddSlider({text="Circle Sides",flag="FOVSides",min=6,max=180})bm:AddSlider({text="Circle Thickness",flag="FOVThickness",min=1,max=5,float=.01})bm:AddToggle({text="Autowall",flag="Autowall"})bm:AddList({text="Aim Part",flag="AimPart",values={'head','torso'}})bn:AddToggle({text="Enabled",flag="SilentAimOn"})bn:AddSlider({text="Headshot Chance",flag="HeadshotChance",min=0,max=100})bn:AddToggle({text="Show FOV",flag="SilentFOVOn"}):AddSlider({text="FOV",flag="SilentFOV",min=15,max=300})bn:AddToggle({text="Ignore FOV",flag="IgnoreSilentAimFOV"})bn:AddSlider({text="FOV Sides",flag="SilentFOVSides",min=6,max=180})bn:AddSlider({text="FOV Thickness",flag="SilentFOVThickness",min=1,max=5,float=.01})bn:AddColor({text="FOV Color",flag="SilentFOVColor"})bt:AddToggle({text="Movement Prediction",flag="MovementPrediction"})bt:AddToggle({text="Drop Prediction",flag="DropPrediction"})bu:AddToggle({text="Enabled",flag="AutoShoot"}):AddList({text="Method",flag="AutoShootMethod",values={"Currentgun:shoot()","Newbullets & bullethit"}})bu:AddToggle({text="Newbullets Particles",flag="Particles"})bu:AddSlider({text="Lifetime",flag="ParticleLifetime",min=0,max=4,float=0.01})bu:AddSlider({text="Bloom",flag="Bloom",min=0,max=1,float=0.001})bu:AddSlider({text="Brightness",flag="ParticleBrightness",min=0,max=1000})bu:AddColor({text="Color",flag="ParticleColor"})bB:AddBind({text="Toggle UI",key="RightShift",callback=function()library:Close()end})bB:AddButton({text="Rejoin Game",callback=function()game:GetService('TeleportService'):Teleport(292439477)end})bB:AddToggle({text="Lag Server",flag="LagServer"}):AddSlider({text="Data Per Frame",flag="DataPerFrame",min=1,max=60})LogService=game:GetService("LogService")b.RenderStepped:Connect(function()for m=1,library.flags.DataPerFrame do if library.flags.LagServer then LogService:RequestServerHttpResult()LogService:RequestServerOutput()end end end)function client:IsAlive(bN)if bN==e then return client.char.alive else if client.hud:getplayerhealth(bN)>0 then return true end end;return false end;local bO=Vector3.new()local bP=bO.Dot;function client:trajectory(L,y,Q,P,C)local D=-y;local bQ=Q-L;local y=bP(D,D)local z=4*bP(bQ,bQ)local H=4*(bP(D,bQ)+P*P)/(2*y)local n=(H*H-z/y)^0.5;local Q,bR=H-n,H+n;if not(Q>0)then Q=bR end;Q=Q^0.5;return D*Q/2+(C or bO)+bQ/Q,Q end;local bS={}getgenv().Closest=nil;function closest(bT)local bU;if bT then bU=math.huge else bU=library.flags.SilentFOV end;local bV;local bW;local bX;local bY=c:GetMouseLocation()local bZ,b_=nil,nil;local c0=false;local c1=false;for m,n in pairs(a:GetPlayers())do if n~=e and n.Team~=e.Team and client:IsAlive(n)then bW=client.bodyparts[n]local c2,c3=f:WorldToScreenPoint(bW.head.Position)local c4=(Vector2.new(c2.X,c2.Y)-Vector2.new(bY.X,bY.Y)).Magnitude;if c4<bU then if bT then bX=bW.head end;if not bT then if math.random(0,100)<library.flags.HeadshotChance then bX=bW.head else bX=bW.torso end end;bU=c4;bV=n;c1=true;bZ,b_=c2,c3 end end end;return{Closest=bV,OnScreen=b_,Part=bX,InFOV=c1,Autowall=c0}end;local c5=client.network.send;local c6=1;local c7=0;client.network.send=function(self,c8,...)if c8=="falldamage"and library.flags.NoFallDamage then return end;if c8=="equip"then c6=...end;if c8=="newgrenade"then local c9={...}if c9[2].blowuptime and library.flags.CustomFuse then c9[2].blowuptime=library.flags.GTPFuse end;local ca=closest(true)if not ca or not ca.Closest or not ca.Part then return c5(self,c8,...)end;for m,n in pairs(c9[2].frames)do if n~=c9[2].frames[1]then if ca.OnScreen then if n.p0 and library.flags.GrenadeTP then n.p0=ca.Part.Position end end end end end;if c8=="newbullets"then local c9={...}if library.flags.FakeEquip then c5(self,"equip",c6)end;c7=c7+1 end;if c8=="repupdate"and library.flags.AntiAim then local c9={...}local cb;local cc;if library.flags.AntiaimPitch=="Up"then cb=client.camera.maxangle end;if library.flags.AntiaimPitch=="Down"then cb=client.camera.minangle end;if library.flags.AntiaimPitch=="Random"then cb=math.random(client.camera.minangle,client.camera.maxangle)end;if library.flags.AntiaimYaw=="Left"then cc=25.991293 end;if library.flags.AntiaimYaw=="Right"then cc=-25.991293 end;if library.flags.AntiaimYaw=="Random"then cc=Vector3.new(math.cos(tick()*400),math.cos(tick()*400))end;c9[2]=Vector2.new(cb,cc)return c5(self,c8,unpack(c9))end;return c5(self,c8,...)end;function client:Aimbot()local cd=client:Draw("AimbotFOVCircle","Circle",{Color=Color3.fromRGB(255,255,255)})b:BindToRenderStep("Aiming",1,function()for m,n in pairs(client.bodyparts)do if not bS[m]then bS[m]={}end;table.insert(bS[m],1,{n.head.Position,tick()})table.remove(bS[m],16)end;cd.Visible=library.flags.FOVOn and library.flags.AimbotOn;cd.Radius=library.flags.FOV;cd.NumSides=library.flags.FOVSides;cd.Thickness=library.flags.FOVThickness;cd.Color=library.flags.FOVColor;cd.Position=Vector2.new(g.X,g.Y+36)local bZ,b_=nil,nil;local ce=nil;local bX=nil;if library.flags.AimbotOn and client.char.alive then local bU=library.flags.FOV;local bW;local bV;local bY=c:GetMouseLocation()for m,n in pairs(a:GetPlayers())do if n~=e and n.Team~=e.Team and client:IsAlive(n)then bW=client.bodyparts[n]bX=bW[library.flags.AimPart]local c2,c3=f:WorldToScreenPoint(bX.Position)local c4=(Vector2.new(c2.X,c2.Y)-Vector2.new(bY.X,bY.Y)).Magnitude;if c4<bU then bU=c4;ce=bX.Position;bV=n;bZ,b_=c2,c3 end end end;if c:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)and bV and b_ then local X,Y;if library.flags.MovementPrediction then local cf=client:trajectory(f.CFrame.Position,Vector3.new(0,-workspace.Gravity,0),ce,client.gamelogic.currentgun.data.bulletspeed,(bS[bV][1][1]-bS[bV][#bS[bV]][1])/(bS[bV][1][2]-bS[bV][#bS[bV]][2]))local cg=f:WorldToScreenPoint(cf+f.CFrame.Position)X=(cg.X-g.X)/library.flags.Smoothness;Y=(cg.Y-g.Y)/library.flags.Smoothness else X=(bZ.X-g.X)/library.flags.Smoothness;Y=(bZ.Y-g.Y)/library.flags.Smoothness end;if math.abs(X)>0 and math.abs(Y)>0 then mousemoverel(X,Y)end end end end)end;function client:Silent()local cd=client:Draw("SilentAimFOVCircle","Circle",{Color=Color3.fromRGB(255,255,255)})b:BindToRenderStep("SilentFOV",1,function()cd.Visible=library.flags.SilentFOVOn and library.flags.SilentAimOn;cd.Radius=library.flags.SilentFOV;cd.NumSides=library.flags.SilentFOVSides;cd.Thickness=library.flags.SilentFOVThickness;cd.Color=library.flags.SilentFOVColor;cd.Position=Vector2.new(g.X,g.Y+36)end)local ch;ch=hookmetamethod(game,"__index",function(ci,cj)if library.flags.SilentAimOn and client.char.alive then if cj=="CFrame"and not checkcaller()then if client.gamelogic.currentgun and client.gamelogic.currentgun.barrel then if ci==client.gamelogic.currentgun.barrel or ci==client.gamelogic.currentgun.aimsightdata[1].sightpart then local bV;if library.flags.IgnoreSilentAimFOV then bV=closest(true)elseif library.flags.AutoShoot then bV=closest(true)else bV=closest(false)end;if library.flags.AutoShoot and bV.Closest then for m,n in pairs(a:GetPlayers())do if n~=e and n.Team~=e.Team and client:IsAlive(n)and client.bodyparts[n]and client.bodyparts[n].head then if client:GetTargetInfo(n).Killable then local ck=CFrame.new(ci.Position,client.bodyparts[n].head.Position)return ck end end end end;if bV.Closest and bV.OnScreen and bV.InFOV then local ck=CFrame.new(ci.Position,bV.Part.Position)return ck end end end end end;return ch(ci,cj)end)end;local cl;cl=hookmetamethod(game,"__newindex",function(self,bF,bJ)if self==client.camera.currentcamera and library.flags.ModCamera then if bF=="CFrame"then bJ=bJ*CFrame.new(library.flags.CameraX,library.flags.CameraY,library.flags.CameraZ)end end;return cl(self,bF,bJ)end)local cm=debug.getupvalue(client.loadmodules,6)local cn=debug.getupvalue(cm,1)function SolveVector3(co)if library.flags.Recoil==0 then return Vector3.new()else return co*library.flags.Recoil end end;debug.setupvalue(cm,1,function(...)local cp=cn(...)if library.flags.FireModes then local cq={true,1,2}local cr={1,true,2}local cs={2,1,true}if library.flags.DefaultFiremode=="Auto"then cp.firemodes=cq elseif library.flags.DefaultFiremode=="Semi"then cp.firemodes=cr else cp.firemodes=cs end end;if library.flags.CustomFirerateOn then if type(cp.firerate)=="number"then cp.firerate=cp.firerate+library.flags.CustomFirerate end end;if library.flags.ReloadSpeedOn then local ct=cp.animations;if ct.tacticalreload then cp.animations.tacticalreload.resettime=library.flags.ReloadSpeed;cp.animations.tacticalreload.stdtimescale=library.flags.ReloadSpeed;cp.animations.tacticalreload.timescale=library.flags.ReloadSpeed elseif ct.reload then cp.animations.reload.resettime=library.flags.ReloadSpeed;cp.animations.reload.stdtimescale=library.flags.ReloadSpeed;cp.animations.reload.timescale=library.flags.ReloadSpeed elseif ct.pullbolt then cp.animations.pullbolt.stdtimescale=library.flags.ReloadSpeed;cp.animations.pullbolt.timescale=library.flags.ReloadSpeed;cp.animations.pullbolt.resettime=library.flags.ReloadSpeed end;if ct.pull then cp.animations.pull.resettime=0;cp.animations.pull.stdtimescale=0;cp.animations.pull.timescame=0 end end;if library.flags.RecoilOn then cp.rotkickmin=SolveVector3(cp.rotkickmin)cp.rotkickmax=SolveVector3(cp.rotkickmax)cp.transkickmin=SolveVector3(cp.transkickmin)cp.transkickmax=SolveVector3(cp.transkickmax)cp.camkickmin=SolveVector3(cp.camkickmin)cp.camkickmax=SolveVector3(cp.camkickmax)cp.aimrotkickmin=SolveVector3(cp.aimrotkickmin)cp.aimrotkickmax=SolveVector3(cp.aimrotkickmax)cp.aimtranskickmin=SolveVector3(cp.aimtranskickmin)cp.aimtranskickmax=SolveVector3(cp.aimtranskickmax)cp.aimcamkickmin=SolveVector3(cp.aimcamkickmin)cp.aimcamkickmax=SolveVector3(cp.aimcamkickmax)end;if library.flags.NoSpread then cp.hipfirespread=0;cp.hipfirestability=0;cp.hipfirespreadrecover=0 end;return cp end)local cu=debug.getupvalue(cm,58)debug.setupvalue(cm,58,function(...)if library.flags.NoGunBob then return CFrame.new()end;return cu(...)end)local cv=client.animation.player;client.animation.player=function(y,z)if client.char.alive and client.gamelogic.currentgun then if client.gamelogic.currentgun.type~="KNIFE"and library.flags.NoAnim then for m,n in pairs(client.gamelogic.currentgun.data.animations)do if z==n then return function()end end end end;if client.gamelogic.currentgun.type~="KNIFE"and library.flags.InstantThrow then for m,n in pairs(client.gamelogic.currentgun.data.animations)do if n~=z then return function()end end end end end;return cv(y,z)end;bI:Init()bI.settings.limitdistance=false;function bI:GetHealth(bN)return client.hud:getplayerhealth(bN)end;function bI:GetCharacter(bN)local ba=client.replication.getbodyparts(bN)return ba and ba.torso.Parent,ba and ba.torso end;function client:shoot()client.gamelogic.currentgun:shoot(true)wait(.01)client.gamelogic.currentgun:shoot(false)wait(60/client.gamelogic.currentgun.data.firerate)end;local cw=false;local cx=false;local cy=false;local cz=false;local cA=false;local cB=false;local cC=false;c.InputBegan:Connect(function(a7)if a7.KeyCode==Enum.KeyCode.W then cw=true elseif a7.KeyCode==Enum.KeyCode.A then cy=true elseif a7.KeyCode==Enum.KeyCode.D then cz=true elseif a7.KeyCode==Enum.KeyCode.S then cx=true elseif a7.KeyCode==Enum.KeyCode.Space then cB=true elseif a7.KeyCode==Enum.KeyCode.LeftControl then cA=true elseif a7.KeyCode==Enum.KeyCode.LeftShift then cC=true end end)c.InputEnded:Connect(function(a7)if a7.KeyCode==Enum.KeyCode.W then cw=false elseif a7.KeyCode==Enum.KeyCode.A then cy=false elseif a7.KeyCode==Enum.KeyCode.D then cz=false elseif a7.KeyCode==Enum.KeyCode.S then cx=false elseif a7.KeyCode==Enum.KeyCode.Space then cB=false elseif a7.KeyCode==Enum.KeyCode.LeftControl then cA=false elseif a7.KeyCode==Enum.KeyCode.LeftShift then cC=false end end)function client:GetTargetInfo(player)local cD;local cE=0;local cF;if client.gamelogic.currentgun and client.gamelogic.currentgun.barrel then cF=client.gamelogic.currentgun.barrel.Position end;if client.char.alive and client.gamelogic.currentgun and client.gamelogic.currentgun.barrel then gun=client.gamelogic.currentgun;local cG;if gun.type=="SNIPER"then cE=1 else if client.hud and client.hud.getplayerhealth and client.bodyparts[player]and client.bodyparts[player].head then health=client.hud:getplayerhealth(player)if gun.data and gun.data.damage0 then cG=gun.data.damage0;if health<cG then cE=1 else repeat cE=cE+1;cG=cG+cG;task.wait()until cG>health end end end end;if client.gamelogic.currentgun and client.gamelogic.currentgun.barrel then Position=client.char.rootpart.Position;local cH=9;local cI={Position,Position+Vector3.new(0,0,-cH),Position+Vector3.new(0,0,cH),Position+Vector3.new(0,cH,0),Position+Vector3.new(0,-cH,0),Position+Vector3.new(cH,0,0),Position+Vector3.new(-cH,0,0)}local cJ={}local bN=client.bodyparts[player]if bN and bN.head then if client.gamelogic.currentgun and client.gamelogic.currentgun.barrel then for al,n in pairs(cI)do check=client.bulletcheck(n,bN.head.Position,client:trajectory(n,Vector3.new(0,-workspace.Gravity,0),bN.head.Position,client.gamelogic.currentgun.data.bulletspeed),Vector3.new(0,-workspace.Gravity,0),client.gamelogic.currentgun.data.penetrationdepth)if check then cF=n;cD=true;return{ShotsToTake=cE,Killable=cD,firepos=cF}end end end end end end;return{ShotsToTake=1,Killable=cD,firepos=cF}end;client.playerhitdetection=nil;spawn(function()while true do b.Heartbeat:Wait()if library.flags.AutoShoot and client.char.alive and not client.roundsystem.lock then if client.gamelogic.currentgun and client.gamelogic.currentgun.type~="KNIFE"then local cK=client:GetTargetInfo(closest(true).Closest)if cK.Killable and client.gamelogic.currentgun.shoot and library.flags.AutoShootMethod=="Currentgun:shoot()"then client:shoot()elseif client.gamelogic.currentgun and client.gamelogic.currentgun.shoot and library.flags.AutoShootMethod=="Newbullets & bullethit"then for m,n in pairs(game.Players:GetPlayers())do if n.Team~=e.Team and n~=e and client:IsAlive(n)then cK=client:GetTargetInfo(n)if not cK.Killable then continue end;if cK.Killable then player=n;for y=1,cK.ShotsToTake do local Position;if library.flags.Resolver then Position=client.replication.getupdater(player).receivedPosition else Position=client.bodyparts[n].head.Position end;if Position==nil then Position=client.bodyparts[n].head.Position end;local cL=client:trajectory(cK.firepos,Vector3.new(0,-workspace.Gravity,0),Position,client.gamelogic.currentgun.data.bulletspeed)local cM={camerapos=client.char.rootpart.Position,firepos=cK.firepos,bullets={}}for m=1,client.gamelogic.currentgun.data.pelletcount or 1 do cM.bullets[m]={cL,c7}c7=c7+1 end;client.network:send("newbullets",cM,tick())local gun=client.gamelogic.currentgun;client.sound.PlaySoundId(gun.data.firesoundid,gun.data.firevolume,gun.data.firepitch,gun.barrel,nil,0.05)if library.flags.Particles and client.particle and client.particle.new then client.particle.new({acceleration=client.settings.bulletAcceleration,visualorigin=client.gamelogic.currentgun.barrel.Position,color=library.flags.ParticleColor or Color3.new(255,0,0),velocity=cL,penetrationdepth=client.gamelogic.currentgun.data.penetrationdepth,physicsignore={workspace.Players,workspace.Terrain,workspace.Ignore,client.camera.currentcamera},position=client.camera.cframe.p,brightness=library.flags.ParticleBrightness or 400,bloom=library.flags.Bloom or 0.005,size=0.05,life=library.flags.ParticleLifetime or 0.5,dt=0})end;for m=1,#cM.bullets do client.network:send("bullethit",player,Position,"Head",cM.bullets[m][2])end end;local cN=gun;local cO=debug.getupvalue(cN.reload,4)local cP=debug.getupvalue(cN.reload,5)-1;local cQ=debug.getupvalue(cN.reload,7)if cP<1 then cP=cO>cQ and cQ or cO;cO=cO-cP end;cN=client.gamelogic.currentgun;if type(cN.data.firerate)=='table'then firerate=cN.data.firerate[1]else firerate=cN.data.firerate end;debug.setupvalue(cN.reload,4,cO)debug.setupvalue(cN.reload,5,cP)client.hud:updateammo(cP,cO)task.wait(60/firerate)end end end end end end end end)function client:GetVelocity(co)if library.flags.OAA then if library.flags.OAAMethod=="Circular"then return co+Vector3.new(math.cos(tick()*library.flags.OAASpeed),0,math.sin(tick()*library.flags.OAASpeed))*library.flags.OAARadius elseif library.flags.OAAMethod=="Spring"then local tick=tick()local cR=library.flags.OAASpeed;return co+Vector3.new(math.sin(cR*math.modf(tick,pi))*math.cos(tick*cR),math.sin(cR*math.modf(tick,pi))*math.sin(tick*cR),math.cos(cR*math.modf(tick,pi))).Unit*library.flags.OAARadius elseif library.flags.OAAMethod=="Cubical"then elseif library.flags.OAAMethod=="Square"then end end;return co end;b:BindToRenderStep("OAA",1,function()if library.flags.OAA and client.char.alive and not library.flags.Fly then client.char.rootpart.Velocity=client:GetVelocity(Vector3.new())end end)b:BindToRenderStep("Miscellaneous",1,function()if library.flags.Fly and client.char.alive then local cS=library.flags.FlySpeed;if cC then cS=cS+100 end;if cw and not cy and not cz then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity(f.CFrame.LookVector*cS)end;if cw and cy then local cT=(f.CFrame*CFrame.Angles(0,math.pi/2,0)).LookVector;client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity((cT+f.CFrame.LookVector).Unit*cS)end;if cy and not cw then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity((f.CFrame*CFrame.Angles(0,math.pi/2,0)).LookVector*cS)end;if cz and not cw then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity(f.CFrame.RightVector*cS)end;if cz and cw then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity((f.CFrame.RightVector+f.CFrame.LookVector).Unit*cS)end;if cA then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity(-f.CFrame.UpVector*cS)end;if cB then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity(f.CFrame.UpVector*cS)end;if cx then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity(-f.CFrame.LookVector*cS)end;if not cB and not cA and not cy and not cz and not cw and not cx then client.char.rootpart.Velocity=client:GetVelocity(Vector3.new())if library.flags.OAA then client.char.rootpart.Anchored=false;client.char.rootpart.Velocity=client:GetVelocity(Vector3.new())else client.char.rootpart.Anchored=true end end elseif not library.flags.Fly and client.char.alive and not library.flags.OAA then client.char.rootpart.Anchored=false end;if library.flags.FakeEquip and client.char.alive then local cU;if library.flags.FakeEquipListItem=="Primary"then cU=1 elseif library.flags.FakeEquipListItem=="Secondary"then cU=2 else cU=3 end;c5(client.network,"equip",cU)end;if SpaceDown and client.char.alive and library.flags.BunnyHop then client.char:jump(4)client.char:setbasewalkspeed(library.flags.BunnyHopSpeed)elseif not SpaceDown and client.char.alive then client.char:setbasewalkspeed(14)end;if library.flags.HitboxExpander then for m,n in pairs(a:GetPlayers())do if client:IsAlive(n)and client.bodyparts[n]and client.bodyparts[n].head and client.char.alive then local cV=client.bodyparts[n]local cW=library.flags.HitboxExpanderSize;cV.head.Size=Vector3.new(cW,cW,cW)cV.torso.Size=Vector3.new(cW,cW,cW)cV.lleg.Size=Vector3.new(cW,cW,cW)cV.rleg.Size=Vector3.new(cW,cW,cW)cV.larm.Size=Vector3.new(cW,cW,cW)cV.rarm.Size=Vector3.new(cW,cW,cW)end end end;if library.flags.KnifeAura and client.char.alive then if library.flags.KnifeHeld and client.gamelogic.currentgun~="KNIFE"then return end;for m,n in pairs(a:GetPlayers())do if n~=e and n.Team~=e.Team and client:IsAlive(n)then local bU=library.flags.KnifeAuraDistance;if client.bodyparts[n]and client.bodyparts[n].head then local c4=(e.Character.HumanoidRootPart.Position-client.bodyparts[n].head.Position).Magnitude;if c4<bU then c4=bU;c5(client.network,"equip",3)client.network:send("knifehit",client.replication.getplayerhit(client.bodyparts[n].head),tick(),"Head")client.network:send("equip",c6)end end end end end end)b:BindToRenderStep("FragUpdate",1,function()if library.flags.FragBot and client.char.alive then client.network:send("repupdate",client.char.rootpart.Position,Vector2.new(client.camera.angles.X,client.camera.angles.Y),tick())end end)local cX={physicsignore={workspace.Players,workspace.CurrentCamera,workspace.Ignore},raycast=workspace.FindPartOnRayWithIgnoreList,frame=CFrame.new(0,0,-9.9),cframe=CFrame.new(),vector=Vector3.new()}function newgrenade()local cY=closest(true)if cY.Closest and client.char.alive then local cZ=cY.Part.Position;local c_=client.camera.cframe;local d0=c_.Position;client.network:send("newgrenade","FRAG",{time=tick(),blowuptime=0,frames={{t0=0,p0=d0,v0=cX.vector,offset=cX.vector,rot0=c_-d0,rotv=(c_-d0)*Vector3.new(19.539,-5,0),glassbreaks={}},{t0=0,p0=cZ,v0=cX.vector,offset=cX.vector,rot0=cX.cframe,rotv=cX.vector,glassbreaks={}}}})end end;spawn(function()while task.wait()do if library.flags.FragBot then client.network:send("spawn")task.wait(.2)newgrenade()task.wait(.3)newgrenade()task.wait(.3)newgrenade()task.wait(.3)newgrenade()client.network:send("forcereset")end end end)loadknife=debug.getupvalue(client.loadmodules,7)knifebob=debug.getupvalue(loadknife,37)knifesway=debug.getupvalue(loadknife,38)debug.setupvalue(loadknife,37,function(...)if library.flags.NoKnifeBob then return CFrame.new()end;return knifebob(...)end)debug.setupvalue(loadknife,38,function(...)if library.flags.NoKnifeBob then return CFrame.new()end;return knifesway(...)end)local d1=debug.getupvalue(client.camera.step,11)debug.setupvalue(client.camera.step,11,function(...)if library.flags.NoCamSway then return CFrame.new()end;return d1(...)end)library.flags['Menu Accent Color']=Color3.fromRGB(255,180,20)client:Aimbot()client:Silent()library:Init()getgenv().Loaded=true

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

More Scripts!

TOP 10 TRENDING SCRIPTS