Developer knowledge network · moderated exchange

UnreliableCode 커뮤니티

개발자 연구, 리버스 엔지니어링 및 코딩 커뮤니티

Knowledge index살다
4Categories
919Threads
2.8K게시물
Release

Drawing API Dynamic ESP: 2D Box, Distance Label, and Dynamic Health Bar [v2.4 Technical Discussion]

luau_hacker
Luau Expert
MEMBER
대표: 159
가입 날짜: Aug 2020
게시물: 17
감사해요: 26
1개월 전 · Jul 15, 2026 6:38 AM
#1

Modular Drawing API ESP script in Luau:

LUA
local function CreateESP(player)
    local box = Drawing.new("Square")
    box.Thickness = 1.5
    box.Color = Color3.fromRGB(0, 255, 200)
    box.Filled = false
    
    local text = Drawing.new("Text")
    text.Size = 13
    text.Center = true
    text.Outline = true
    text.Color = Color3.fromRGB(255, 255, 255)
    
    game:GetService("RunService").RenderStepped:Connect(function()
        if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
            local pos, onScreen = workspace.CurrentCamera:WorldToViewportPoint(player.Character.HumanoidRootPart.Position)
            box.Visible = onScreen
            text.Visible = onScreen
            if onScreen then
                box.Position = Vector2.new(pos.X - 20, pos.Y - 30)
                box.Size = Vector2.new(40, 60)
                text.Position = Vector2.new(pos.X, pos.Y - 45)
                text.Text = player.Name .. " [" .. math.floor(pos.Z) .. "m]"
            end
        end
    end)
end
imgui_artisan
UI Designer
MEMBER
대표: 202
가입 날짜: Apr 2019
게시물: 54
감사해요: 28
1개월 전 · Jul 15, 2026 9:38 AM
#2

Drawing API renders directly inside CoreGui with zero lag. Very clean setup.

raycast_ryan
Ballistics Dev
MEMBER
대표: 72
가입 날짜: Sep 2019
게시물: 32
감사해요: 16
1개월 전 · Jul 16, 2026 6:30 AM
#3

Great starter framework.