-- [[ 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 p2 = game:GetService("Players") local R = game:GetService("ReplicatedStorage") local W = game:GetService("Workspace") local p1 = p2.LocalPlayer local Until = { SilentAim = true, TargetPart = "Head", FOV = 150, bot = true, } local ActiveTargets: { BasePart } = {} local function isEnemyCharacter(model: Model): boolean local player = p2:GetPlayerFromCharacter(model) if player then return player ~= p1 end return Until.bot end task.spawn(function() while true do local targets: { BasePart } = {} local localChar = p1.Character for _, child in ipairs(W:GetChildren()) do if child:IsA("Model") and child ~= localChar then local humanoid = child:FindFirstChildOfClass("Humanoid") local targetPart = child:FindFirstChild(Until.TargetPart) if humanoid and humanoid.Health > 0 and targetPart and targetPart:IsA("BasePart") then if isEnemyCharacter(child) then table.insert(targets, targetPart) end end end end ActiveTargets = targets task.wait(0.5) end end) local function getClosestTarget(): (Vector3?, BasePart?) if not Until.SilentAim then return nil, nil end local camera = W.CurrentCamera if not camera or not camera:IsA("Camera") then return nil, nil end local closestDist = Until.FOV local closestPos: Vector3? = nil local closestPart: BasePart? = nil local viewportSize = camera.ViewportSize local screenCenter = Vector2.new(viewportSize.X / 2, viewportSize.Y / 2) for _, part in ipairs(ActiveTargets) do if part and part.Parent then local screenPos, onScreen = camera:WorldToViewportPoint(part.Position) if onScreen and screenPos.Z > 0 then local dist = (Vector2.new(screenPos.X, screenPos.Y) - screenCenter).Magnitude if dist < closestDist then closestDist = dist closestPos = part.Position closestPart = part end end end end return closestPos, closestPart end local WeaponBallistics = require(R:WaitForChild("Modules"):WaitForChild("WeaponBallistics")) local o1 o1 = hookfunction(WeaponBallistics.Directions, newcclosure(function(weaponCfg, aimCFrame, spread, rng) if Until.SilentAim and aimCFrame then local targetPos, targetPart = getClosestTarget() if targetPos and targetPart then local origin = aimCFrame.Position local delta = targetPos - origin if delta.Magnitude > 1e-4 then local aimedCFrame = CFrame.lookAt(origin, targetPos) return o1(weaponCfg, aimedCFrame, 0, rng) end end end return o1(weaponCfg, aimCFrame, spread, rng) end)) local o2 o2 = hookfunction(WeaponBallistics.Trace, newcclosure(function(origin, direction, weaponCfg, ignoreList, options) if Until.SilentAim and origin and direction then local isVisualOnly = options and options.ignoreCharacters == true if not isVisualOnly then local targetPos, targetPart = getClosestTarget() if targetPos and targetPart then local delta = targetPos - origin if delta.Magnitude > 1e-4 then local mag = direction.Magnitude > 1e-4 and direction.Magnitude or 1 return o2(origin, delta.Unit * mag, weaponCfg, ignoreList, options) end end end end return o2(origin, direction, weaponCfg, ignoreList, options) end))