别名
getscriptfunction
参数
userdata
必填
Script object to load. Supported ClassName values are ModuleScript, LocalScript, CoreScript, and Script with RunContext Client.
返回值
function | nil
Loaded Lua closure, or nil when no usable bytecode is available or the Luau loader fails.