メインコンテンツへスキップ

引数

thread
必須
Luau thread whose associated Script Instance is returned.

戻り値

Instance | nil
Associated Script Instance when available; otherwise nil.

例

Read the Script Instance stored on a Luau thread, if one is attached.