-- [[ 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 StarterGui = game:GetService("StarterGui") local Workspace = game:GetService("Workspace") local function notify(title, text, duration) pcall(function() StarterGui:SetCore("SendNotification", { Title = title, Text = text, Duration = duration or 4, }) end) end local ok, err = pcall(function() local LocalPlayer = Players.LocalPlayer local RaycastModule = require(ReplicatedStorage:WaitForChild("Assets", 10):WaitForChild("Modules", 10):WaitForChild("Raycast", 10)) if type(RaycastModule) ~= "table" or type(RaycastModule.Fire) ~= "function" then error("RaycastModule.Fire khong hop le") end if RaycastModule._saConnections then for _, conn in ipairs(RaycastModule._saConnections) do conn:Disconnect() end end local connections = {} RaycastModule._saConnections = connections local camera = Workspace.CurrentCamera local localChar = LocalPlayer.Character if localChar then localChar:SetAttribute("infiniteStamina", true) end table.insert(connections, Workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function() camera = Workspace.CurrentCamera end)) table.insert(connections, LocalPlayer.CharacterAdded:Connect(function(char) localChar = char char:SetAttribute("infiniteStamina", true) end)) table.insert(connections, LocalPlayer.CharacterRemoving:Connect(function() localChar = nil end)) local targets = {} local targetIndex = {} local pendingConns = {} local function removeTarget(model) local conn = pendingConns[model] if conn then conn:Disconnect() pendingConns[model] = nil end local idx = targetIndex[model] if not idx then return end local lastIdx = #targets if idx ~= lastIdx then local lastEntry = targets[lastIdx] targets[idx] = lastEntry targetIndex[lastEntry.model] = idx end targets[lastIdx] = nil targetIndex[model] = nil end local function tryRegisterModel(model) if not model:IsA("Model") then return end local hum = model:FindFirstChildOfClass("Humanoid") local head = model:FindFirstChild("Head") if hum and head and head:IsA("BasePart") then local idx = targetIndex[model] if idx then targets[idx].hum = hum targets[idx].head = head else local newIdx = #targets + 1 targets[newIdx] = { model = model, hum = hum, head = head } targetIndex[model] = newIdx end local conn = pendingConns[model] if conn then conn:Disconnect() pendingConns[model] = nil end elseif not pendingConns[model] then pendingConns[model] = model.ChildAdded:Connect(function() tryRegisterModel(model) end) end end local function bindCharactersFolder(folder) for _, child in ipairs(folder:GetChildren()) do tryRegisterModel(child) end table.insert(connections, folder.ChildAdded:Connect(tryRegisterModel)) table.insert(connections, folder.ChildRemoved:Connect(removeTarget)) end local charsFolder = Workspace:FindFirstChild("Characters") if charsFolder then bindCharactersFolder(charsFolder) else local waitConn waitConn = Workspace.ChildAdded:Connect(function(child) if child.Name == "Characters" then waitConn:Disconnect() bindCharactersFolder(child) end end) table.insert(connections, waitConn) end local lastFrameTime = -1 local lastHead = nil local function getClosestHeadToCenter() local now = os.clock() if now == lastFrameTime then return lastHead end lastFrameTime = now if not camera then lastHead = nil return nil end local vp = camera.ViewportSize local cx = vp.X * 0.5 local cy = vp.Y * 0.5 local bestHead = nil local bestDistSq = math.huge for i = 1, #targets do local entry = targets[i] local model = entry.model if model ~= localChar then local hum = entry.hum local head = entry.head if hum.Parent == model and head.Parent == model and hum.Health > 0 then local sp, onScreen = camera:WorldToViewportPoint(head.Position) 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 bestHead = head end end end end end lastHead = bestHead return bestHead end local oldFire = RaycastModule._origFire or RaycastModule.Fire RaycastModule._origFire = oldFire RaycastModule.Fire = function(self, origin, direction, speed, behavior) local head = getClosestHeadToCenter() if head and typeof(origin) == "Vector3" then local delta = head.Position - origin if delta.Magnitude > 0.001 then local dir = delta.Unit local teleportOrigin = head.Position - dir * 1 return oldFire(self, teleportOrigin, dir, speed, behavior) end end return oldFire(self, origin, direction, speed, behavior) end end) if ok then notify("Silent Aim", "Thanh cong! Da bat Silent Aim + Inf Stamina.", 4) else notify("Silent Aim", "Fail: " .. tostring(err), 6) end