Universal Script 📌
608 Views
2.3k Executions

Text esp

Universal Script 📌
Colton9
Colton9First script
2 months ago

Reviewed by QueueSherlockPaid revieweron How review works

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

eh, detect text lol

View Raw
-- Delta Executor 3D Text ESP Script (Small & Shortened Text)
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local LocalPlayer = Players.LocalPlayer

-- Table to keep track of active ESP elements to prevent duplicates
local espCache = {}
local MAX_CHAR_LENGTH = 30 -- Change this number if you want longer or shorter text previews

local function updateTextESP()
    -- Scan the Workspace for any text elements
    for _, descendant in ipairs(Workspace:GetDescendants()) do
        if descendant:IsA("TextLabel") or descendant:IsA("TextBox") or descendant:IsA("TextButton") then
            local textContent = descendant.Text
            if textContent and textContent ~= "" then
                
                -- Shorten text if it exceeds the maximum character length
                if #textContent > MAX_CHAR_LENGTH then
                    textContent = string.sub(textContent, 1, MAX_CHAR_LENGTH) .. "..."
                end

                -- Find the nearest BasePart parent to anchor the 3D billboard
                local parentPart = descendant:FindFirstAncestorWhichIsA("BasePart")
                
                if parentPart then
                    if not espCache[parentPart] then
                        -- Create a 3D Billboard Gui attached to the part
                        local billboard = Instance.new("BillboardGui")
                        billboard.Name = "TextESP_3D"
                        billboard.Adornee = parentPart
                        billboard.Size = UDim2.new(0, 200, 0, 30)
                        billboard.StudsOffset = Vector3.new(0, 3, 0) -- Position slightly above the object
                        billboard.AlwaysOnTop = true
                        
                        local textLabel = Instance.new("TextLabel")
                        textLabel.Size = UDim2.new(1, 0, 1, 0)
                        textLabel.BackgroundTransparency = 1
                        textLabel.TextColor3 = Color3.fromRGB(0, 255, 150)
                        textLabel.TextScaled = false
                        textLabel.TextSize = 13 -- Small text size


Comments

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

Tags

More universal scripts

See all
Universal Script 📌
38
3
Approved 30 minutes ago
Universal Script 📌
1.4k
3.7k
Bumped 1 hour ago
Key System
Universal Script 📌
104
19
Approved 2 hours ago
Script hub
85
5
Approved 2 hours ago
Universal Script 📌
136.2k
34.4k
Bumped 2 hours ago
Key System
Script hub
117
6
Approved 2 hours ago

Script hub

Prime Void Hub