Drawing.new
Creates a new low-level screen overlay drawing object.
function Drawing.new(type: string): DrawingObjectSynopsis
How it works
Creates a new drawing object rendered directly on the screen via the executor’s custom rendering pipeline. Drawing objects bypass Roblox’s GUI system entirely — they’re rendered at the DirectX/Vulkan layer after Roblox’s frame, so they appear on top of everything. Supported types:
"Line"— line between two points"Circle"— filled or outlined circle"Square"— filled or outlined rectangle"Text"— text string with font/size options"Triangle"— three-point polygon"Image"— image from URL or asset"Quad"— four-point polygon
Rendering pipeline
Drawing objects are stored in an internal list and rendered each frame in a post-present hook. They use screen-space coordinates (pixels from top-left). Set
.Visible = true to show and :Remove() to destroy. High object counts (1000+) can impact FPS — use cleardrawcache() to bulk-remove.Usage
Draw a text label
local label = Drawing.new("Text")
label.Text = "Vindicta Active"
label.Size = 16
label.Color = Color3.fromRGB(255, 255, 255)
label.Position = Vector2.new(10, 10)
label.Visible = true
"cc">-- Cleanup
label:Remove()Draw an ESP box
local box = Drawing.new("Square")
box.Size = Vector2.new(60, 80)
box.Position = Vector2.new(100, 100)
box.Color = Color3.fromRGB(255, 255, 255)
box.Thickness = 1
box.Filled = false
box.Visible = trueParameters
type string The type of drawing object to create: "Line", "Circle", "Square", "Text", "Triangle", "Quad", or "Image".
Returns
DrawingObject A new drawing object with properties specific to the requested type.
Cleanup
Always call :Remove() on Drawing objects when they are no longer needed. Unlike Roblox instances, they are not garbage-collected automatically.