Universal Script 📌
13.0k Views
377 Executions

ESP FOR ALL GAMES

Universal Script 📌
x2p3m8
x2p3m8Published 10
3 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

esp for all games

View Raw
local player = game.Players.LocalPlayer
local camera = game.Workspace.CurrentCamera
local runService = game:GetService("RunService")

local function createESP(player)
    local esp = Instance.new("BillboardGui")
    esp.Size = UDim2.new(2, 0, 2, 0)
    esp.Adornee = player.Character.Head
    esp.AlwaysOnTop = true

    local espFrame = Instance.new("Frame")
    espFrame.Size = UDim2.new(1, 0, 1, 0)
    espFrame.BackgroundTransparency = 0.5
    espFrame.BackgroundColor3 = Color3.new(0, 1, 0)
    espFrame.BorderSizePixel = 5

    espFrame.Parent = esp
    esp.Parent = player.Character.Head
end

local function updateESP()
    for _, player in pairs(game.Players:GetPlayers()) do
        if player ~= game.Players.LocalPlayer and player.Character and player.Character:FindFirstChild("Head") then
            if player.TeamColor ~= game.Players.LocalPlayer.TeamColor then
                createESP(player)
            end
        end
    end
end

-- Remove ESP for players who leave
game.Players.PlayerRemoving:Connect(function(player)
    local esp = player.Character and player.Character:FindFirstChild("Head"):FindFirstChild("BillboardGui")
    if esp then
        esp:Destroy()
    end
end)

-- Update ESP regularly
runService.RenderStepped:Connect(function()


Comments

2
Log in to join the conversation. Login
x2p3m8's profile picture
x2p3m8Uploader3 years ago(edited)

oh sorry about that i got the wrong script

1
CrazyHub's profile picture
CrazyHub3 years ago(edited)

infinite yield has left the game

1

More universal scripts

See all
Universal Script 📌
6.7k
40.7k
Bumped 2 hours ago
Script hub
40.8k
100.8k
Bumped 4 hours ago
Key System
Script hub
146.2k
439.7k
Bumped 5 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System