-- Join Discord For More Open Sources, Coming Soon https://discord.gg/axonic repeat task.wait() until game:IsLoaded() and game:GetService("Players").LocalPlayer local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local CollectionService = game:GetService("CollectionService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local env = type(getgenv) == "function" and getgenv() or _G if type(env.AxonicMM2SilentStop) == "function" then pcall(env.AxonicMM2SilentStop) end local Connections = {} local function track(connection) Connections[#Connections + 1] = connection return connection end local function connect(signal, callback) return track(signal:Connect(callback)) end local State = { Running = true, GunAimV2 = true, GunRageMode = false, GunAimTargetPart = "Head", KnifeAim = true, KnifeAimV2 = false, KnifeRageMode = false, KnifeAimTargetPart = "Head", KnifeAimFOV = 220, RoundCombatSuspended = true, WeaponRayWindowUntil = 0, } local BypassWeaponAimRedirect = false local OriginalWorkspaceNamecall local OriginalWorkspaceRaycastFunction local WeaponServiceMouseRaw local WeaponServiceTargetRaw local getIgnoredParts local function safeRequire(module) if not module or not module:IsA("ModuleScript") then return nil end local ok, value = pcall(require, module) return ok and value or nil end local modules = ReplicatedStorage:WaitForChild("Modules", 15) local CurrentRoundClient = modules and safeRequire(modules:WaitForChild("CurrentRoundClient", 15)) local clientServices = ReplicatedStorage:WaitForChild("ClientServices", 15) local WeaponService = clientServices and safeRequire(clientServices:WaitForChild("WeaponService", 15)) local OriginalWeaponService = {} if type(WeaponService) == "table" then OriginalWeaponService.GetMouseTargetCFrame = WeaponService.GetMouseTargetCFrame OriginalWeaponService.GetTargetPosition = WeaponService.GetTargetPosition end local function premiumGunAimIsEnabled() return false end local function getGunRageShotCFrames() return nil, nil, nil end local function isKnifeWallBangRay() return false end local function getPremiumGunAimCFrame() return nil, nil, nil end -- Round data local function getRoundDataRemote() local remotes = ReplicatedStorage:FindFirstChild("Remotes") local gameplay = remotes and remotes:FindFirstChild("Gameplay") local remote = gameplay and gameplay:FindFirstChild("GetCurrentPlayerData") if remote and remote:IsA("RemoteFunction") then return remote end return nil end local function getRoundData() if type(CurrentRoundClient) == "table" then if type(CurrentRoundClient.PlayerData) == "table" and next(CurrentRoundClient.PlayerData) then return CurrentRoundClient.PlayerData end if type(CurrentRoundClient.GetLatestPlayerData) == "function" then local ok, result = pcall(CurrentRoundClient.GetLatestPlayerData) if ok and type(result) == "table" then return result end end end local remote = getRoundDataRemote() if remote then local ok, result = pcall(function() return remote:InvokeServer() end) if ok and type(result) == "table" then return result end end return {} end local function hasWeaponTool(player, weapon) for _, container in ipairs({ player.Character, player:FindFirstChildOfClass("Backpack") }) do if container then for _, child in ipairs(container:GetChildren()) do if child:IsA("Tool") then local lowerToolName = string.lower(child.Name) if weapon == "Knife" and (child:FindFirstChild("Stab") or child:FindFirstChild("KnifeClient") or child:FindFirstChild("KnifeLocal") or CollectionService:HasTag(child, "Weapon_Knife")) then return true end if weapon == "Gun" and (child:FindFirstChild("IsGun") or CollectionService:HasTag(child, "Weapon_Gun") or lowerToolName == "gun") then return true end end end end end return false end local function hasEquippedWeapon(weapon) local character = LocalPlayer.Character if not character then return false end for _, child in ipairs(character:GetChildren()) do if child:IsA("Tool") then local lowerToolName = string.lower(child.Name) if weapon == "Knife" and (child:FindFirstChild("Stab") or child:FindFirstChild("KnifeClient") or child:FindFirstChild("KnifeLocal") or CollectionService:HasTag(child, "Weapon_Knife")) then return true end if weapon == "Gun" and (child:FindFirstChild("IsGun") or CollectionService:HasTag(child, "Weapon_Gun") or lowerToolName == "gun") then return true end end end return false end local function getPlayerRole(player, playerData) local data = playerData[player.Name] if hasWeaponTool(player, "Knife") then return "Murderer", data end if hasWeaponTool(player, "Gun") then return "Sheriff", data end if type(data) == "table" and data.Dead ~= true and type(data.Role) == "string" then return data.Role, data end return nil, data end local function getRoundIntel() local playerData = getRoundData() local intel = { Murderer = {}, Sheriff = {}, Innocent = {}, } local alive = 0 for _, player in ipairs(Players:GetPlayers()) do local role, data = getPlayerRole(player, playerData) local isAlive = type(data) ~= "table" or data.Dead ~= true local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.Health <= 0 then isAlive = false end if role == "Hero" then role = "Sheriff" end if isAlive then alive += 1 if role == "Murderer" or role == "Sheriff" or role == "Innocent" then table.insert(intel[role], player.Name) end end end return intel, alive end local function isPlaying() local character = LocalPlayer.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") if not character or not humanoid or humanoid.Health <= 0 then return false end local playerData = getRoundData() local localData = playerData[LocalPlayer.Name] if type(localData) == "table" and localData.Dead == true then return false end if hasWeaponTool(LocalPlayer, "Gun") or hasWeaponTool(LocalPlayer, "Knife") then return true end if type(localData) == "table" then local role = localData.Role if role == "Murderer" or role == "Sheriff" or role == "Hero" or role == "Innocent" then return true end end local aliveAttribute = LocalPlayer:GetAttribute("Alive") if aliveAttribute ~= nil then return aliveAttribute == true end return humanoid.Health > 0 end local function getRoot() local character = LocalPlayer.Character return character and character:FindFirstChild("HumanoidRootPart") end local function getInstanceRoot(instance) if not instance then return nil end if instance:IsA("BasePart") then return instance end if instance:IsA("Model") then return instance.PrimaryPart or instance:FindFirstChildWhichIsA("BasePart", true) end if instance:IsA("Tool") then return instance:FindFirstChild("Handle") or instance:FindFirstChildWhichIsA("BasePart", true) end return instance:FindFirstChildWhichIsA("BasePart", true) end local function findMurderer() local playerData = getRoundData() for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer then local role = getPlayerRole(player, playerData) if role == "Murderer" then return player end end end return nil end local function playerIsAlive(player, playerData) if not player or not player.Character then return false end local humanoid = player.Character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.Health <= 0 then return false end local data = playerData and playerData[player.Name] return type(data) ~= "table" or data.Dead ~= true end local getIgnoredParts local function getCharacterKnifeAimPart(character, mode) if not character then return nil end if mode == "Torso" then return character:FindFirstChild("UpperTorso") or character:FindFirstChild("Torso") or character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Head") or getInstanceRoot(character) end return character:FindFirstChild("Head") or character:FindFirstChild("UpperTorso") or character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") or getInstanceRoot(character) end local function getCrosshair() local camera = workspace.CurrentCamera if not camera then return nil end local mouseLocation = UserInputService:GetMouseLocation() local x = mouseLocation.X local y = mouseLocation.Y local playerScripts = LocalPlayer:FindFirstChild("PlayerScripts") local mouseLock = playerScripts and playerScripts:FindFirstChild("MouseLock") if mouseLock and mouseLock:GetAttribute("Enabled") == true and UserInputService.PreferredInput ~= Enum.PreferredInput.Gamepad then local viewportSize = camera.ViewportSize x = viewportSize.X / 2 y = viewportSize.Y / 2 end return Vector2.new(x, y) end local function hasClearShot(origin, targetPart) if not origin or not targetPart then return false end local direction = targetPart.Position - origin if direction.Magnitude <= 0.1 then return true end local params = RaycastParams.new() params.FilterDescendantsInstances = getIgnoredParts() params.FilterType = Enum.RaycastFilterType.Exclude params.IgnoreWater = true BypassWeaponAimRedirect = true local ok, result = pcall(function() return workspace:Raycast(origin, direction, params) end) BypassWeaponAimRedirect = false if not ok then return false end return not result or result.Instance:IsDescendantOf(targetPart.Parent) end -- Gun local function getGunTarget(allowWalls) local murderer = findMurderer() local playerData = getRoundData() if not murderer or not playerIsAlive(murderer, playerData) or not murderer.Character then return nil, nil, nil end local character = murderer.Character local preferred if State.GunAimTargetPart == "Torso" then preferred = { character:FindFirstChild("UpperTorso"), character:FindFirstChild("Torso"), character:FindFirstChild("HumanoidRootPart"), character:FindFirstChild("Head"), } else preferred = { character:FindFirstChild("Head"), character:FindFirstChild("UpperTorso"), character:FindFirstChild("HumanoidRootPart"), character:FindFirstChild("Torso"), } end local root = getRoot() local camera = workspace.CurrentCamera local origin = camera and camera.CFrame.Position or (root and root.Position) local targetPart for _, part in ipairs(preferred) do if part and part:IsA("BasePart") then if allowWalls or not origin or hasClearShot(origin, part) then targetPart = part break end end end if not targetPart then return nil, murderer, nil end local velocity = targetPart.AssemblyLinearVelocity or Vector3.zero if velocity.Magnitude > 120 then velocity = velocity.Unit * 120 end local distance = root and (targetPart.Position - root.Position).Magnitude or 0 local leadTime = math.clamp(0.035 + distance / 2200, 0.035, 0.09) local predicted = targetPart.Position + velocity * leadTime return CFrame.new(predicted), murderer, targetPart end local KnifeAimStickyPlayer = nil local KnifeAimStickyUntil = 0 -- Knife local function getKnifeTarget(requireVisible) local root = getRoot() local camera = workspace.CurrentCamera local aimPoint = getCrosshair() if not root or not camera or not aimPoint then KnifeAimStickyPlayer = nil return nil, nil, nil end local viewOrigin = camera.CFrame.Position local playerData = getRoundData() local now = os.clock() local fov = math.max(40, tonumber(State.KnifeAimFOV) or 220) local function evaluate(player, sticky) if player == LocalPlayer or not playerIsAlive(player, playerData) or not player.Character then return nil end local role = getPlayerRole(player, playerData) if role == "Murderer" then return nil end local part = getCharacterKnifeAimPart( player.Character, State.KnifeAimTargetPart ) if not part then return nil end local screenPosition, onScreen = camera:WorldToViewportPoint(part.Position) if not onScreen or screenPosition.Z <= 0 then return nil end local screenDistance = (Vector2.new(screenPosition.X, screenPosition.Y) - aimPoint).Magnitude local allowedFov = sticky and (fov * 1.25) or fov if screenDistance > allowedFov then return nil end if requireVisible and not hasClearShot(viewOrigin, part) then return nil end local distance = (part.Position - root.Position).Magnitude return part, screenDistance + distance * 0.025, distance end if KnifeAimStickyPlayer and now <= KnifeAimStickyUntil then local part, _, distance = evaluate(KnifeAimStickyPlayer, true) if part then local velocity = part.AssemblyLinearVelocity or Vector3.zero if velocity.Magnitude > 100 then velocity = velocity.Unit * 100 end local leadTime = math.clamp(distance / 180, 0.045, 0.28) return CFrame.new(part.Position + velocity * leadTime), KnifeAimStickyPlayer, part end end local bestTarget local bestPart local bestDistance local bestScore = math.huge for _, player in ipairs(Players:GetPlayers()) do local part, score, distance = evaluate(player, false) if part and score < bestScore then bestTarget = player bestPart = part bestDistance = distance bestScore = score end end if not bestTarget or not bestPart then KnifeAimStickyPlayer = nil KnifeAimStickyUntil = 0 return nil, nil, nil end KnifeAimStickyPlayer = bestTarget KnifeAimStickyUntil = now + 0.28 local velocity = bestPart.AssemblyLinearVelocity or Vector3.zero if velocity.Magnitude > 100 then velocity = velocity.Unit * 100 end local leadTime = math.clamp((bestDistance or 0) / 180, 0.045, 0.28) local targetPosition = bestPart.Position + velocity * leadTime return CFrame.new(targetPosition), bestTarget, bestPart end function getIgnoredParts() local ignored = {} local character = LocalPlayer.Character if character then table.insert(ignored, character) end for _, instance in ipairs(CollectionService:GetTagged("WeaponPassthrough")) do table.insert(ignored, instance) end return ignored end local function raycastForGunAimV2(origin, direction, params) BypassWeaponAimRedirect = true local ok, result = pcall(function() if type(OriginalWorkspaceRaycastFunction) == "function" then return OriginalWorkspaceRaycastFunction( workspace, origin, direction, params ) end return workspace:Raycast(origin, direction, params) end) BypassWeaponAimRedirect = false return ok and result or nil end local function isWeaponRay(origin, direction) if typeof(origin) ~= "Vector3" or typeof(direction) ~= "Vector3" then return false end if os.clock() > (State.WeaponRayWindowUntil or 0) then return false end local magnitude = direction.Magnitude if magnitude < 297 or magnitude > 303 then return false end local camera = workspace.CurrentCamera if not camera then return false end if (origin - camera.CFrame.Position).Magnitude > 3.5 then return false end if type(getcallingscript) == "function" then local ok, caller = pcall(getcallingscript) if ok and typeof(caller) == "Instance" then local path = string.lower(caller:GetFullName()) if string.find(path, "camera", 1, true) or string.find(path, "zoom", 1, true) or string.find(path, "occlusion", 1, true) then return false end if string.find(path, "gun", 1, true) or string.find(path, "weapon", 1, true) or string.find(path, "shoot", 1, true) or string.find(path, "knife", 1, true) or string.find(path, "projectile", 1, true) then return true end end end return true end local function raycastToTarget(targetPart) if not targetPart or not targetPart.Parent then return nil end local targetCharacter = targetPart.Parent local targetPosition = targetPart.Position local ignored = getIgnoredParts() for _, child in ipairs(targetCharacter:GetChildren()) do if child:IsA("Accessory") or child:IsA("Tool") then table.insert(ignored, child) end end local params = RaycastParams.new() params.FilterDescendantsInstances = ignored params.FilterType = Enum.RaycastFilterType.Exclude params.IgnoreWater = true local right = targetPart.CFrame.RightVector local forward = targetPart.CFrame.LookVector local offsets = { -forward * 5, forward * 5, right * 5, -right * 5, Vector3.new(0, 5, 0), Vector3.new(0, -4, 0), } for _, offset in ipairs(offsets) do local origin = targetPosition + offset local direction = targetPosition - origin if direction.Magnitude > 0.1 then local ok, result = pcall(raycastForGunAimV2, origin, direction, params ) if ok and result and result.Instance and result.Instance:IsDescendantOf(targetCharacter) then return result end end end return nil end local function getGunRayHit(params) local _, murderer, targetPart = getGunTarget(false) if not murderer or not targetPart then return nil end return raycastToTarget(targetPart) end local function getKnifeRayHit() local _, targetPlayer, targetPart = getKnifeTarget(State.KnifeRageMode ~= true) if not targetPlayer or not targetPart then return nil end return raycastToTarget(targetPart) end local function getGunTargetCFrame() local targetCFrame = getGunTarget( false ) if targetCFrame then return targetCFrame end local result = getGunRayHit() if result and result.Position then return CFrame.new( result.Position ) end return nil end local function getEquippedGunTool() local character = LocalPlayer.Character if not character then return nil end for _, child in ipairs(character:GetChildren()) do if child:IsA("Tool") then local lowerToolName = string.lower(child.Name) if child:FindFirstChild("IsGun") or CollectionService:HasTag(child, "Weapon_Gun") or lowerToolName == "gun" then return child end end end return nil end -- Shot redirection local function isGunShotRemote(instance) if typeof(instance) ~= "Instance" or not (instance:IsA("RemoteEvent") or instance:IsA("RemoteFunction")) then return false end local lowerName = string.lower(instance.Name) local lowerPath = string.lower(instance:GetFullName()) if not (string.find(lowerName, "shoot", 1, true) or string.find(lowerName, "shot", 1, true) or string.find(lowerName, "fire", 1, true) or string.find(lowerName, "hit", 1, true) or string.find(lowerPath, "shootgun", 1, true) or string.find(lowerPath, "knifeserver", 1, true)) then return false end local character = LocalPlayer.Character local ancestor = instance.Parent while ancestor and ancestor ~= game do if ancestor:IsA("Tool") then local lowerToolName = string.lower(ancestor.Name) local isGun = ancestor:FindFirstChild("IsGun") ~= nil or CollectionService:HasTag(ancestor, "Weapon_Gun") or lowerToolName == "gun" return isGun and ancestor.Parent == character end ancestor = ancestor.Parent end return getEquippedGunTool() ~= nil end local function getGunRemoteTarget() if State.GunRageMode or State.GunAimV2 then local targetCFrame, _, targetPart = getGunTarget(State.GunRageMode == true) if targetCFrame and targetPart then return targetCFrame.Position, targetPart end return nil, nil end if premiumGunAimIsEnabled() then local targetCFrame, _, targetPart = getPremiumGunAimCFrame() if targetCFrame and targetPart then return targetPart.Position, targetPart end return nil, nil end return nil, nil end local function rewriteGunArgs(args, argumentCount) local targetPosition, targetPart = getGunRemoteTarget() if not targetPosition then return false end if argumentCount >= 2 and typeof(args[1]) == "CFrame" and typeof(args[2]) == "CFrame" then if State.GunRageMode then local spoofedOrigin, targetCFrame = getGunRageShotCFrames(targetPart) if spoofedOrigin and targetCFrame then args[1] = spoofedOrigin args[2] = targetCFrame return true end else args[2] = CFrame.new(targetPosition) return true end end local function replaceArgument(index) local valueType = typeof(args[index]) if valueType == "Vector3" then args[index] = targetPosition return true elseif valueType == "CFrame" then args[index] = CFrame.new(targetPosition) return true elseif valueType == "Ray" then local originalRay = args[index] local direction = targetPosition - originalRay.Origin if direction.Magnitude > 0.01 then args[index] = Ray.new(originalRay.Origin, direction.Unit * math.max(originalRay.Direction.Magnitude, direction.Magnitude) ) return true end elseif valueType == "Instance" and args[index] ~= LocalPlayer.Character and targetPart then args[index] = targetPart return true end return false end if argumentCount >= 2 and replaceArgument(2) then return true end for index = 1, argumentCount do if index ~= 2 and replaceArgument(index) then return true end end return false end local function getEquippedKnifeTool() local character = LocalPlayer.Character if not character then return nil end for _, child in ipairs(character:GetChildren()) do if child:IsA("Tool") then local lowerToolName = string.lower(child.Name) if child:FindFirstChild("Stab") or child:FindFirstChild("KnifeClient") or child:FindFirstChild("KnifeLocal") or CollectionService:HasTag(child, "Weapon_Knife") or lowerToolName == "knife" then return child end end end return nil end local function isKnifeThrowRemote(instance) if typeof(instance) ~= "Instance" or not (instance:IsA("RemoteEvent") or instance:IsA("RemoteFunction")) then return false end local knife = getEquippedKnifeTool() if not knife then return false end if instance:IsDescendantOf(knife) then return true end local lowerName = string.lower(instance.Name) local lowerPath = string.lower(instance:GetFullName()) return string.find(lowerName, "throw", 1, true) ~= nil or string.find(lowerName, "projectile", 1, true) ~= nil or string.find(lowerName, "knife", 1, true) ~= nil or string.find(lowerPath, "throw", 1, true) ~= nil or string.find(lowerPath, "projectile", 1, true) ~= nil or string.find(lowerPath, "knife", 1, true) ~= nil end local function getKnifeRemoteTarget() if not isPlaying() or not hasEquippedWeapon("Knife") then return nil, nil end local playerData = getRoundData() if getPlayerRole(LocalPlayer, playerData) ~= "Murderer" then return nil, nil end if not (State.KnifeAim or (State.KnifeRageMode) or (State.KnifeAimV2)) then return nil, nil end local _, targetPlayer, targetPart = getKnifeTarget(State.KnifeRageMode ~= true) if not targetPlayer or not targetPart then return nil, nil end return targetPart.Position, targetPart end local function rewriteKnifeArgs(args, argumentCount) local targetPosition, targetPart = getKnifeRemoteTarget() if not targetPosition then return false end local wallBang = State.KnifeRageMode == true local spoofedOrigin local targetCFrame if wallBang then spoofedOrigin, targetCFrame = getGunRageShotCFrames(targetPart) else targetCFrame = CFrame.new(targetPosition) end local root = getRoot() local normalOrigin = root and root.Position or targetPosition local throwOrigin = wallBang and spoofedOrigin and spoofedOrigin.Position or normalOrigin local throwDirection = targetPosition - throwOrigin if throwDirection.Magnitude > 0.01 then throwDirection = throwDirection.Unit else throwDirection = Vector3.new(0, 0, -1) end if argumentCount == 1 then local valueType = typeof(args[1]) if valueType == "CFrame" then args[1] = targetCFrame return true elseif valueType == "Vector3" then args[1] = args[1].Magnitude <= 5 and throwDirection or targetPosition return true end end if argumentCount >= 2 and typeof(args[1]) == "CFrame" and typeof(args[2]) == "CFrame" then if wallBang and spoofedOrigin then args[1] = spoofedOrigin end args[2] = targetCFrame return true end if argumentCount >= 2 and typeof(args[1]) == "CFrame" and typeof(args[2]) == "Vector3" then if wallBang and spoofedOrigin then args[1] = spoofedOrigin end args[2] = args[2].Magnitude <= 5 and throwDirection or targetPosition return true end if argumentCount >= 2 and typeof(args[1]) == "Vector3" and typeof(args[2]) == "Vector3" then if wallBang and spoofedOrigin then args[1] = spoofedOrigin.Position end args[2] = args[2].Magnitude <= 5 and throwDirection or targetPosition return true end for index = 1, argumentCount do local valueType = typeof(args[index]) if valueType == "CFrame" then if wallBang and index == 1 and argumentCount > 1 and spoofedOrigin then args[index] = spoofedOrigin else args[index] = targetCFrame return true end elseif valueType == "Vector3" then if wallBang and index == 1 and argumentCount > 1 and spoofedOrigin then args[index] = spoofedOrigin.Position else args[index] = args[index].Magnitude <= 5 and throwDirection or targetPosition return true end end end return false end local function sendWeaponRemote(remote, method, args, argumentCount) if method == "FireServer" then remote.FireServer(remote, table.unpack(args, 1, argumentCount)) return nil end return remote.InvokeServer(remote, table.unpack(args, 1, argumentCount)) end local function callOriginal(self, method, args, argumentCount) if method == "Raycast" or method == "FireServer" or method == "InvokeServer" then local ok, directMethod = pcall(function() return self[method] end) if ok and type(directMethod) == "function" then return directMethod(self, table.unpack(args, 1, argumentCount)) end end return OriginalWorkspaceNamecall(self, table.unpack(args, 1, argumentCount)) end -- Weapon hooks local function installNamecallHook() if OriginalWorkspaceNamecall or type(hookmetamethod) ~= "function" or type(getnamecallmethod) ~= "function" then return end local namecallHook namecallHook = function(self, ...) local method = getnamecallmethod() local args = { ... } local argumentCount = select("#", ...) if not State.RoundCombatSuspended and (State.KnifeAim or State.KnifeRageMode or (State.KnifeAimV2)) and (method == "FireServer" or method == "InvokeServer") and isKnifeThrowRemote(self) then local rewritten = rewriteKnifeArgs(args, argumentCount) if rewritten then local dispatchResults = table.pack(pcall(sendWeaponRemote, self, method, args, argumentCount )) if not dispatchResults[1] then return nil end State.WeaponRayWindowUntil = 0 return table.unpack(dispatchResults, 2, dispatchResults.n) end State.WeaponRayWindowUntil = 0 return sendWeaponRemote(self, method, args, argumentCount) end if not State.RoundCombatSuspended and (State.GunAimV2 or State.GunRageMode or premiumGunAimIsEnabled()) and (method == "FireServer" or method == "InvokeServer") and isGunShotRemote(self) then local rewritten = rewriteGunArgs(args, argumentCount) if rewritten then local dispatchResults = table.pack(pcall(sendWeaponRemote, self, method, args, argumentCount )) if not dispatchResults[1] then return nil end State.WeaponRayWindowUntil = 0 return table.unpack(dispatchResults, 2, dispatchResults.n) end State.WeaponRayWindowUntil = 0 return sendWeaponRemote(self, method, args, argumentCount) end if self == workspace and method == "Raycast" and not BypassWeaponAimRedirect and not State.RoundCombatSuspended and isPlaying() then if hasEquippedWeapon("Gun") and not State.GunRageMode and (State.GunAimV2 or premiumGunAimIsEnabled()) and isWeaponRay(args[1], args[2]) then local result = getGunRayHit(args[3]) if result then State.WeaponRayWindowUntil = 0 return result end end if hasEquippedWeapon("Knife") and (State.KnifeAim or State.KnifeRageMode or (State.KnifeAimV2)) and ((State.KnifeRageMode and isKnifeWallBangRay(args[1], args[2])) or (not State.KnifeRageMode and isWeaponRay(args[1], args[2]))) then local result = getKnifeRayHit() if result then State.WeaponRayWindowUntil = 0 return result end end end return callOriginal(self, method, args, argumentCount) end OriginalWorkspaceNamecall = hookmetamethod(game, "__namecall", type(newcclosure) == "function" and newcclosure(namecallHook) or namecallHook ) end local function installWeaponHook() if type(WeaponService) ~= "table" or WeaponService.AxonicAimHooked then return end WeaponService.AxonicAimHooked = true local function redirectedTargetCFrame() if State.RoundCombatSuspended then return nil end if os.clock() > (State.WeaponRayWindowUntil or 0) then return nil end if (State.GunAimV2 or premiumGunAimIsEnabled()) and not State.GunRageMode and isPlaying() and hasEquippedWeapon("Gun") then local targetCFrame = getGunTargetCFrame() if targetCFrame then return targetCFrame end end if (State.KnifeAim or State.KnifeRageMode or (State.KnifeAimV2)) and isPlaying() and hasEquippedWeapon("Knife") then local targetCFrame = getKnifeTarget(State.KnifeRageMode ~= true) if targetCFrame then return targetCFrame end end return nil end local mouseWrapper local targetWrapper mouseWrapper = function(...) local redirected = redirectedTargetCFrame() if redirected then return redirected end local raw = WeaponServiceMouseRaw or OriginalWeaponService.GetMouseTargetCFrame if type(raw) == "function" then return raw(...) end return CFrame.new() end targetWrapper = function(...) local redirected = redirectedTargetCFrame() if redirected then return redirected end local raw = WeaponServiceTargetRaw or OriginalWeaponService.GetTargetPosition if type(raw) == "function" then return raw(...) end return CFrame.new() end if type(newcclosure) == "function" then mouseWrapper = newcclosure(mouseWrapper) targetWrapper = newcclosure(targetWrapper) end local hooked = false if type(hookfunction) == "function" and type(OriginalWeaponService.GetMouseTargetCFrame) == "function" and type(OriginalWeaponService.GetTargetPosition) == "function" then local okMouse, rawMouse = pcall(hookfunction, OriginalWeaponService.GetMouseTargetCFrame, mouseWrapper ) local okTarget, rawTarget = pcall(hookfunction, OriginalWeaponService.GetTargetPosition, targetWrapper ) if okMouse and okTarget and type(rawMouse) == "function" and type(rawTarget) == "function" then WeaponServiceMouseRaw = rawMouse WeaponServiceTargetRaw = rawTarget hooked = true end end if not hooked then WeaponServiceMouseRaw = OriginalWeaponService.GetMouseTargetCFrame WeaponServiceTargetRaw = OriginalWeaponService.GetTargetPosition WeaponService.GetMouseTargetCFrame = mouseWrapper WeaponService.GetTargetPosition = targetWrapper end end -- Round state local function updateRoundState() local ok, intel, alive = pcall(getRoundIntel) if ok and intel then State.RoundCombatSuspended = not (#intel.Murderer > 0 and alive > 1) else State.RoundCombatSuspended = true end if State.RoundCombatSuspended then State.WeaponRayWindowUntil = 0 KnifeAimStickyPlayer = nil KnifeAimStickyUntil = 0 end end updateRoundState() pcall(installNamecallHook) pcall(installWeaponHook) local watchedTools = setmetatable({}, {__mode = "k"}) local function armShot() if not State.Running then return end if not getEquippedGunTool() and not getEquippedKnifeTool() then return end State.WeaponRayWindowUntil = os.clock() + 0.05 end local function watchTool(tool) if typeof(tool) ~= "Instance" or not tool:IsA("Tool") or watchedTools[tool] then return end watchedTools[tool] = true track(tool.Activated:Connect(armShot)) end local function watchCharacter(char) for _, tool in ipairs(char:GetChildren()) do watchTool(tool) end track(char.ChildAdded:Connect(watchTool)) end track(UserInputService.InputBegan:Connect(function(input, processed) if not processed and input.UserInputType == Enum.UserInputType.MouseButton1 then armShot() end end)) track(LocalPlayer.CharacterAdded:Connect(function(char) State.RoundCombatSuspended = true State.WeaponRayWindowUntil = 0 watchCharacter(char) task.delay(0.4, updateRoundState) end)) if LocalPlayer.Character then watchCharacter(LocalPlayer.Character) end task.spawn(function() while State.Running do updateRoundState() task.wait(0.6) end end) local discordGui -- Discord local function showDiscord() local playerGui = LocalPlayer:WaitForChild("PlayerGui") local oldGui = playerGui:FindFirstChild("AxonicMM2Discord") if oldGui then oldGui:Destroy() end local gui = Instance.new("ScreenGui") gui.Name = "AxonicMM2Discord" gui.ResetOnSpawn = false gui.IgnoreGuiInset = true gui.DisplayOrder = 100 gui.Parent = playerGui discordGui = gui local panel = Instance.new("Frame") panel.Size = UDim2.fromOffset(340, 188) panel.AnchorPoint = Vector2.new(0.5, 0.5) panel.Position = UDim2.fromScale(0.5, 0.5) panel.BackgroundColor3 = Color3.fromRGB(21, 24, 31) panel.BorderSizePixel = 0 panel.Parent = gui Instance.new("UICorner", panel).CornerRadius = UDim.new(0, 6) local border = Instance.new("UIStroke") border.Color = Color3.fromRGB(52, 58, 70) border.Thickness = 1 border.Parent = panel local scale = Instance.new("UIScale") scale.Parent = panel local function resize() local camera = workspace.CurrentCamera if camera then local size = camera.ViewportSize scale.Scale = math.min(1, size.X / 395, size.Y / 250) end end print("Join https://discord.gg/axonic") resize() if workspace.CurrentCamera then connect(workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"), resize) end local function text(value, y, height, fontSize, color, heavy) local label = Instance.new("TextLabel") label.BackgroundTransparency = 1 label.Size = UDim2.new(1, -32, 0, height) label.Position = UDim2.fromOffset(16, y) label.Font = heavy and Enum.Font.GothamBold or Enum.Font.Gotham label.Text = value label.TextSize = fontSize label.TextColor3 = color label.TextXAlignment = Enum.TextXAlignment.Center label.Parent = panel end text("AXONIC", 13, 20, 12, Color3.fromRGB(165, 174, 190), true) text("Join Discord Axonic", 49, 28, 20, Color3.fromRGB(242, 244, 248), true) text("Join Discord for more open source scripts", 84, 22, 13, Color3.fromRGB(168, 176, 192)) local button = Instance.new("TextButton") button.Size = UDim2.new(1, -36, 0, 40) button.Position = UDim2.new(0, 18, 1, -54) button.BackgroundColor3 = Color3.fromRGB(67, 77, 96) button.BorderSizePixel = 0 button.TextColor3 = Color3.fromRGB(248, 250, 252) button.Font = Enum.Font.GothamSemibold button.TextSize = 14 button.Text = "Copy Invite Link" button.Parent = panel Instance.new("UICorner", button).CornerRadius = UDim.new(0, 5) connect(button.Activated, function() if type(setclipboard) == "function" then setclipboard("https://discord.gg/axonic") button.Text = "Copied!" else button.Text = "discord.gg/axonic" end end) local close = Instance.new("TextButton") close.BackgroundTransparency = 1 close.Size = UDim2.fromOffset(34, 34) close.Position = UDim2.new(1, -40, 0, 4) close.Text = "×" close.ZIndex = 10 close.TextColor3 = Color3.fromRGB(165, 174, 190) close.TextSize = 19 close.Font = Enum.Font.Gotham close.Parent = panel connect(close.Activated, function() gui:Destroy() discordGui = nil end) end showDiscord() env.AxonicMM2SilentStop = function() State.Running = false State.GunAimV2 = false State.KnifeAim = false State.WeaponRayWindowUntil = 0 if type(WeaponService) == "table" then WeaponService.AxonicAimHooked = nil end for _, connection in ipairs(Connections) do pcall(function() connection:Disconnect() end) end if discordGui and discordGui.Parent then discordGui:Destroy() end end