Universal Script 📌
8.2k Views
187 Executions

Esp Script

Universal Script 📌
User_Creation
User_CreationFirst script
2 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

Made By Ai Blue means team mate Red means enemy Gray or Rainbow means no leaderboard Re apply after 5 second

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Camera = workspace.CurrentCamera
local LocalPlayer = Players.LocalPlayer

local function CreateESP(player)
    local Box = Drawing.new("Square")
    Box.Visible, Box.Thickness, Box.Filled = false, 4, false
    local hue = 0

    RunService.RenderStepped:Connect(function()
        if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
            local HumanoidRootPart = player.Character.HumanoidRootPart
            local pos, onScreen = Camera:WorldToViewportPoint(HumanoidRootPart.Position)
            if onScreen then
                Box.Size, Box.Position = Vector2.new(2000 / pos.Z, 2500 / pos.Z), Vector2.new(pos.X - Box.Size.X / 2, pos.Y - Box.Size.Y / 2)
                Box.Visible = true

                if not player.Team or not LocalPlayer.Team then
                    Box.Color = Color3.fromHSV(hue, 1, 1)
                    hue = (hue + 0.01) % 1
                else
                    Box.Color = player.Team == LocalPlayer.Team and Color3.new(0, 0, 1) or Color3.new(1, 0, 0)
                end
            else
                Box.Visible = false
            end
        else
            Box.Visible = false
        end
    end)
end

local function ApplyPlayerESP()
    for _, player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer then
            CreateESP(player)
        end
    end



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
48
3
Approved 34 minutes ago
Universal Script 📌
76
1
Approved 2 hours ago
Key System
Script hub
167.4k
1.3M
Bumped 2 hours ago
Key System
Script hub
265.5k
102.3k
Bumped 3 hours ago
Key System
Script hub
281.7k
917.0k
Bumped 6 hours ago
Key System

Script hub

#21 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features

Script hub
2.1M
704.6k
Bumped 6 hours ago
Key System

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal