ESP Hub Universal Script

ESP Hub Universal Script with Enemy ESP, Player ESP, Visual Enhancements, Team Detection, GUI Controls, Tracking Features, and more.
Menu Description
Enemy ESPDisplays enemy players with visible ESP boxes.
ESP AllShows ESP visuals for all players in the server.
VisualsVisual enhancement and tracking display features.
Player TrackingTracks player locations and movement in real time.
Team CheckSeparates enemies and teammates automatically.
GUI HubSimple draggable GUI interface with easy controls.
Box ESPCreates visible boxes around player characters.
UniversalSupports multiple Roblox games and experiences.
SettingsCustomize ESP behavior and interface options.
Script
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local CoreGui = game:GetService("CoreGui")

-- Criar Hub no CoreGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "ESPHub"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = CoreGui

-- Container principal
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.new(0, 260, 0, 220)
Frame.Position = UDim2.new(0.5, -130, 0.5, -110)
Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
Frame.BackgroundTransparency = 0.1
Frame.BorderSizePixel = 0
Frame.Active = true
Frame.Draggable = true
Instance.new("UICorner", Frame).CornerRadius = UDim.new(0, 12)

-- Título
local Title = Instance.new("TextLabel", Frame)
Title.Size = UDim2.new(1, 0, 0, 40)
Title.Position = UDim2.new(0, 0, 0, 0)
Title.Text = "🎯ESP Hub"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 20
Title.BackgroundTransparency = 1

-- Linha decorativa
local Line = Instance.new("Frame", Frame)
Line.Size = UDim2.new(1, -20, 0, 2)
Line.Position = UDim2.new(0, 10, 0, 42)
Line.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
Line.BorderSizePixel = 0

-- Botão ESP Inimigos
local ESPEnemyButton = Instance.new("TextButton", Frame)
ESPEnemyButton.Size = UDim2.new(0, 220, 0, 40)
ESPEnemyButton.Position = UDim2.new(0, 20, 0, 60)
ESPEnemyButton.Text = "ESP Enemys"
ESPEnemyButton.BackgroundColor3 = Color3.fromRGB(255, 60, 60)
ESPEnemyButton.TextColor3 = Color3.new(1, 1, 1)
ESPEnemyButton.Font = Enum.Font.GothamBold
ESPEnemyButton.TextSize = 16
Instance.new("UICorner", ESPEnemyButton).CornerRadius = UDim.new(0, 10)

-- Botão ESP ALL
local ESPAllButton = Instance.new("TextButton", Frame)
ESPAllButton.Size = UDim2.new(0, 220, 0, 40)
ESPAllButton.Position = UDim2.new(0, 20, 0, 110)
ESPAllButton.Text = "ESP ALL"
ESPAllButton.BackgroundColor3 = Color3.fromRGB(60, 160, 255)
ESPAllButton.TextColor3 = Color3.new(1, 1, 1)
ESPAllButton.Font = Enum.Font.GothamBold
ESPAllButton.TextSize = 16
Instance.new("UICorner", ESPAllButton).CornerRadius = UDim.new(0, 10)

-- Função para aplicar ESP
local function aplicarESP(player)
    local function criarBox(char)
        local hrp = char:FindFirstChild("HumanoidRootPart")
        if hrp and not hrp:FindFirstChild("SixESPBox") then
            local box = Instance.new("BoxHandleAdornment")
            box.Name = "SixESPBox"
            box.Size = Vector3.new(4, 5, 1)
            box.Adornee = hrp
            box.AlwaysOnTop = true
            box.ZIndex = 5
            box.Color3 = Color3.new(1, 0, 0)
            box.Transparency = 0.5
            box.Parent = hrp
        end
    end
    if player.Character then criarBox(player.Character) end
    player.CharacterAdded:Connect(function(char)
        wait(1)
        criarBox(char)
    end)
end

-- ESP Inimigos
ESPEnemyButton.MouseButton1Click:Connect(function()
    for _,player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer and player.Team ~= LocalPlayer.Team then
            aplicarESP(player)
        end
    end
    Players.PlayerAdded:Connect(function(player)
        if player.Team ~= LocalPlayer.Team then
            aplicarESP(player)
        end
    end)
end)

-- ESP ALL
ESPAllButton.MouseButton1Click:Connect(function()
    for _,player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer then
            aplicarESP(player)
        end
    end
    Players.PlayerAdded:Connect(function(player)
        aplicarESP(player)
    end)
end)

Comments

Available Games