> ## 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.

# getinstances

> Mengembalikan array table baru yang berisi setiap object value yang saat ini tersimpan di Instance cache. Function ini tidak menerima arguments. Function tidak memfilter berdasarkan Parent, ClassName, DataModel fieldship, nil-parent state, atau Instance validity selain memeriksa bahwa setiap registry value adalah object. Entries disalin ke table yang dikembalikan pada sequential numeric indexes mulai dari 1. iteration order berasal dari table iteration atas cache dan tidak diurutkan oleh function.

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

  ## Return

  <ResponseField name={"instances"} type={"{ Instance }"}>
    Array table berisi object values yang disalin dari Instance cache table.
  </ResponseField>
</div>
