-- [[ 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 ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Teams = game:GetService("Teams") local Enabled = true local FovRadius = 140 local FovMode = "Center" local TargetPart = "Head" local TeamCheck = true local HostileCheck = true local AllowTrespassing = true local WallCheck = true local ShowFov = true local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera local ShootEvent = ReplicatedStorage:WaitForChild("GunRemotes"):WaitForChild("ShootEvent") local CurrentPart = nil local RayParams = RaycastParams.new() RayParams.FilterType = Enum.RaycastFilterType.Exclude pcall(function() RayParams.CollisionGroup = "ClientBullet" end) local function CanTarget(Plr) local Char = Plr.Character if not Char then return false end local Hum = Char:FindFirstChildOfClass("Humanoid") if not Hum or Hum.Health <= 0 then return false end if Char:FindFirstChildOfClass("ForceField") then return false end if TeamCheck and Plr.Team == LocalPlayer.Team then return false end if HostileCheck and Teams:FindFirstChild("Guards") and LocalPlayer.Team == Teams.Guards and Plr.Team == Teams:FindFirstChild("Inmates") then if not (Char:GetAttribute("Hostile") or (AllowTrespassing and Char:GetAttribute("Trespassing"))) then return false end end return true end local function Visible(Part) if not WallCheck then return true end RayParams.FilterDescendantsInstances = { LocalPlayer.Character, Part.Parent } local Origin = Camera.CFrame.Position return workspace:Raycast(Origin, Part.Position - Origin, RayParams) == nil end local function GetTarget() local Char = LocalPlayer.Character local Hum = Char and Char:FindFirstChildOfClass("Humanoid") if not Hum or Hum.Health <= 0 then return nil end local Origin = Camera.CFrame.Position local Center = FovMode == "Mouse" and UserInputService:GetMouseLocation() or Camera.ViewportSize / 2 local Tool = Char:FindFirstChildOfClass("Tool") local Range = Tool and Tool:GetAttribute("Range") or math.huge local Best, BestDist = nil, FovRadius for PlayerIndex, Plr in ipairs(Players:GetPlayers()) do if Plr ~= LocalPlayer and CanTarget(Plr) then local Part = Plr.Character:FindFirstChild(TargetPart) if Part and (Part.Position - Origin).Magnitude <= Range then local Pos, OnScreen = Camera:WorldToViewportPoint(Part.Position) if OnScreen then local Dist = (Vector2.new(Pos.X, Pos.Y) - Center).Magnitude if Dist <= BestDist and Visible(Part) then Best, BestDist = Part, Dist end end end end end return Best end local Gui = Instance.new("ScreenGui") Gui.Name = "SilentAimUI" Gui.ResetOnSpawn = false Gui.IgnoreGuiInset = true Gui.Parent = (gethui and gethui()) or LocalPlayer:WaitForChild("PlayerGui") local Ring = Instance.new("Frame") Ring.AnchorPoint = Vector2.new(0.5, 0.5) Ring.Size = UDim2.fromOffset(FovRadius * 2, FovRadius * 2) Ring.BackgroundTransparency = 1 Ring.Visible = Enabled and ShowFov Ring.Parent = Gui Instance.new("UICorner", Ring).CornerRadius = UDim.new(1, 0) local RingStroke = Instance.new("UIStroke", Ring) RingStroke.Thickness = 1.5 RingStroke.Color = Color3.new(1, 1, 1) RingStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border RunService.RenderStepped:Connect(function() if not Enabled then CurrentPart = nil return end local Center = FovMode == "Mouse" and UserInputService:GetMouseLocation() or Camera.ViewportSize / 2 if ShowFov then Ring.Position = UDim2.fromOffset(Center.X, Center.Y) end CurrentPart = GetTarget() RingStroke.Color = CurrentPart and Color3.fromRGB(80, 255, 120) or Color3.new(1, 1, 1) end) local OldNamecall OldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(Self, ...) if Self == ShootEvent and Enabled and CurrentPart and getnamecallmethod() == "FireServer" and not checkcaller() then local Args = { ... } local Pellets = Args[1] if type(Pellets) == "table" then local Part = CurrentPart local Aimed = {} for PelletIndex, Pellet in ipairs(Pellets) do Aimed[PelletIndex] = { Pellet[1], Part.Position, Part } end Args[1] = Aimed return OldNamecall(Self, table.unpack(Args)) end end return OldNamecall(Self, ...) end))