> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getcallingscript

> current Luau thread object uzerinde saklanan script degerini dondurur. Function arguments kabul etmez. stored reference olan the current thread script degerini okur. Bu stored reference expired degilse function script Instance degerini Instance cache ile push eder ve dondurur. stored reference expired ise function nil dondurur. Function Lua call stack incelemez, ancestor scripts aramaz ve script ClassName kontrol etmez.

<div className="real-function-page">
  ```lua theme={null}
  getcallingscript(): Instance | nil
  ```

  ## Dönüşler

  <ResponseField name={"script"} type={"Instance | nil"}>
    current Luau thread object stored reference icinden Script Instance, veya bu stored reference expired ise nil.
  </ResponseField>
</div>
