Scripts
Read, run, dump, decompile and save the scripts a game contains.
25 functions
| Function | Summary |
|---|---|
decompile | Turns a script's bytecode back into readable Luau source. |
DecompilerFormatter | Formatting-settings library for decompile. |
DecompilerFormatter.new | Creates an independent formatter-settings table. |
DecompilerOptions | Settings library for decompile. |
DecompilerOptions.new | Creates independent decompiler settings. |
getcallingscriptget_calling_script | Returns the script that called the function you are in. |
getfunctionbytecode | Returns bytecode for a single function. |
getloadedmodulesget_loaded_modules | Lists the ModuleScripts that have been loaded with require. |
getmenv | Returns the globals table of a ModuleScript. |
getmodules | Lists ModuleScripts whether or not they have been required. |
getrunningscriptsget_running_scripts | Lists the scripts that are running right now. |
getscriptbytecodegetscriptbytecodeget_script_bytecodedump_string | Returns a script's compiled bytecode. |
getscriptclosuregetscriptfunctionget_script_closureget_script_function | Builds a callable function from a script's bytecode. |
getscriptfromthreadget_script_from_thread | Returns the script a thread was started by. |
getscripthashget_script_hash | Returns the SHA-384 hash of the string getscriptbytecode returns for the script. |
getscriptsget_scripts | Lists every script in the client, wherever it is, including ones parented to nil. |
getscriptthreadget_script_thread | Returns the main thread of a running script. |
getsenvget_senv | Returns the globals table of a running script. |
iscorescript | Reports whether a script belongs to Roblox's own interface code. |
isexecutorthreadis_executor_thread | Checks whether a thread belongs to your scripts. |
require | Loads a ModuleScript and returns its result, from your scripts. |
saveinstance | Saves the game, or part of it, to a file in your workspace folder that Roblox Studio can open. |
SaveInstanceOptions | Typed save-options library. |
SaveInstanceOptions.new | Creates typed options for a binary instance save. |
saveplace | Saves the whole game through saveinstance. |
No function in Scripts matches that filter.
