-- [[ 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 ]] --[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6b13815236fcee5ec93fa90a"))() end) end) --[[rscripts:analytics:end]] local cfg = { sm = true, targetpart = "Head", fov = 150 } local players = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local lp = players.LocalPlayer local kinetic = rs:WaitForChild("Kinetic") local client = kinetic:WaitForChild("Client") local camerafx = require(client:WaitForChild("CameraFX")) local aim = kinetic:WaitForChild("Aim") local activetargets = {} task.spawn(function() while task.wait(0.5) do local t = {} local myTeam = lp.Team for _, p in ipairs(players:GetPlayers()) do if p ~= lp then local c = p.Character local h = c and c:FindFirstChildOfClass("Humanoid") local part = c and c:FindFirstChild(cfg.targetpart) local sameTeam = (myTeam ~= nil and p.Team == myTeam) if h and h.Health > 0 and part and not sameTeam and not c:GetAttribute("KDecoy") then table.insert(t, part) end end end activetargets = t end end) local function getClosestTarget() if not cfg.sm then return nil, nil end local currentCam = workspace.CurrentCamera if not currentCam then return nil, nil end local dist, pos, target = cfg.fov, nil, nil local center = currentCam.ViewportSize / 2 for _, part in ipairs(activetargets) do if part and part.Parent then local sp, on = currentCam:WorldToViewportPoint(part.Position) local d = (Vector2.new(sp.X, sp.Y) - center).Magnitude if on and d < dist then dist, pos, target = d, part.Position, part end end end return pos, target end local h1 h1 = hookfunction(camerafx.aimCFrame, function(self, ...) local cf = h1(self, ...) if cfg.sm and typeof(cf) == "CFrame" then local pos = getClosestTarget() if pos then return CFrame.lookAt(cf.Position, pos) end end return cf end) local h2 h2 = hookfunction(workspace.Raycast, function(self, origin, direction, params, ...) local currentCam = workspace.CurrentCamera if cfg.sm and self == workspace and currentCam and (origin - currentCam.CFrame.Position).Magnitude < math.huge then local pos = getClosestTarget() if pos then direction = (pos - origin).Unit * direction.Magnitude end end return h2(self, origin, direction, params, ...) end)