Script Library
Returns a thread (or nil) that's derived from an associated script.
getscriptthread(script: BaseScript): thread?