Accès aux environnements d’exécution et aux objets récupérés.
Fonctions disponibles
filtergc
Recherche les tables ou functions live garbage-collected qui correspondent aux filters fournis. filterType doit être “table” ou “function”. options doit être une 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
Retourne la current executor environment table en poussant LUA_ENVIRONINDEX. La function ne prend aucun arguments, retourne exactly one value, et n a aucun registered alias. Les call-sites du repository utilisent la returned table pour lire et ecrire des shared executor globals comme __siApiCache et saveinstance.
getrenv
Returns the Roblox global environment table. The function takes no arguments and returns exactly one value.
getscriptglobals
Retourne une new table contenant les current LUA_GLOBALSINDEX values pour _G et shared. La function ne prend aucun arguments, cree une fresh table, assigne _G depuis LUA_GLOBALSINDEX._G et shared depuis LUA_GLOBALSINDEX.shared, puis retourne exactly one value. Elle ne retourne pas la full global table, et aucun alias n est enregistre pour 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.