-- [[ 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 LocalPlayer = Players.LocalPlayer local RunService = game:GetService("RunService") local Camera = workspace.CurrentCamera local UserInputService = game:GetService("UserInputService") -- CHANGE CONFIG HERE local Settings = { Enabled = true, FOV = 300, AimPart = "Head", } local CurrentTarget = nil local function IsAlive(p) return p.Character and p.Character:FindFirstChild("HumanoidRootPart") and p.Character:FindFirstChild("Humanoid") and p:GetAttribute("Health") > 0 and p:GetAttribute("Team") ~= "Spectator" and p:GetAttribute("Alive") end RunService.RenderStepped:Connect(function() CurrentTarget = nil if not Settings.Enabled then return end local closest = Settings.FOV for _, p in ipairs(Players:GetPlayers()) do if p == LocalPlayer or not IsAlive(p) then continue end if p:GetAttribute("Team") == LocalPlayer:GetAttribute("Team") then continue end if p.Character:FindFirstChildWhichIsA("ForceField") then continue end local part = p.Character:FindFirstChild(Settings.AimPart) or p.Character:FindFirstChild("HumanoidRootPart") if not part then continue end local pos, onScreen = Camera:WorldToViewportPoint(part.Position) if not onScreen or pos.Z <= 0 then continue end local mouse = UserInputService:GetMouseLocation() local mag = (Vector2.new(pos.X, pos.Y) - mouse).Magnitude if mag <= closest then closest = mag CurrentTarget = part end end end) local old old = hookmetamethod(game, "__namecall", newcclosure(function(self, ...) local method = getnamecallmethod() local args = { ... } if method == "Raycast" and self == workspace and Settings.Enabled and CurrentTarget then local origin, direction = args[1], args[2] if typeof(origin) == "Vector3" and typeof(direction) == "Vector3" then args[2] = (CurrentTarget.Position - origin).Unit * direction.Magnitude return old(self, unpack(args)) end end return old(self, ...) end))