-- Made by crimsonfied for any game! -- This script is 100% customizable via the settings below -- If you enjoy and look forward to more universal scripts in the future, -- please follow me on rscripts and leave a like on the script!! -- https://rscripts.net/script/universal-sticky-aim-closet-cheating-6FVx -- https://discord.com/invite/wzruBess87 local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Cam = workspace.CurrentCamera local LP = Players.LocalPlayer local RS = game:GetService("RunService") local S = { FOV = 100, MaxDist = 450, BaseSmooth = 20, Sticky = 30, HeadOff = Vector3.new(0,0.6,0), TeamCheck = true } local function isVisible(part) local origin = Cam.CFrame.Position local direction = (part.Position - origin) local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Blacklist params.FilterDescendantsInstances = {LP.Character} local hit = workspace:Raycast(origin, direction, params) if not hit then return true end return hit.Instance:IsDescendantOf(part.Parent) end local function getTgt() local lc = LP.Character if not lc or not lc:FindFirstChild("HumanoidRootPart") then return end local sc = Vector2.new(Cam.ViewportSize.X/2, Cam.ViewportSize.Y/2) local best, md = nil, 99999 for _, p in ipairs(Players:GetPlayers()) do if p ~= LP then if not S.TeamCheck or (p.Team ~= LP.Team) then if p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local hum = p.Character:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then local hrp = p.Character.HumanoidRootPart local head = p.Character:FindFirstChild("Head") if head then if isVisible(head) then local pos, vis = Cam:WorldToScreenPoint(hrp.Position + S.HeadOff) if vis then local d_screen = (Vector2.new(pos.X,pos.Y) - sc).Magnitude local d_world = (hrp.Position - lc.HumanoidRootPart.Position).Magnitude if d_screen < S.FOV and d_world < S.MaxDist and d_screen < md then md = d_screen best = p.Character end end end end end end end end end return best end local function stick(tgt) if not tgt then return end local head = tgt:FindFirstChild("Head") if not head then return end local cf = Cam.CFrame local pos = head.Position local sc = Vector2.new(Cam.ViewportSize.X/2, Cam.ViewportSize.Y/2) local sp, vis = Cam:WorldToScreenPoint(pos) if not vis then return end local off = Vector2.new(sp.X,sp.Y) - sc local dist = off.Magnitude local sm = S.BaseSmooth if dist < S.Sticky then sm = sm * (dist / S.Sticky) end local want = CFrame.new(cf.Position, pos) Cam.CFrame = cf:Lerp(want, 1/sm) end RunService.RenderStepped:Connect(function() local t = getTgt() stick(t) end)