Passer au contenu principal

Arguments

thread
requis
Luau thread whose associated Script Instance is returned.

Retours

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

Exemple

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