-- [[ ULTRA COMBAT HUB V5 - FIX TOTAL ]] -- local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") -- CONFIGURAÇÕES PRO local Config = { HitboxEnabled = false, HitboxSize = 5, EspEnabled = false, AimbotEnabled = false, FovRadius = 150, FovVisible = true, Smoothness = 0.1 } -- INTERFACE PRINCIPAL local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "DevHubV5" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = game:GetService("CoreGui") local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) MainFrame.Position = UDim2.new(0.05, 0, 0.25, 0) MainFrame.Size = UDim2.new(0, 240, 0, 380) MainFrame.Active = true MainFrame.Draggable = true Instance.new("UICorner", MainFrame) local Title = Instance.new("TextLabel") Title.Parent = MainFrame Title.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Title.Size = UDim2.new(1, 0, 0, 35) Title.Font = Enum.Font.SourceSansBold Title.Text = "🛠️ HUB V5 - FIX COMPLETO" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Instance.new("UICorner", Title) local CloseBtn = Instance.new("TextButton") CloseBtn.Parent = MainFrame CloseBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) CloseBtn.Position = UDim2.new(0.85, 0, 0.02, 0) CloseBtn.Size = UDim2.new(0, 28, 0, 24) CloseBtn.Font = Enum.Font.SourceSansBold CloseBtn.Text = "X" CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255) Instance.new("UICorner", CloseBtn) local OpenBtn = Instance.new("TextButton") OpenBtn.Parent = ScreenGui OpenBtn.BackgroundColor3 = Color3.fromRGB(33, 150, 243) OpenBtn.Position = UDim2.new(0.02, 0, 0.05, 0) OpenBtn.Size = UDim2.new(0, 100, 0, 35) OpenBtn.Font = Enum.Font.SourceSansBold OpenBtn.Text = "🔓 ABRIR HUB" OpenBtn.TextColor3 = Color3.fromRGB(255, 255, 255) OpenBtn.Visible = false Instance.new("UICorner", OpenBtn) local function CreateMenuButton(text, pos, color) local btn = Instance.new("TextButton") btn.Parent = MainFrame btn.BackgroundColor3 = color btn.Position = pos btn.Size = UDim2.new(0.9, 0, 0, 35) btn.Font = Enum.Font.SourceSansBold btn.Text = text btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 13 Instance.new("UICorner", btn) return btn end local ToggleHitbox = CreateMenuButton("Hitbox Real (Dano): DESLIGADO", UDim2.new(0.05, 0, 0.12, 0), Color3.fromRGB(211, 47, 47)) local ToggleEsp = CreateMenuButton("Quadros (ESP): DESLIGADO", UDim2.new(0.05, 0, 0.23, 0), Color3.fromRGB(211, 47, 47)) local ToggleAimbot = CreateMenuButton("Aimbot (FOV Centro): DESLIGADO", UDim2.new(0.05, 0, 0.34, 0), Color3.fromRGB(211, 47, 47)) local ToggleFOV = CreateMenuButton("Mostrar FOV: SIM", UDim2.new(0.05, 0, 0.45, 0), Color3.fromRGB(0, 150, 136)) -- Campo para mudar tamanho do FOV local FovInput = Instance.new("TextBox") FovInput.Parent = MainFrame FovInput.BackgroundColor3 = Color3.fromRGB(45, 45, 45) FovInput.Position = UDim2.new(0.05, 0, 0.57, 0) FovInput.Size = UDim2.new(0.9, 0, 0, 30) FovInput.Font = Enum.Font.SourceSans FovInput.Text = "150" FovInput.PlaceholderText = "Tamanho do FOV (Ex: 150)" FovInput.TextColor3 = Color3.fromRGB(255, 255, 255) FovInput.TextSize = 14 Instance.new("UICorner", FovInput) -- CÍRCULO DO FOV ESTÁTICO (No meio da tela) local FOVCircle = Drawing.new("Circle") FOVCircle.Thickness = 1.5 FOVCircle.NumSides = 60 FOVCircle.Filled = false FOVCircle.Color = Color3.fromRGB(255, 0, 100) -- ABRIR E FECHAR CONTROLES CloseBtn.MouseButton1Click:Connect(function() MainFrame.Visible = false OpenBtn.Visible = true end) OpenBtn.MouseButton1Click:Connect(function() MainFrame.Visible = true OpenBtn.Visible = false end) UserInputService.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and input.KeyCode == Enum.KeyCode.Insert then MainFrame.Visible = not MainFrame.Visible OpenBtn.Visible = not MainFrame.Visible end end) -- SISTEMA DE HITBOX REAL (ALTERA A HEAD PARA RECEBER DANO) RunService.Heartbeat:Connect(function() for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("Head") then local head = player.Character.Head if Config.HitboxEnabled then head.Size = Vector3.new(Config.HitboxSize, Config.HitboxSize, Config.HitboxSize) head.Transparency = 0.5 head.Color = Color3.fromRGB(255, 0, 0) head.Material = Enum.Material.Neon head.CanCollide = false -- Força o motor de replicação a aceitar o dano local head.Velocity = Vector3.new(0, 0.01, 0) else head.Size = Vector3.new(2, 1, 1) head.Transparency = 0 head.CanCollide = true end end end end) -- SISTEMA DE QUADROS ESP FIXO (NÃO ARREDA E NÃO SOME) local function CriarQuadroESP(player) local Adornment = Instance.new("BoxHandleAdornment") Adornment.Name = "ESP_Box" Adornment.AlwaysOnTop = true Adornment.ZIndex = 5 Adornment.Color3 = Color3.fromRGB(255, 0, 0) Adornment.Transparency = 0.5 Adornment.Size = Vector3.new(4, 5.5, 4) -- Envolve o personagem inteiro local function AtualizarAdornment() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then Adornment.Adornee = player.Character.HumanoidRootPart Adornment.Parent = game:GetService("CoreGui") Adornment.Visible = Config.EspEnabled else Adornment.Visible = false end end RunService.RenderStepped:Connect(AtualizarAdornment) end for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer then CriarQuadroESP(p) end end Players.PlayerAdded:Connect(function(p) if p ~= LocalPlayer then CriarQuadroESP(p) end end) -- PEGA O JOGADOR MAIS PRÓXIMO APENAS DENTRO DO FOV CENTRAL local function GetClosestPlayerInCenterFOV() local Target = nil local MaxDistance = Config.FovRadius local CenterScreen = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("Head") then local hum = player.Character:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then local ScreenPosition, OnScreen = Camera:WorldToViewportPoint(player.Character.Head.Position) if OnScreen then -- Calcula distância a partir do CENTRO da tela, e não do mouse local Distance = (Vector2.new(ScreenPosition.X, ScreenPosition.Y) - CenterScreen).Magnitude if Distance < MaxDistance then MaxDistance = Distance Target = player end end end end end return Target end -- LOOP DO AIMBOT E ATUALIZAÇÃO DO FOV CENTRAL RunService.RenderStepped:Connect(function() -- Força o FOV a ficar fixado no centro exato da sua tela local CenterScreen = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) FOVCircle.Position = CenterScreen -- Atualiza dinamicamente o tamanho pelo input do menu local novoTamanho = tonumber(FovInput.Text) if novoTamanho then Config.FovRadius = novoTamanho end FOVCircle.Radius = Config.FovRadius FOVCircle.Visible = Config.FovVisible and Config.AimbotEnabled -- Executa o travamento apenas se o botão direito estiver pressionado e o player no FOV central if Config.AimbotEnabled and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then local Target = GetClosestPlayerInCenterFOV() if Target and Target.Character and Target.Character:FindFirstChild("Head") then Camera.CFrame = Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.Position, Target.Character.Head.Position), Config.Smoothness) end end end) -- CONTROLE DOS BOTÕES LIGA/DESLIGA ToggleHitbox.MouseButton1Click:Connect(function() Config.HitboxEnabled = not Config.HitboxEnabled ToggleHitbox.Text = Config.HitboxEnabled and "Hitbox Real (Dano): LIGADO" or "Hitbox Real (Dano): DESLIGADO" ToggleHitbox.BackgroundColor3 = Config.HitboxEnabled and Color3.fromRGB(0, 150, 136) or Color3.fromRGB(211, 47, 47) end) ToggleEsp.MouseButton1Click:Connect(function() Config.EspEnabled = not Config.EspEnabled ToggleEsp.Text = Config.EspEnabled and "Quadros (ESP): LIGADO" or "Quadros (ESP): DESLIGADO" ToggleEsp.BackgroundColor3 = Config.EspEnabled and Color3.fromRGB(0, 150, 136) or Color3.fromRGB(211, 47, 47) end) ToggleAimbot.MouseButton1Click:Connect(function() Config.AimbotEnabled = not Config.AimbotEnabled ToggleAimbot.Text = Config.AimbotEnabled and "Aimbot (FOV Centro): LIGADO" or "Aimbot (FOV Centro): DESLIGADO" ToggleAimbot.BackgroundColor3 = Config.AimbotEnabled and Color3.fromRGB(0, 150, 136) or Color3.fromRGB(211, 47, 47) end) ToggleFOV.MouseButton1Click:Connect(function() Config.FovVisible = not Config.FovVisible ToggleFOV.Text = Config.FovVisible and "Mostrar FOV: SIM" or "Mostrar FOV: NÃO" ToggleFOV.BackgroundColor3 = Config.FovVisible and Color3.fromRGB(0, 150, 136) or Color3.fromRGB(211, 47, 47) if not Config.FovVisible then FOVCircle.Visible = false end end)