Skip to main content
Add custom text and bars to player ESP. Position them in the preview. Register elements when the script loads, outside callbacks. Each call takes a unique string id and an options table, and returns an element handle.

esp.AddText / esp.AddFlag

esp.AddText and esp.AddFlag are aliases.

esp.AddBar

esp.AddBar(id, options) adds a bar.

Layout

Layouts are saved per player type. Custom elements cannot attach to other elements.

Value callback

value(pawn, player) runs for each player shown by ESP. pawn is an entity; player contains: Return nil or false to hide an element without leaving a gap. Text flags also accept empty text. Bar fills must be finite and are clamped to 0–1. The preview uses the preview option. A callback error stops the script’s callbacks until reload.

Methods

All handles support these methods. SetPreview takes a string for text flags or a number for bars, followed by an optional Color.
Methods can be used in callbacks. SetPreview also updates the default color if supplied. Removed handles cannot be updated. Unloading the script removes its elements.