local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "VAGRANT | AIM SELECT", LoadingTitle = "Loading scripts...", ConfigurationSaving = { Enabled = false } }) -- --- SETTINGS --- local Config = { AimEnabled = false, AimPart = "Head", -- Default is Head Fov = 150, Smooth = 0.2, ESP = false } -- 1. AIMBOT TAB local AimTab = Window:CreateTab("Aimbot", 4483362458) AimTab:CreateToggle({ Name = "Enable Aimbot (Right Click)", CurrentValue = false, Callback = function(Value) Config.AimEnabled = Value end, }) -- TARGET SELECTION (HEAD OR TORSO) AimTab:CreateDropdown({ Name = "Target Part", Options = {"Head", "Torso"}, CurrentOption = "Head", Callback = function(Option) if Option == "Head" then Config.AimPart = "Head" elseif Option == "Torso" then Config.AimPart = "HumanoidRootPart" end end, }) AimTab:CreateSlider({ Name = "FOV Radius", Range = {50, 500}, Increment = 10, CurrentValue = 150, Callback = function(Value) Config.Fov = Value end, }) AimTab:CreateSlider({ Name = "Smoothness", Range = {0.1, 1}, Increment = 0.1, CurrentValue = 0.2, Callback = function(Value) Config.Smooth = Value end, }) -- 2. VISUALS TAB local VisualTab = Window:CreateTab("Visuals", 4483362458) VisualTab:CreateToggle({ Name = "Enable ESP (Red)", CurrentValue = false, Callback = function(Value) Config.ESP = Value end, }) -- --- SCRIPT ENGINE --- local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera -- FOV Circle local Circle = Drawing.new("Circle") Circle.Color = Color3.fromRGB(0, 255, 200) Circle.Thickness = 1.5 Circle.Transparency = 0.8 -- Target acquisition function local function GetTarget() local target = nil local shortestDistance = Config.Fov for _, p in pairs(Players:GetPlayers()) do -- Check if enemy is alive and has the required body part if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild(Config.AimPart) and p.Character:FindFirstChild("Humanoid") and p.Character.Humanoid.Health > 0 then local targetPart = p.Character[Config.AimPart] local pos, onScreen = Camera:WorldToScreenPoint(targetPart.Position) if onScreen then local mousePos = UIS:GetMouseLocation() local dist = (Vector2.new(pos.X, pos.Y) - mousePos).Magnitude if dist < shortestDistance then target = p shortestDistance = dist end end end end return target end -- Main loop RunService.RenderStepped:Connect(function() -- Update circle Circle.Visible = Config.AimEnabled Circle.Radius = Config.Fov Circle.Position = UIS:GetMouseLocation() -- Aimbot logic if Config.AimEnabled and UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then local targetPlayer = GetTarget() if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild(Config.AimPart) then -- Aim directly at the chosen part Camera.CFrame = Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.Position, targetPlayer.Character[Config.AimPart].Position), Config.Smooth) end end -- ESP logic for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer and p.Character then local high = p.Character:FindFirstChildOfClass("Highlight") if Config.ESP then if not high then high = Instance.new("Highlight", p.Character) high.FillColor = Color3.fromRGB(255, 0, 0) high.FillTransparency = 0.5 end else if high then high:Destroy() end end end end end) Rayfield:Notify({ Title = "Success!", Content = "Aimbot is ready. Select your target in the menu!", Duration = 5, })