getscriptbytecode
Notes on getscriptbytecode
This function should return nil
if the script has no bytecode. This makes it easier to check for absence consistently across executors.
getscriptbytecode
retrieves the bytecode of a LocalScript
, ModuleScript
, and Script
.
Parameters
Parameter | Description |
---|---|
script |
The script instance to retrieve the bytecode from. |