| Navigasi fungsi | Deskripsi |
|---|---|
filtergc | Mencari tables atau functions live garbage-collected yang cocok dengan filters yang diberikan. filterType harus “table” atau “function”. options harus berupa 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 | Mengembalikan current executor environment table dengan pushing LUA_ENVIRONINDEX. Function tidak menerima arguments, mengembalikan exactly one value, dan tidak memiliki registered alias. Call-sites di repository memakai returned table untuk membaca dan menulis shared executor globals seperti __siApiCache dan saveinstance. |
getrenv | Returns the Roblox global environment table. The function takes no arguments and returns exactly one value. |
getscriptglobals | Mengembalikan new table yang berisi current LUA_GLOBALSINDEX values untuk _G dan shared. Function tidak menerima arguments, membuat fresh table, menetapkan _G dari LUA_GLOBALSINDEX._G dan shared dari LUA_GLOBALSINDEX.shared, lalu mengembalikan exactly one value. Function tidak mengembalikan full global table, dan tidak ada alias yang terdaftar untuk 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. |
Environment
Environment
Akses ke lingkungan runtime dan objek pengumpulan sampah.
Akses ke lingkungan runtime dan objek pengumpulan sampah.