getscriptclosure
Creates a new closure (function) from the module/script's bytecode. The game does not use the function you will get, as it's usually used to retrieve constants.
Parameter
script
- The script instance to get its closure.
Example
Last updated