-- [[ 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 Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local StarterGui = game:GetService("StarterGui") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local FireRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Fire") local AIM_PART = "Head" local INCLUDE_DUMMIES = true local MAX_RANGE_SQ = 500 * 500 local ESP_ENABLED = true local ESP_BOX_COLOR = Color3.fromRGB(255, 50, 50) local ESP_BOX_THICKNESS = 1 local TOP_OFFSET = Vector3.new(0, 2.5, 0) local BOT_OFFSET = Vector3.new(0, 3.2, 0) local emptyGlass = {} local tracked = {} local dummiesFolder = nil local function getDummiesFolder() if dummiesFolder and dummiesFolder.Parent then return dummiesFolder end local d = Workspace:FindFirstChild("Dummies") if not d then local tz = Workspace:FindFirstChild("TestZone") d = tz and tz:FindFirstChild("Dummies") or nil end dummiesFolder = d return d end local function hasSpawnShield(model) local attr = model:GetAttribute("SpawnShield") return attr == true or (type(attr) == "number" and Workspace:GetServerTimeNow() < attr) end local function getAimPart(model) return model:FindFirstChild(AIM_PART) or model:FindFirstChild("Head") or model:FindFirstChild("UpperTorso") or model:FindFirstChild("HumanoidRootPart") end local function untrackModel(model) local entry = tracked[model] if not entry then return end if entry.diedConn then entry.diedConn:Disconnect() end if entry.ancestryConn then entry.ancestryConn:Disconnect() end if entry.box then entry.box.Visible = false entry.box:Remove() end tracked[model] = nil end local function trackModel(model, player) if not model or not model:IsA("Model") or model == LocalPlayer.Character or tracked[model] then return end local hum = model:FindFirstChildOfClass("Humanoid") if not hum or hum.Health <= 0 then return end local box = nil if ESP_ENABLED and Drawing then box = Drawing.new("Square") box.Visible = false box.Filled = false box.Thickness = ESP_BOX_THICKNESS box.Color = ESP_BOX_COLOR end local entry = { box = box, hum = hum, part = getAimPart(model), root = model:FindFirstChild("HumanoidRootPart") or model:FindFirstChild("UpperTorso"), player = player, } tracked[model] = entry entry.diedConn = hum.Died:Connect(function() untrackModel(model) end) entry.ancestryConn = model.AncestryChanged:Connect(function(_, parent) if not parent then untrackModel(model) end end) end local function hookPlayer(plr) if plr == LocalPlayer then return end if plr.Character then task.defer(trackModel, plr.Character, plr) end plr.CharacterAdded:Connect(function(char) char:WaitForChild("Humanoid", 5) trackModel(char, plr) end) plr.CharacterRemoving:Connect(untrackModel) end for _, plr in ipairs(Players:GetPlayers()) do hookPlayer(plr) end Players.PlayerAdded:Connect(hookPlayer) Players.PlayerRemoving:Connect(function(plr) if plr.Character then untrackModel(plr.Character) end end) if INCLUDE_DUMMIES then local function hookDummies(folder) if not folder then return end for _, m in ipairs(folder:GetChildren()) do trackModel(m, nil) end folder.ChildAdded:Connect(function(m) task.defer(trackModel, m, nil) end) folder.ChildRemoved:Connect(untrackModel) end hookDummies(getDummiesFolder()) end local function getClosestToCenter(originOverride) local vp = Camera.ViewportSize local cx = vp.X * 0.5 local cy = vp.Y * 0.5 local myChar = LocalPlayer.Character local myHead = myChar and myChar:FindFirstChild("Head") local checkOrigin = originOverride or (myHead and myHead.Position) or Camera.CFrame.Position local bestChar = nil local bestPart = nil local bestDistSq = math.huge for char, entry in pairs(tracked) do local hum = entry.hum if hum and hum.Health > 0 and not char:GetAttribute("InSafeZone") and not hasSpawnShield(char) then local plr = entry.player if not (plr and plr:GetAttribute("InTutorial") ~= nil) then local part = entry.part if not part or not part.Parent then part = getAimPart(char) entry.part = part end if part and part:IsA("BasePart") then local pos = part.Position local d = pos - checkOrigin if d:Dot(d) <= MAX_RANGE_SQ then local sp, onScreen = Camera:WorldToViewportPoint(pos) if onScreen and sp.Z > 0 then local dx = sp.X - cx local dy = sp.Y - cy local distSq = dx * dx + dy * dy if distSq < bestDistSq then bestDistSq = distSq bestChar = char bestPart = part end end end end end end end return bestChar, bestPart end if ESP_ENABLED and Drawing then RunService.RenderStepped:Connect(function() for char, entry in pairs(tracked) do local box = entry.box if box then local hum = entry.hum local root = entry.root if not root or not root.Parent then root = char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("UpperTorso") entry.root = root end if hum and hum.Health > 0 and root then local rootPos = root.Position local topPos, topVis = Camera:WorldToViewportPoint(rootPos + TOP_OFFSET) local botPos, botVis = Camera:WorldToViewportPoint(rootPos - BOT_OFFSET) if (topVis or botVis) and topPos.Z > 0 and botPos.Z > 0 then local h = botPos.Y - topPos.Y if h > 2 then local w = h * 0.58 local cx = (topPos.X + botPos.X) * 0.5 box.Size = Vector2.new(w, h) box.Position = Vector2.new(cx - w * 0.5, topPos.Y) box.Visible = true else box.Visible = false end else box.Visible = false end else box.Visible = false end end end end) end local function handleFire(oldOut, callback, remote, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) if typeof(a1) == "Vector3" then local targetChar, targetPart = getClosestToCenter(a1) if targetChar and targetPart then local targetPos = targetPart.Position local delta = targetPos - a1 local dir = delta:Dot(delta) > 0.0001 and delta.Unit or a2 local camOrigin = typeof(a11) == "Vector3" and a11 or Camera.CFrame.Position local camDelta = targetPos - camOrigin local camDir = camDelta:Dot(camDelta) > 0.0001 and camDelta.Unit or dir if typeof(a3) == "string" then return oldOut(callback, remote, a1, dir, a3, a4, a5, a6, a7, a8, a9, a10, camOrigin, camDir, targetPos) else return oldOut(callback, remote, a1, dir, targetChar, targetPart.Name, targetPos, nil, emptyGlass, nil, a9, a10, camOrigin, camDir, targetPos) end end end return oldOut(callback, remote, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) end local hookedCount = 0 for _, v in ipairs(getgc(true)) do if type(v) == "table" then local outFn = rawget(v, "Out") local inFn = rawget(v, "In") local wrapFn = rawget(v, "Wrap") if type(outFn) == "function" and outFn == inFn and type(wrapFn) == "function" then local oldOut = outFn v.Out = function(callback, remote, ...) if remote == FireRemote then return handleFire(oldOut, callback, remote, ...) end return oldOut(callback, remote, ...) end hookedCount += 1 end end end pcall(function() StarterGui:SetCore("SendNotification", { Title = "Silent Aim", Text = hookedCount > 0 and ("Thanh cong! (" .. hookedCount .. ")") or "That bai! Khong tim thay NetLag", Duration = 4, }) end)