Scripts
getcallingscript
current Luau thread object에 저장된 script를 반환합니다. 이 function은 arguments를 받지 않습니다. stored reference인 the current thread script를 읽습니다. 그 stored reference가 expired가 아니면 function은 Instance cache로 script Instance를 push하고 반환합니다. stored reference가 expired이면 function은 nil을 반환합니다. function은 Lua call stack을 검사하지 않고, ancestor scripts를 찾지 않으며, script ClassName도 확인하지 않습니다.
current Luau thread object에 저장된 script를 반환합니다. 이 function은 arguments를 받지 않습니다. stored reference인 the current thread script를 읽습니다. 그 stored reference가 expired가 아니면 function은 Instance cache로 script Instance를 push하고 반환합니다. stored reference가 expired이면 function은 nil을 반환합니다. function은 Lua call stack을 검사하지 않고, ancestor scripts를 찾지 않으며, script ClassName도 확인하지 않습니다.