메인 콘텐츠로 건너뛰기

인수

userdata
필수
조회할 Script object입니다. 허용되는 ClassName 값은 Script, LocalScript, ModuleScript입니다.

반환값

thread | nil
연결된 Lua thread 또는 matching live thread를 찾지 못하면 nil입니다.

예제

Read the Luau thread associated with a supported script Instance when one is available.