Signal.new()Creates a signal.
EVERETT ENVIRONMENT
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.
GETTING STARTED
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"
TEXT PROCESSING
A compiled regular-expression object backed by Everett's native regex runtime.
Regex.new(pattern: string, flags?: string) → Regex| Member | Description |
|---|---|
: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()EVENTS
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)RENDERING
A frame-based drawing API. Shape calls are valid inside the paint callback and geometry is rebuilt for each rendered frame.
GetPaintLineCircleFilledCircleTriangleFilledTriangleRectangleFilledRectangleQuadFilledQuadTextOutlinedTextlocal paint = DrawingImmediate.GetPaint(function()
DrawingImmediate.Line(
Vector2.new(40, 40), Vector2.new(240, 40),
Color3.new(1, 1, 1)
)
end)MULTI-STATE
A read-only proxy for an Everett-managed Lua state. A proxy exposes Id, IsActorState, and an optional Event.
| Member | Description |
|---|---|
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. |
PARALLEL LUAU
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()NETWORKING
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"
)LOCAL STORAGE
Workspace-scoped file utilities and native file dialogs registered by Everett.
readfilewritefileappendfileloadfiledofilelistfilesisfileisfoldermakefolderdelfiledelfoldergetcustomassetopenfiledialogopenfolderdialogsavefiledialogAPI INDEX
Everett also registers broad compatibility groups beyond the custom libraries above.
hookfunction, newcclosure, clonefunction, restorefunction, loadstring
getconstants, getprotos, getupvalues, getstack, getinfo
getrawmetatable, setrawmetatable, hookmetamethod, setreadonly
getproperties, gethiddenproperty, sethiddenproperty, isscriptable
request, HttpGet, HttpPost
base64encode, base64decode, lz4compress, lz4decompress, crypt
cloneref, compareinstances, getinstances, getnilinstances
getgenv, getrenv, getgc, identifyexecutor, getthreadidentity