Sign In to Your Account

Manual registration is temporarily disabled. Please use Discord, Google or GitHub to create an account.

CONTINUE WITH
EspClient - Universal Script | Free Roblox Script

EspClient

Universal 24 views 2 weeks ago
EspClient - Roblox Script
CKAMEP
CKAMEP

Description

Бесплатное и довольно удобное ESP
(ПОДХОДИТ НЕ ДЛЯ ВСЕХ РЕЖИМОВ)

123 Lines 5,104 Bytes
-- ESP функция для Roblox
local function CreateESP(player)
    -- Проверяем, существует ли игрок
    if not player or not player.Character then return end
    
    -- Создаем BillboardGui для отображения имени
    local billboard = Instance.new(\"BillboardGui\")
    billboard.Name = \"ESP_\" .. player.Name
    billboard.Adornee = player.Character:WaitForChild(\"Head\")
    billboard.Size = UDim2.new(0, 200, 0, 50)
    billboard.StudsOffset = Vector3.new(0, 3, 0)
    billboard.AlwaysOnTop = true
    billboard.MaxDistance = 500
    billboard.Parent = player.Character.Head
    
    -- Текст с именем игрока
    local textLabel = Instance.new(\"TextLabel\")
    textLabel.Size = UDim2.new(1, 0, 1, 0)
    textLabel.BackgroundTransparency = 1
    textLabel.Text = player.Name
    textLabel.TextColor3 = Color3.new(1, 1, 1) -- Белый цвет
    textLabel.TextStrokeTransparency = 0.5
    textLabel.TextSize = 20
    textLabel.Font = Enum.Font.GothamBold
    textLabel.Parent = billboard
    
    -- Создаем подсветку для всего тела
    local highlight = Instance.new(\"Highlight\")
    highlight.Name = \"ESP_Highlight_\" .. player.Name
    highlight.FillColor = Color3.new(1, 0, 0) -- Красный цвет
    highlight.FillTransparency = 0.5
    highlight.OutlineColor = Color3.new(1, 1, 1) -- Белая обводка
    highlight.OutlineTransparency = 0
    highlight.Adornee = player.Character
    highlight.Parent = player.Character
    
    return {
        Billboard = billboard,
        Highlight = highlight,
        Player = player
    }
end

-- Функция для включения/выключения ESP для всех игроков
local function ToggleESP(enabled)
    if enabled then
        -- Удаляем старый ESP если есть
        game:GetService(\"Players\").PlayerAdded:Connect(function(player)
            player.CharacterAdded:Connect(function()
                wait(1) -- Ждем загрузки персонажа
                CreateESP(player)
            end)
        end)
        
        -- Создаем ESP для существующих игроков
        for _, player in ipairs(game:GetService(\"Players\"):GetPlayers()) do
            if player ~= game:GetService(\"Players\").LocalPlayer then
                if player.Character then
                    CreateESP(player)
                end
                player.CharacterAdded:Connect(function()
                    wait(1)
                    CreateESP(player)
                end)
            end
        end
    else
        -- Удаляем весь ESP
        for _, player in ipairs(game:GetService(\"Players\"):GetPlayers()) do
            if player.Character then
                local head = player.Character:FindFirstChild(\"Head\")
                if head then
                    local esp = head:FindFirstChild(\"ESP_\" .. player.Name)
                    if esp then esp:Destroy() end
                end
                local highlight = player.Character:FindFirstChild(\"ESP_Highlight_\" .. player.Name)
                if highlight then highlight:Destroy() end
            end
        end
    end
end

-- Пример использования:
-- Включить ESP
ToggleESP(true)

-- Выключить ESP (через некоторое время)
-- wait(10)
-- ToggleESP(false)

-- Альтернативная функция для ESP только для команды/врагов
local function CreateTeamESP(showEnemiesOnly, teamColor)
    -- showEnemiesOnly: true - показывать только врагов, false - всех
    -- teamColor: цвет для своей команды (если showEnemiesOnly = false)
    
    local localPlayer = game:GetService(\"Players\").LocalPlayer
    local localTeam = localPlayer.Team
    
    for _, player in ipairs(game:GetService(\"Players\"):GetPlayers()) do
        if player ~= localPlayer and player.Character then
            local isEnemy = not player.Team or player.Team ~= localTeam
            
            if not showEnemiesOnly or isEnemy then
                local esp = CreateESP(player)
                if esp and esp.Billboard and esp.Billboard:FindFirstChild(\"TextLabel\") then
                    local textLabel = esp.Billboard.TextLabel
                    
                    if isEnemy then
                        textLabel.TextColor3 = Color3.new(1, 0, 0) -- Красный для врагов
                        if esp.Highlight then
                            esp.Highlight.FillColor = Color3.new(1, 0, 0)
                        end
                    else
                        textLabel.TextColor3 = teamColor or Color3.new(0, 1, 0) -- Зеленый для своей команды
                        if esp.Highlight then
                            esp.Highlight.FillColor = teamColor or Color3.new(0, 1, 0)
                        end
                    end
                end
            end
        end
    end
end

Comments

Comments section coming soon...

Similar Scripts

Share Script

Share this script with others by copying the link or using your device's share options.

https://rbxscripts.net/scripts/espclient/
or

Report Script

Help us maintain a safe community. Your report will be reviewed by our moderation team and appropriate action will be taken if needed.

Select a reason...
Malicious Code
Inappropriate Content
Copyright Infringement
Spam
Misleading Information
Other