EVERETTDOCS
/
Back to site

EVERETT ENVIRONMENT

Custom Luau APIs.

Everett keeps standard Luau syntax and extends the runtime with globals, libraries, aliases, and execution helpers that are not available in a normal Roblox LocalScript.

Source verifiedThis reference is based on the API registrations and bundled Luau helpers in Everett's current source tree.
01

GETTING STARTED

Quick start

Executor APIs are exposed as globals. Confirm the environment, then use Everett extensions directly.

local name, version = identifyexecutor()
print(name, version)

local env = getgenv()
env.SessionName = "Everett"
02

TEXT PROCESSING

Regex

Everett custom

A compiled regular-expression object backed by Everett's native regex runtime.

Regex.new(pattern: string, flags?: string) → Regex
MemberDescription
:match(subject)Tests a string and returns match data.
:find(subject, init?)Finds a match from an optional position.
:destroy()Releases the compiled pattern.
Regex.Escape(text)Escapes pattern characters.
local ids = Regex.new("user_(\\d+)")
local result = ids:find("user_2048")
print(result.Match, result.Index, result.Length)
ids:destroy()
03

EVENTS

Signal

Everett custom

A lightweight Luau event primitive. Connections expose a read-only Connected property.

Signal.new()

Creates a signal.

:Connect(callback)

Runs on every fire.

:Once(callback)

Runs once.

:Fire(...)

Emits values.

:Wait()

Waits for a fire.

:Disconnect()

Removes a listener.

local changed = Signal.new()
changed:Connect(function(value)
    print("Changed:", value)
end)
changed:Fire(42)
04

RENDERING

DrawingImmediate

Everett custom

A frame-based drawing API. Shape calls are valid inside the paint callback and geometry is rebuilt for each rendered frame.

GetPaintLineCircleFilledCircleTriangleFilledTriangleRectangleFilledRectangleQuadFilledQuadTextOutlinedText
local paint = DrawingImmediate.GetPaint(function()
    DrawingImmediate.Line(
        Vector2.new(40, 40), Vector2.new(240, 40),
        Color3.new(1, 1, 1)
    )
end)
05

MULTI-STATE

LuaStateProxy

Everett custom

A read-only proxy for an Everett-managed Lua state. A proxy exposes Id, IsActorState, and an optional Event.

MemberDescription
LuaStateProxy.new(target)Creates a proxy for a supported state target.
:GetActors()Returns associated actors.
:Execute(source)Executes source through the proxied state.
:Fire(...)Sends values through the event channel.
06

PARALLEL LUAU

Actor helpers

Extended

Helpers for enumerating and communicating with Parallel Luau actor states.

getactors()getactorthreads()getactorstates()get_current_actor()isparallel()run_on_actor()create_comm_channel()get_comm_channel()getgamestate()getluastate()
07

NETWORKING

WebSocket

Extended

Creates a WebSocket client with event-style members. Connect, New, and new alias connect.

local socket = WebSocket.connect("wss://example.com/socket")
socket.OnMessage:Connect(function(message)
    print(message)
end)
socket:Send("hello")
08

LOCAL STORAGE

Filesystem

Extended

Workspace-scoped file utilities and native file dialogs registered by Everett.

readfilewritefileappendfileloadfiledofilelistfilesisfileisfoldermakefolderdelfiledelfoldergetcustomassetopenfiledialogopenfolderdialogsavefiledialog
09

API INDEX

Extended globals

Everett also registers broad compatibility groups beyond the custom libraries above.

Closures

hookfunction, newcclosure, clonefunction, restorefunction, loadstring

Debug

getconstants, getprotos, getupvalues, getstack, getinfo

Metatables

getrawmetatable, setrawmetatable, hookmetamethod, setreadonly

Reflection

getproperties, gethiddenproperty, sethiddenproperty, isscriptable

HTTP

request, HttpGet, HttpPost

Encoding

base64encode, base64decode, lz4compress, lz4decompress, crypt

Instances

cloneref, compareinstances, getinstances, getnilinstances

Runtime

getgenv, getrenv, getgc, identifyexecutor, getthreadidentity