Chuyển đến nội dung chính

Đối số

thread
bắt buộc
Luau thread whose associated Script Instance is returned.

Giá trị trả về

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

Ví dụ

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