local Players=game:GetService("Players") local RS=game:GetService("ReplicatedStorage") local RunService=game:GetService("RunService") local LP=Players.LocalPlayer local CombatFolder=RS:FindFirstChild("shared/network/CombatNetwork@GlobalCombatEvents") local CloneAttackRE=CombatFolder and CombatFolder:FindFirstChild("CloneAttack") local NpcFolder=RS:FindFirstChild("shared/network/RunAreaNPCNetwork@GlobalRunAreaNPCEvents") local NPCAttackRE=NpcFolder and NpcFolder:FindFirstChild("NPCAttack") local godMode=false local godClones=false if NPCAttackRE and typeof(hookmetamethod)=="function" then pcall(function() local oldNc oldNc=hookmetamethod(game,"__namecall",newcclosure(function(self,...) if self==NPCAttackRE and getnamecallmethod()=="FireServer" then local a=(...) if type(a)=="table" then if godMode and a.targetType=="player" then return end if godClones and a.targetType=="clone" then return end end end return oldNc(self,...) end)) end) end local ctrl local function findCtrl() if typeof(getgc)~="function" then return nil end for _,v in ipairs(getgc(true)) do if type(v)=="table" then local ok=pcall(function() return v.cachedClones~=nil and v.enemyStates~=nil and v.enemySpatialHash~=nil end) if ok and type(rawget(v,"cachedClones"))=="table" and type(rawget(v,"enemyStates"))=="table" then return v end end end end task.spawn(function() while not ctrl do ctrl=findCtrl() task.wait(1) end end) local function aliveEnemies() local out={} if not ctrl then return out end for npcId,st in pairs(rawget(ctrl,"enemyStates") or {}) do if type(st)=="table" and not st.isDying and (st.health==nil or st.health>0) and typeof(st.currentPosition)=="Vector3" then out[#out+1]={id=npcId, pos=st.currentPosition} end end return out end local function nearestTo(px,pz,list) local best,bd for _,e in ipairs(list) do local dx,dz=e.pos.X-px,e.pos.Z-pz local d=dx*dx+dz*dz if not bd or d0 then speed=n else box.Text=tostring(speed) end end) local sBtn=Instance.new("TextButton") sBtn.Size=UDim2.new(0.6,-4,1,0) sBtn.Position=UDim2.new(0.4,4,0,0) sBtn.BackgroundColor3=COL.off sBtn.BorderSizePixel=0 sBtn.Font=Enum.Font.GothamBold sBtn.TextSize=14 sBtn.TextColor3=Color3.new(1,1,1) sBtn.Text="Apply OFF" sBtn.Parent=row Instance.new("UICorner",sBtn).CornerRadius=UDim.new(0,6) sBtn.MouseButton1Click:Connect(function() speedOn=not speedOn sBtn.BackgroundColor3=speedOn and COL.on or COL.off sBtn.Text="Apply "..(speedOn and "ON" or "OFF") if not speedOn then local c=LP.Character local h=c and c:FindFirstChildOfClass("Humanoid") if h then h.WalkSpeed=16 end end end) RunService.Heartbeat:Connect(function() if not gui.Parent then return end if speedOn then local c=LP.Character local h=c and c:FindFirstChildOfClass("Humanoid") if h and h.WalkSpeed~=speed then h.WalkSpeed=speed end end end) task.spawn(function() while gui.Parent do if autoAtk then cloneSweep() end if not ctrl then say("waiting for run (enter a battle)...") else say("Enemies: "..#aliveEnemies(), autoAtk and COL.good or COL.text) end task.wait(0.08) end end)