-- [[ 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 Camera = workspace.CurrentCamera local UserInputService = game:GetService("UserInputService") local Players = game.Players local LocalPlayer = Players.LocalPlayer function GetTarget() local MouseLocation = UserInputService:GetMouseLocation() local FinalPart, Distance = nil, math.huge for _, plr in Players:GetPlayers() do if plr == LocalPlayer then continue end; local Data = plr.Character if not Data then continue end; local AimPart = Data:FindFirstChild("Head") if not AimPart then continue end; local ScreenPos, OnScreen = Camera:WorldToViewportPoint(AimPart.Position) if not OnScreen then continue end; local Dist = (Vector2.new(ScreenPos.X, ScreenPos.Y) - MouseLocation).Magnitude local vp = Camera.ViewportSize if Distance < Dist then continue end; Distance = Dist FinalPart = AimPart end; return FinalPart end; local BulletRayCast = filtergc("function", {Name = 'BulletRayCast'}, true) if isfunctionhooked(BulletRayCast) then restorefunction(BulletRayCast) end local old; old = hookfunction(BulletRayCast, function(p22, p23, p24, p25, ...) local t = GetTarget() --p22 is origin, p23 is direction. if t then local dir = (t.Position - p22).Unit p23 = dir -- u cant manip this much and ion feel like adding better manip logic :( --p22 = t.Position - dir * 3 --elseif not t and FLAGS.combat.nospread then -- p23 = Camera.CFrame.LookVector end return old(p22, p23, p24, p25, ...) end) warn('hacked in the niggaframe')