--// Adonis Bypass local getinfo = getinfo or debug.getinfo local Detected, Kill setthreadidentity(2) for i, v in getgc(true) do if typeof(v) == "table" then local DetectFunc = rawget(v, "Detected") local KillFunc = rawget(v, "Kill") if typeof(DetectFunc) == "function" and not Detected then Detected = DetectFunc hookfunction(Detected, function(Action, Info, NoCrash) if Action ~= "_" then return true end return true end) end if rawget(v, "Variables") and rawget(v, "Process") and typeof(KillFunc) == "function" and not Kill then Kill = KillFunc hookfunction(Kill, function(Info) end) end end end local OldDebugInfo = getrenv().debug.info hookfunction(getrenv().debug.info, newcclosure(function(...) local LevelOrFunc, Info = ... if Detected and LevelOrFunc == Detected then return coroutine.yield(coroutine.running()) end return OldDebugInfo(...) end)) setthreadidentity(7) local cloneref = cloneref or function(...) return ... end local GetService = setmetatable({}, { __index = function(self, key) return cloneref(game:GetService(key)) end }) local Players = GetService.Players local UserInputService = GetService.UserInputService local ReplicatedStorage = GetService.ReplicatedStorage local CurrentCamera = GetService.Workspace.CurrentCamera local LocalPlayer = Players.LocalPlayer local GunHandler = require(GetService.ReplicatedStorage.Modules.GunHandler) --// Unrestricted macro local restrictedTools = { ["[Revolver]"] = true, ["[Double-Barrel SG]"] = true, ["[TacticalShotgun]"] = true } if getgc and hookfunction then for _, obj in ipairs(getgc(true)) do if type(obj) == "function" then local info = debug.info and debug.info(obj, "n") if info == "UnequipRestrictedTools" then hookfunction(obj, function() end) end end end end if hookmetamethod and getnamecallmethod then local oldNewIndex oldNewIndex = hookmetamethod(game, "__newindex", function(self, key, value) if key == "Parent" and typeof(self) == "Instance" and self:IsA("Tool") and restrictedTools[self.Name] and self.Parent == LocalPlayer.Character and value == LocalPlayer.Backpack then return end return oldNewIndex(self, key, value) end) end --// Silent Aim local function isValidTarget(character) if not character then return false end local hum = character:FindFirstChild("Humanoid") if not hum or hum.Health <= 0 or hum:GetState() == Enum.HumanoidStateType.Dead then return false end if character:FindFirstChild("FULLY_LOADED_CHAR") == nil then return false end if character:FindFirstChild("ForceField") then return false end if character:FindFirstChild("GRABBING_CONSTRAINT") then return false end if character:FindFirstChild("Christmas_Sock") then return false end local bodyEffects = character:FindFirstChild("BodyEffects") if bodyEffects then local ko = bodyEffects:FindFirstChild("K.O") if ko and ko.Value == true then return false end local grabbed = bodyEffects:FindFirstChild("Grabbed") if grabbed and grabbed.Value then return false end local cuff = bodyEffects:FindFirstChild("Cuff") if cuff and cuff.Value == true then return false end local dead = bodyEffects:FindFirstChild("Dead") if dead and dead.Value == true then return false end end return true end local function getClosestHead() local closestHead = nil local shortestDistance = math.huge local mouseLocation = UserInputService:GetMouseLocation() for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and isValidTarget(player.Character) then local head = player.Character:FindFirstChild("Head") if head then local screenPos, onScreen = CurrentCamera:WorldToViewportPoint(head.Position) if onScreen then local distance = (Vector2.new(screenPos.X, screenPos.Y) - mouseLocation).Magnitude if distance < shortestDistance then shortestDistance = distance closestHead = head end end end end end return closestHead end local targetFn = GunHandler.Shoot local aimFn = GunHandler.GetAim if (type(targetFn) ~= "function" or type(aimFn) ~= "function") and getgc then for _, obj in ipairs(getgc(true)) do if type(obj) == "table" then if type(targetFn) ~= "function" and type(rawget(obj, "Shoot")) == "function" then targetFn = obj.Shoot end if type(aimFn) ~= "function" and type(rawget(obj, "GetAim")) == "function" then aimFn = obj.GetAim end end end end if type(aimFn) == "function" and hookfunction then local oldGetAim oldGetAim = hookfunction(aimFn, function(originPos, ...) if typeof(originPos) == "Vector3" then local targetHead = getClosestHead() if targetHead then local delta = targetHead.Position - originPos return delta.Unit, delta.Magnitude end end return oldGetAim(originPos, ...) end) end if type(targetFn) == "function" and hookfunction then local oldShoot oldShoot = hookfunction(targetFn, function(data, ...) if type(data) == "table" and data.Shooter == LocalPlayer.Character then local targetHead = getClosestHead() if targetHead then data.AimPosition = targetHead.Position end end return oldShoot(data, ...) end) end --// No Shotgun Spread local shotguns = { ["[TacticalShotgun]"] = true, ["[Shotgun]"] = true, ["[Double-Barrel SG]"] = true } local function isShotgun(tool) if typeof(tool) ~= "Instance" then return false end if shotguns[tool.Name] then return true end local name = string.lower(tool.Name) return string.find(name, "shotgun", 1, true) ~= nil or string.find(name, "sg", 1, true) ~= nil end local function getHeldTool() local character = LocalPlayer.Character if not character then return nil end for _, item in ipairs(character:GetChildren()) do if item:IsA("Tool") then return item end end return nil end local aimDirection local aimDistance local shotTimestamp = 0 local checkingAim = false if hookfunction then if type(GunHandler.GetAim) == "function" then local origGetAim origGetAim = hookfunction(GunHandler.GetAim, function(origin, ...) if checkingAim or typeof(origin) ~= "Vector3" then return origGetAim(origin, ...) end checkingAim = true local tool = getHeldTool() if isShotgun(tool) then local now = os.clock() if now - shotTimestamp > 0.05 or not aimDirection then local dir, dist = origGetAim(origin, ...) if typeof(dir) == "Vector3" and dir.Magnitude > 0 then aimDirection = dir.Unit aimDistance = dist shotTimestamp = now end end checkingAim = false if aimDirection then return aimDirection, aimDistance end end checkingAim = false return origGetAim(origin, ...) end) end if type(GunHandler.Trace) == "function" then local origTrace origTrace = hookfunction(GunHandler.Trace, function(traceInfo, ...) if type(traceInfo) == "table" and traceInfo.Shooter == LocalPlayer.Character then local tool = (traceInfo.Handle and traceInfo.Handle.Parent) or getHeldTool() if isShotgun(tool) and typeof(traceInfo.ForcedOrigin) == "Vector3" and typeof(traceInfo.AimPosition) == "Vector3" then local now = os.clock() local offset = traceInfo.AimPosition - traceInfo.ForcedOrigin local length = offset.Magnitude if length > 0 then if now - shotTimestamp > 0.05 or not aimDirection then aimDirection = offset.Unit aimDistance = length shotTimestamp = now end traceInfo.AimPosition = traceInfo.ForcedOrigin + aimDirection * length end end end return origTrace(traceInfo, ...) end) end end --// Rapid Fire if type(GunHandler.GetCanShoot) == "function" and hookfunction then local origGetCanShoot origGetCanShoot = hookfunction(GunHandler.GetCanShoot, function(...) return true end) end local gunClosures = {} local lastReset = 0 local function scanGunClosures() table.clear(gunClosures) if not getgc or not debug or not debug.getupvalues or not debug.setupvalue then return end for _, fn in ipairs(getgc(true)) do if type(fn) == "function" and (not islclosure or islclosure(fn)) then local ok, upvals = pcall(debug.getupvalues, fn) if ok and type(upvals) == "table" then local lastTickIdx local cooldownIdx for k, v in pairs(upvals) do if type(v) == "number" then if v > 1500000000 or v <= -1e30 then lastTickIdx = k elseif v > 0 and v <= 3 then cooldownIdx = k end end end if lastTickIdx or cooldownIdx then table.insert(gunClosures, { fn = fn, lastTickIdx = lastTickIdx, cooldownIdx = cooldownIdx }) end end end end end local function resetCooldowns() if not debug or not debug.setupvalue then return end local now = os.clock() if now - lastReset < 0.03 then return end lastReset = now if #gunClosures == 0 then scanGunClosures() end for i = #gunClosures, 1, -1 do local item = gunClosures[i] if item.lastTickIdx then pcall(debug.setupvalue, item.fn, item.lastTickIdx, -1e32) end if item.cooldownIdx then pcall(debug.setupvalue, item.fn, item.cooldownIdx, 0) end end end local function watchChar(char) if not char then return end for _, child in ipairs(char:GetChildren()) do if child:IsA("Tool") then child.Activated:Connect(resetCooldowns) end end scanGunClosures() char.ChildAdded:Connect(function(child) if child:IsA("Tool") then scanGunClosures() child.Activated:Connect(resetCooldowns) end end) end watchChar(LocalPlayer.Character) LocalPlayer.CharacterAdded:Connect(watchChar) task.spawn(function() while true do task.wait() if UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then local tool = getHeldTool() if tool then resetCooldowns() pcall(function() tool:Activate() end) end end end end)