-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Settings = { SilentAim = true, Hitscan = true, NoRecoil = true, NoSpread = true, TargetPart = "Head", TargetPlayers = true, TargetZombies = true, SilentAimMaxDistance = 1000, PlayerESP = true, VehicleESP = true, ESPShowDistance = true, VehicleSpeedHack = true, VehicleDriveNoFuel = true, VehicleMaxSpeed = 120 } local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local StarterGui = game:GetService("StarterGui") local UserInputService = game:GetService("UserInputService") local Camera = workspace.CurrentCamera local GetMouseLocation = UserInputService.GetMouseLocation local WorldToViewportPoint = Camera and Camera.WorldToViewportPoint workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function() Camera = workspace.CurrentCamera WorldToViewportPoint = Camera and Camera.WorldToViewportPoint or nil end) local setreadonly = setreadonly or (table and table.setreadonly) or make_writable or make_writeable local function makeWritable(t) if setreadonly and type(t) == "table" then pcall(setreadonly, t, false) end end local espGuiContainer = (gethui and gethui()) or game:GetService("CoreGui") local oldEspFolder = espGuiContainer:FindFirstChild("AR2_ESP_Folder") if oldEspFolder then oldEspFolder:Destroy() end local espFolder = Instance.new("Folder") espFolder.Name = "AR2_ESP_Folder" espFolder.Parent = espGuiContainer local success, err = pcall(function() local Framework = require(game:GetService("ReplicatedFirst"):WaitForChild("Framework")) local VehicleControler = Framework.require("Classes", "VehicleControler") local PlayersClass = Framework.require("Classes", "Players") local ItemData = Framework.require("Configs", "ItemData") local GlobalsConfig = Framework.require("Configs", "Globals") local Reticle = (Framework.Interface and Framework.Interface.Reticle) or Framework.require("Interface", "Reticle") if Settings.Hitscan and GlobalsConfig then makeWritable(GlobalsConfig) GlobalsConfig.ProjectileGravity = 0 end local RECOIL_KEYS = { "RecoilData", "RecoilDataCrouched" } local SPREAD_MOD_KEYS = { "HipSpread", "AimingSpread" } local zeroedRecoilCache = setmetatable({}, { __mode = "k" }) local hitscanFireCache = setmetatable({}, { __mode = "k" }) local hookedItems = setmetatable({}, { __mode = "k" }) local function cloneTable(src, zeroNumbers) local copy = {} for k, v in pairs(src) do if zeroNumbers and type(v) == "number" then copy[k] = 0 elseif type(v) == "table" then copy[k] = cloneTable(v, zeroNumbers) else copy[k] = v end end return copy end local function zeroAttachmentSpread(item) if not Settings.NoSpread then return end local mods = item.AttachmentStatMods if type(mods) ~= "table" then return end for i = 1, 2 do local mod = mods[SPREAD_MOD_KEYS[i]] if type(mod) == "table" then makeWritable(mod) mod.Multiplier = 0 mod.Bonus = 0 end end end local function patchFirearm(item) if not item or item.Type ~= "Firearm" then return end local rawItem = rawget(item, "__item") local baseData = ItemData[item.Name] if not rawItem or not baseData then return end if Settings.Hitscan and baseData.FireConfig then local fc = baseData.FireConfig local cached = hitscanFireCache[fc] if not cached then cached = cloneTable(fc, false) cached.MuzzleVelocity = 500000 hitscanFireCache[fc] = cached end rawset(rawItem, "FireConfig", cached) end if Settings.NoRecoil or Settings.NoSpread then for i = 1, 2 do local key = RECOIL_KEYS[i] local rd = baseData[key] if rd then local cached = zeroedRecoilCache[rd] if not cached then cached = cloneTable(rd, true) cached.SpreadBase = 0 cached.SpreadAddTPSHip = 0 cached.SpreadAddTPSZoom = 0 cached.SpreadAddFPSHip = 0 cached.SpreadAddFPSZoom = 0 cached.SpreadAddFalling = 0 cached.SpreadAddMoving = 0 cached.ShiftForce = 0 cached.RaiseForce = 0 cached.SlideForce = 0 cached.KickUpForce = 0 cached.RollLeftBias = 0 cached.RollRightBias = 0 cached.ShiftShape = { 0, 0 } zeroedRecoilCache[rd] = cached end rawset(rawItem, key, cached) end end end zeroAttachmentSpread(item) if not hookedItems[item] and item.Changed then hookedItems[item] = true item.Changed:Connect(function(prop) if prop == "Attachments" then task.defer(zeroAttachmentSpread, item) end end) end end local function bindCharacterWeaponPatch(charObj) if not charObj then return end patchFirearm(charObj.EquippedItem) if charObj.Inventory then if type(charObj.Inventory.Containers) == "table" then for _, container in next, charObj.Inventory.Containers do if type(container.Occupants) == "table" then for _, item in next, container.Occupants do patchFirearm(item) end end end end if type(charObj.Inventory.Equipment) == "table" then for _, item in next, charObj.Inventory.Equipment do patchFirearm(item) end end end if charObj.EquipmentChanged then charObj.EquipmentChanged:Connect(function() patchFirearm(charObj.EquippedItem) end) end end local localPlayerObj = PlayersClass and PlayersClass.get() if localPlayerObj then if localPlayerObj.Character then bindCharacterWeaponPatch(localPlayerObj.Character) end if localPlayerObj.CharacterAdded then localPlayerObj.CharacterAdded:Connect(bindCharacterWeaponPatch) end end local corpsesFolder = workspace:WaitForChild("Corpses", 10) local zombiesFolder = workspace:WaitForChild("Zombies", 10) local vehiclesFolder = workspace:WaitForChild("Vehicles", 10) local charactersFolder = workspace:WaitForChild("Characters", 10) local localPlayerChar = LocalPlayer.Character local localPlayerRoot = localPlayerChar and localPlayerChar:FindFirstChild("HumanoidRootPart") local removeTarget local function onLocalCharacter(char) localPlayerChar = char localPlayerRoot = nil if char then if removeTarget then removeTarget(char) end local root = char:FindFirstChild("HumanoidRootPart") or char:WaitForChild("HumanoidRootPart", 10) if localPlayerChar == char then localPlayerRoot = root end end end if localPlayerChar and not localPlayerRoot then task.spawn(onLocalCharacter, localPlayerChar) end LocalPlayer.CharacterAdded:Connect(onLocalCharacter) LocalPlayer.CharacterRemoving:Connect(function() localPlayerChar = nil localPlayerRoot = nil end) local playerColor = Color3.fromRGB(255, 50, 50) local vehicleColor = Color3.fromRGB(0, 220, 255) local espTextSize = UDim2.fromOffset(160, 24) local espStudsOffset = Vector3.new(0, 2.5, 0) local espStrokeColor = Color3.new(0, 0, 0) local espEntries = {} local function removeESP(model) local entry = espEntries[model] if not entry then return end entry.highlight:Destroy() entry.billboard:Destroy() espEntries[model] = nil end local function addESP(model, adornee, labelText, color) local existing = espEntries[model] if existing then existing.adornee = adornee existing.labelText = labelText existing.lastDist = -1 existing.billboard.Adornee = adornee existing.textLabel.Text = labelText return end local bb = Instance.new("BillboardGui") bb.Name = "AR2_ESP_BB" bb.Adornee = adornee bb.AlwaysOnTop = true bb.Size = espTextSize bb.StudsOffset = espStudsOffset bb.MaxDistance = 3000 bb.Parent = espFolder local lbl = Instance.new("TextLabel") lbl.BackgroundTransparency = 1 lbl.Size = UDim2.fromScale(1, 1) lbl.Font = Enum.Font.GothamBold lbl.TextSize = 13 lbl.TextColor3 = color lbl.TextStrokeTransparency = 0.25 lbl.TextStrokeColor3 = espStrokeColor lbl.Text = labelText lbl.Parent = bb local hl = Instance.new("Highlight") hl.Name = "ESPHighlight" hl.Adornee = model hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop hl.FillTransparency = 1 hl.OutlineTransparency = 0 hl.OutlineColor = color hl.Parent = espFolder espEntries[model] = { adornee = adornee, labelText = labelText, lastDist = -1, billboard = bb, textLabel = lbl, highlight = hl } end local targetChars = {} local targetParts = {} local targetIsZombie = {} local targetIndexMap = {} local targetCount = 0 local targetPartName = Settings.TargetPart removeTarget = function(character) removeESP(character) local idx = targetIndexMap[character] if not idx then return end if idx ~= targetCount then local lastChar = targetChars[targetCount] targetChars[idx] = lastChar targetParts[idx] = targetParts[targetCount] targetIsZombie[idx] = targetIsZombie[targetCount] targetIndexMap[lastChar] = idx end targetChars[targetCount] = nil targetParts[targetCount] = nil targetIsZombie[targetCount] = nil targetIndexMap[character] = nil targetCount -= 1 end local function addTarget(character, isZombie, displayName) if not character or targetIndexMap[character] or character == localPlayerChar or character.Name == LocalPlayer.Name then return end local part = character:FindFirstChild(targetPartName) local controller = character:FindFirstChildOfClass("Humanoid") or character:FindFirstChildOfClass("AnimationController") if part and (controller or isZombie) then if not character.Parent or (corpsesFolder and character.Parent == corpsesFolder) then return end targetCount += 1 targetChars[targetCount] = character targetParts[targetCount] = part targetIsZombie[targetCount] = isZombie targetIndexMap[character] = targetCount if not isZombie and Settings.PlayerESP then addESP(character, character:FindFirstChild("HumanoidRootPart") or part, displayName or character.Name, playerColor) end if controller and controller:IsA("Humanoid") then controller.Died:Once(function() removeTarget(character) end) end else local cAdded, ancConn cAdded = character.ChildAdded:Connect(function() part = part or character:FindFirstChild(targetPartName) controller = controller or character:FindFirstChildOfClass("Humanoid") or character:FindFirstChildOfClass("AnimationController") if part and (controller or isZombie) then cAdded:Disconnect() if ancConn then ancConn:Disconnect() end addTarget(character, isZombie, displayName) end end) ancConn = character.AncestryChanged:Connect(function(_, parent) if not parent or (corpsesFolder and parent == corpsesFolder) then if cAdded.Connected then cAdded:Disconnect() end if ancConn.Connected then ancConn:Disconnect() end removeTarget(character) end end) end end local playerConnections = {} local playerCleanups = {} local function handlePlayer(player) if player == LocalPlayer then return end local name = player.DisplayName or player.Name local function bindChar(char) if not char then return end addTarget(char, false, name) if playerCleanups[player] then playerCleanups[player]:Disconnect() end playerCleanups[player] = char.AncestryChanged:Connect(function(_, parent) if not parent or (corpsesFolder and parent == corpsesFolder) then removeTarget(char) end end) end if player.Character then bindChar(player.Character) end if playerConnections[player] then playerConnections[player]:Disconnect() end playerConnections[player] = player.CharacterAdded:Connect(bindChar) end Players.PlayerRemoving:Connect(function(player) if playerConnections[player] then playerConnections[player]:Disconnect() playerConnections[player] = nil end if playerCleanups[player] then playerCleanups[player]:Disconnect() playerCleanups[player] = nil end if player.Character then removeTarget(player.Character) end end) for _, p in ipairs(Players:GetPlayers()) do handlePlayer(p) end Players.PlayerAdded:Connect(handlePlayer) if charactersFolder then for _, char in ipairs(charactersFolder:GetChildren()) do addTarget(char, false, char.Name) end charactersFolder.ChildAdded:Connect(function(char) addTarget(char, false, char.Name) end) charactersFolder.ChildRemoved:Connect(removeTarget) end if zombiesFolder then for _, zombie in ipairs(zombiesFolder:GetChildren()) do addTarget(zombie, true) end zombiesFolder.ChildAdded:Connect(function(zombie) addTarget(zombie, true) end) zombiesFolder.ChildRemoved:Connect(removeTarget) end if Settings.VehicleESP and vehiclesFolder then local function handleVehicle(v) if not v:IsA("Model") then return end local mainPart = v.PrimaryPart or v:FindFirstChild("Base") or v:FindFirstChildWhichIsA("BasePart", true) if mainPart then addESP(v, mainPart, v.Name, vehicleColor) else local conn, ancConn conn = v.DescendantAdded:Connect(function(desc) if desc:IsA("BasePart") then conn:Disconnect() if ancConn then ancConn:Disconnect() end addESP(v, v.PrimaryPart or desc, v.Name, vehicleColor) end end) ancConn = v.AncestryChanged:Connect(function(_, parent) if not parent then if conn.Connected then conn:Disconnect() end if ancConn.Connected then ancConn:Disconnect() end end end) end end for _, v in ipairs(vehiclesFolder:GetChildren()) do handleVehicle(v) end vehiclesFolder.ChildAdded:Connect(handleVehicle) vehiclesFolder.ChildRemoved:Connect(removeESP) end if Settings.ESPShowDistance then task.spawn(function() while espFolder.Parent do local camPos = Camera and Camera.CFrame.Position if camPos then for model, entry in pairs(espEntries) do local adornee = entry.adornee if not model.Parent or not adornee or not adornee.Parent then removeESP(model) else local dist = math.floor((adornee.Position - camPos).Magnitude) if dist ~= entry.lastDist then entry.lastDist = dist entry.textLabel.Text = string.format("%s [%dm]", entry.labelText, dist) end end end end task.wait(0.25) end end) end if Settings.VehicleSpeedHack and VehicleControler then local maxSpeed = Settings.VehicleMaxSpeed local fullSteer = 12 local noSteer = math.max(145, maxSpeed * 1.2) local function hackVehiclePhysics(controller) local config = controller and controller.Config local physics = config and config.Physics if type(physics) ~= "table" then return end makeWritable(config) makeWritable(physics) physics.DriveSpeed = maxSpeed physics.ReverseSpeed = math.min(maxSpeed, 80) if not physics.BoatMode then physics.FullSteeringUntil = fullSteer physics.NoSteeringAfter = noSteer if type(physics.MaterialGrip) == "table" then makeWritable(physics.MaterialGrip) for _, gripConfig in pairs(physics.MaterialGrip) do if type(gripConfig) == "table" and type(gripConfig.Speed) == "number" and gripConfig.Speed < 1 then makeWritable(gripConfig) gripConfig.Speed = 1 end end end end end local oldNew = VehicleControler.new if debug and debug.getupvalues then for _, upv in pairs(debug.getupvalues(oldNew)) do if type(upv) == "table" then for _, controller in pairs(upv) do if type(controller) == "table" and controller.Instance and controller.Config then pcall(hackVehiclePhysics, controller) end end end end end makeWritable(VehicleControler) VehicleControler.new = function(instance, ...) local controller = oldNew(instance, ...) pcall(hackVehiclePhysics, controller) return controller end if Settings.VehicleDriveNoFuel and VehicleControler.Step then local oldStep = VehicleControler.Step VehicleControler.Step = function(self, dt, overrideMove) self.Drivable = true return oldStep(self, dt, overrideMove) end end end assert(Reticle and Reticle.GetFirearmTargetInfo, "Reticle.GetFirearmTargetInfo not found") local os_clock = os.clock local oldGetFirearmTargetInfo = Reticle.GetFirearmTargetInfo local cachedTarget = nil local lastAimClock = 0 makeWritable(Reticle) Reticle.GetFirearmTargetInfo = function(self, charObj, camObj, gunModel, isMelee) local origin, lookVector, flag = oldGetFirearmTargetInfo(self, charObj, camObj, gunModel, isMelee) if Settings.SilentAim and not isMelee and origin then local now = os_clock() if now - lastAimClock > 0.016 or not cachedTarget or not cachedTarget.Parent or not targetIndexMap[cachedTarget.Parent] then lastAimClock = now if not Camera or not WorldToViewportPoint or not localPlayerRoot or targetCount == 0 then cachedTarget = nil else local myPos = localPlayerRoot.Position local maxDist3DSqr = Settings.SilentAimMaxDistance * Settings.SilentAimMaxDistance local targetPlayers = Settings.TargetPlayers local targetZombies = Settings.TargetZombies local mousePos = GetMouseLocation(UserInputService) local mouseX, mouseY = mousePos.X, mousePos.Y local bestDist = math.huge local bestPart = nil for i = 1, targetCount do local isZ = targetIsZombie[i] if (isZ and targetZombies) or (not isZ and targetPlayers) then local part = targetParts[i] if part and part.Parent then local pPos = part.Position local offset = pPos - myPos if offset:Dot(offset) <= maxDist3DSqr then local screenPos, onScreen = WorldToViewportPoint(Camera, pPos) if onScreen then local dx = screenPos.X - mouseX local dy = screenPos.Y - mouseY local d2 = dx * dx + dy * dy if d2 < bestDist then bestDist = d2 bestPart = part end end end end end end cachedTarget = bestPart end end local target = cachedTarget if target and target.Parent then local diff = target.Position - origin if diff.Magnitude > 0 then lookVector = diff.Unit end end end return origin, lookVector, flag end end) pcall(function() StarterGui:SetCore("SendNotification", { Title = success and "Apocalypse Rising 2" or "Load Error", Text = success and "Loaded! Max Client Mode." or tostring(err), Duration = 6 }) end) if not success then warn("Script Error: " .. tostring(err)) end