getscriptfromthread Synchronous
Script associated with thread.
Luau
getscriptfromthread(target: thread) -> ScriptInstance?Parameters
| Parameter | Type |
|---|---|
target | thread |
Returns
ScriptInstance?Script associated with thread.
getscriptfromthread(target: thread) -> ScriptInstance?| Parameter | Type |
|---|---|
target | thread |
ScriptInstance?