-- [[ 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 Workspace = game:GetService("Workspace") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Camera = Workspace.CurrentCamera local LocalPlayer = Players.LocalPlayer local FastCast = require(ReplicatedStorage.Common.Components.FastCastRedux) local ByteNetClient = require(ReplicatedStorage.Common.Components.ByteNet.process.client) local function getTarget() local closest = nil local min = math.huge local myChar = LocalPlayer.Character if not myChar or not myChar:FindFirstChild("HumanoidRootPart") then return nil end for _, player in Players:GetPlayers() do if player ~= LocalPlayer and player.Character then local char = player.Character local hum = char:FindFirstChildOfClass("Humanoid") local head = char:FindFirstChild("Head") if hum and hum.Health > 0 and head then local pos, onScreen = Camera:WorldToViewportPoint(head.Position) if onScreen then local mouse = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) local dist = (Vector2.new(pos.X, pos.Y) - mouse).Magnitude if dist < min then min = dist closest = head end end end end end return closest end local oldFire oldFire = hookfunction(FastCast.Fire, function(self, origin, direction, velocity, behavior) local target = getTarget() if target then direction = (target.Position - origin).Unit end return oldFire(self, origin, direction, velocity, behavior) end) local oldReliable oldReliable = hookfunction(ByteNetClient.sendReliable, function(packetId, writeFunc, payload) if type(payload) == "table" and payload.origin and payload.direction then local target = getTarget() if target then payload.direction = (target.Position - payload.origin).Unit end end return oldReliable(packetId, writeFunc, payload) end) local oldUnreliable oldUnreliable = hookfunction(ByteNetClient.sendUnreliable, function(packetId, writeFunc, payload) if type(payload) == "table" and payload.origin and payload.direction then local target = getTarget() if target then payload.direction = (target.Position - payload.origin).Unit end end return oldUnreliable(packetId, writeFunc, payload) end)