Skip to content

getscriptbytecode

Description:

This function demonstrates the usage of the getscriptbytecode API.

Example:

-- Get the bytecode of a script
local bytecode = getscriptbytecode(some_script)

print("Script bytecode: " .. tostring(bytecode))