Skip to main content

参数

userdata
必填
要 decompile 的 Script object。支持的 ClassName 值为 ModuleScript、LocalScript、CoreScript,以及 RunContext Client 的 Script。

返回值

string | nil
Decompiler output string、caught decompiler exception text,或没有 usable embedded bytecode 时的 nil。

示例

Decompile a supported Roblox script Instance. To decompile a whole game, iterate its descendants or use a saveinstance workflow.