Pular para o conteúdo principal

Argumentos

thread
obrigatório
Luau thread whose associated Script Instance is returned.

Retornos

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

Exemplo

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