Acceso a entornos de ejecución y objetos de recolección de basura.
Funciones disponibles
filtergc
Busca tables o functions live garbage-collected que coincidan con los filters dados. filterType debe ser “table” o “function”. options debe ser una table.
getgc
Returns an array table of live Luau garbage-collected objects visible to the API. Functions and userdata-like objects are included by default. Tables are included only when includeTables is true. get_gc_objects is an alias.
getgenv
Devuelve la current executor environment table haciendo push de LUA_ENVIRONINDEX. La function no toma arguments, devuelve exactly one value y no tiene registered alias. Los call-sites del repository usan la returned table para leer y escribir shared executor globals como __siApiCache y saveinstance.
getrenv
Returns the Roblox global environment table. The function takes no arguments and returns exactly one value.
getscriptglobals
Devuelve una new table que contiene los current LUA_GLOBALSINDEX values para _G y shared. La function no toma arguments, crea una fresh table, asigna _G desde LUA_GLOBALSINDEX._G y shared desde LUA_GLOBALSINDEX.shared, y devuelve exactly one value. No devuelve la full global table, y no hay alias registrado para getscriptglobals.
gettenv
Returns the environment table stored on a Luau thread. getstateenv is an alias.
setclipboard
Writes one value to the Windows system clipboard as text. The value is converted to a string. The function returns no status value, whether the clipboard write succeeds or fails. toclipboard is an alias.
setrbxclipboard
Writes a required string to the Windows clipboard using Roblox Studio clipboard data format. The function returns no status value, whether the clipboard write succeeds or fails.