local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() -- // CONFIGURAÇÕES GERAIS // local _G = { Aimbot = false, AimPerto = false, FOV = 100, Wallhack = false, Box = false, Lines = false } local Camera = workspace.CurrentCamera local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local RunService = game:GetService("RunService") -- // CÍRCULO DO FOV // local FOVCircle = Drawing.new("Circle") FOVCircle.Thickness = 1 FOVCircle.Color = Color3.fromRGB(255, 255, 255) FOVCircle.Transparency = 1 FOVCircle.Visible = false -- // JANELA PRINCIPAL // local Window = Rayfield:CreateWindow({ Name = "UNIVERSAL AIMBOT & ESP", LoadingTitle = "Carregando Tudo...", }) -- ##### ABA MAIN ##### local MainTab = Window:CreateTab("Main") MainTab:CreateToggle({ Name = "Aimbot (Cabeça)", CurrentValue = false, Callback = function(V) _G.Aimbot = V; FOVCircle.Visible = V end, }) MainTab:CreateSlider({ Name = "Aimbot FOV", Range = {0, 600}, Increment = 5, CurrentValue = 100, Callback = function(V) _G.FOV = V; FOVCircle.Radius = V end, }) MainTab:CreateToggle({ Name = "Aimbot Perto (Target Switch)", CurrentValue = false, Callback = function(V) _G.AimPerto = V end, }) -- ##### ABA ESP ##### local ESPTab = Window:CreateTab("ESP") ESPTab:CreateToggle({ Name = "Wallhacks", CurrentValue = false, Callback = function(V) _G.Wallhack = V end, }) ESPTab:CreateToggle({ Name = "BOX", CurrentValue = false, Callback = function(V) _G.Box = V end, }) ESPTab:CreateToggle({ Name = "Lines", CurrentValue = false, Callback = function(V) _G.Lines = V end, }) local PlayerLabel = ESPTab:CreateLabel("Jogadores: " .. #Players:GetPlayers()) -- // FUNÇÃO DE BUSCA DE ALVO (TROCA AUTOMÁTICA) // local function GetClosest() local target = nil local dist = _G.FOV for _, v in pairs(Players:GetPlayers()) do if v ~= LocalPlayer and v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 then local pos, screen = Camera:WorldToViewportPoint(v.Character.Head.Position) if screen then local mPos = Vector2.new(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2) local ePos = Vector2.new(pos.X, pos.Y) local magnitude = (ePos - mPos).Magnitude if magnitude < dist then dist = magnitude target = v end end end end return target end -- // LOOP DE ATUALIZAÇÃO (ESP E AIMBOT) // RunService.RenderStepped:Connect(function() FOVCircle.Position = Vector2.new(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2) PlayerLabel:Set("Jogadores: " .. #Players:GetPlayers()) -- Lógica do Aimbot (Sempre trocando para o mais próximo no centro) if _G.Aimbot or _G.AimPerto then local target = GetClosest() if target then Camera.CFrame = CFrame.new(Camera.CFrame.Position, target.Character.Head.Position) end end -- Lógica de Visualização (ESP) for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer and p.Character then -- Wallhack (Highlight) local hl = p.Character:FindFirstChild("Highlight") if _G.Wallhack then if not hl then Instance.new("Highlight", p.Character) end else if hl then hl:Destroy() end end -- Simulação de Box/Lines (Lógica básica de visibilidade) -- Nota: Box e Lines reais exigem criação de objetos Drawing para cada player. end end end)