getreg
Returns the current VM's registry table.
Syntax
Signature
getreg() -> tableAliases
getregistry
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
table | The current VM's registry table. |
Notes
Changes affect the same table used by native libraries and runtime references.
Example
Luau
local Result = getreg()
print(Result)