Universal Script 📌
660 Views
4.8k Executions

esp 2D

Universal Script 📌
Nguyenvubao
NguyenvubaoFirst script
7 months 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

Script esp 2D có hình chữ nhật và có đường gạch có thể nhìn thấy người

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

-- Cấu hình ESP
local Settings = {
    BoxColor = Color3.fromRGB(0, 255, 255),       -- Màu xanh (Người cũ)
    NewPlayerColor = Color3.fromRGB(255, 215, 0), -- Màu vàng (Người mới)
    TracerColor = Color3.fromRGB(255, 255, 255), 
    Thickness = 1.5,
    NewPlayerThreshold = 120 -- 2 phút
}

local function CreateESP(Player)
    if Player == LocalPlayer then return end

    -- Khởi tạo Drawing objects
    local Box = Drawing.new("Square")
    Box.Visible = false
    Box.Thickness = Settings.Thickness
    Box.Filled = false

    local Tracer = Drawing.new("Line")
    Tracer.Visible = false
    Tracer.Color = Settings.TracerColor
    Tracer.Thickness = Settings.Thickness

    -- Lưu thời điểm tham gia
    local joinTime = os.clock()

    local function Updater()
        local connection
        connection = RunService.RenderStepped:Connect(function()
            local character = Player.Character
            if character and character:FindFirstChild("HumanoidRootPart") and character:FindFirstChild("Head") then
                local rootPart = character.HumanoidRootPart
                local head = character.Head
                
                local pos, onScreen = Camera:WorldToViewportPoint(rootPart.Position)


Comments

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

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 3 hours ago
Key System
Universal Script 📌
9.1k
31.7k
Bumped 4 hours ago
Script hub
49.8k
12.4k
Bumped 5 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 9 hours ago
Key System
Script hub
20.6k
4.0k
Bumped 10 hours ago
Key System
Paid
Universal Script 📌
741
221
Approved 16 hours ago
Universal Script 📌
645
2.7k
Approved 16 hours ago