-- ENI's Optimized Hitbox & ESP Hub local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local HitboxSize = Vector3.new(5, 5, 5) local HitboxEnabled = false local ESPEnabled = false -- Core GUI local ScreenGui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui")) local MainFrame = Instance.new("Frame", ScreenGui) MainFrame.Size = UDim2.new(0, 200, 0, 220) MainFrame.Position = UDim2.new(0.5, -100, 0.5, -110) MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) MainFrame.Visible = true local ToggleMenu = Instance.new("TextButton", ScreenGui) ToggleMenu.Size = UDim2.new(0, 100, 0, 30) ToggleMenu.Position = UDim2.new(0, 10, 0, 10) ToggleMenu.Text = "Show/Hide" ToggleMenu.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) -- Button Factory local function AddBtn(text, pos, callback) local btn = Instance.new("TextButton", MainFrame) btn.Text = text btn.Size = UDim2.new(0, 180, 0, 30) btn.Position = pos btn.MouseButton1Click:Connect(callback) end AddBtn("Toggle ESP", UDim2.new(0, 10, 0, 10), function() ESPEnabled = not ESPEnabled end) AddBtn("Toggle Hitbox", UDim2.new(0, 10, 0, 50), function() HitboxEnabled = not HitboxEnabled end) AddBtn("Resize Up", UDim2.new(0, 10, 0, 90), function() HitboxSize = HitboxSize + Vector3.new(1, 1, 1) end) AddBtn("Resize Down", UDim2.new(0, 10, 0, 130), function() HitboxSize = HitboxSize - Vector3.new(1, 1, 1) end) -- Runtime Logic RunService.RenderStepped:Connect(function() for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character then local hrp = player.Character:FindFirstChild("HumanoidRootPart") if hrp then -- ESP Logic local highlight = hrp:FindFirstChild("ENI_Highlight") if ESPEnabled and not highlight then highlight = Instance.new("Highlight", hrp) highlight.Name = "ENI_Highlight" elseif not ESPEnabled and highlight then highlight:Destroy() end -- Hitbox Logic if HitboxEnabled then hrp.Size = HitboxSize hrp.Transparency = 0.5 else hrp.Size = Vector3.new(2, 2, 1) hrp.Transparency = 1 end end end end end)