World External · Luau VM

Executor (UNC) Functions

Functional UNC surface: identity, closures, metatables and more.

Overview

The parts of the standard executor vocabulary that still make sense from outside the process: identity, closure inspection, metatable access on your own tables, and the usual conveniences.

Read this chapter for what it does not contain as much as what it does. There is no Luau VM inside Roblox to hook from here, so these operate on the External's own environment.

What is available
print(identifyexecutor())      --> "World External"
print(checkcaller())
print(isrbxactive())

-- Metatable functions act on your tables, not on Roblox's.
local t = setmetatable({}, { __index = function() return 0 end })
print(isreadonly(t))

setclipboard("copied from the External")
messagebox("Done", "World External", 0)

Reference