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

# Environment

> Dostęp do środowisk wykonawczych i obiektów zebranych w pamięci.

<div className="real-category-page">
  Dostęp do środowisk wykonawczych i obiektów zebranych w pamięci.

  ## Dostępne funkcje

  <CardGroup cols={2}>
    <Card title="filtergc" href="./filtergc">
      Szuka live garbage-collected tables albo functions pasujących do podanych filters. filterType musi być "table" albo "function". options musi być table.
    </Card>

    <Card title="getgc" href="./getgc">
      Returns an array table of live Luau garbage-collected objects visible to the API. Functions and userdata-like objects are included by default. Tables are included only when includeTables is true. get\_gc\_objects is an alias.
    </Card>

    <Card title="getgenv" href="./getgenv">
      Zwraca current executor environment table przez pushing LUA\_ENVIRONINDEX. Function nie przyjmuje arguments, zwraca exactly one value i nie ma registered alias. Call-sites w repository uzywaja returned table do odczytu i zapisu shared executor globals takich jak \_\_siApiCache i saveinstance.
    </Card>

    <Card title="getrenv" href="./getrenv">
      Returns the Roblox global environment table. The function takes no arguments and returns exactly one value.
    </Card>

    <Card title="getscriptglobals" href="./getscriptglobals">
      Zwraca new table zawierajaca current LUA\_GLOBALSINDEX values dla \_G i shared. Function nie przyjmuje arguments, tworzy fresh table, przypisuje \_G z LUA\_GLOBALSINDEX.\_G oraz shared z LUA\_GLOBALSINDEX.shared i zwraca exactly one value. Nie zwraca full global table, a dla getscriptglobals nie zarejestrowano alias.
    </Card>

    <Card title="gettenv" href="./gettenv">
      Returns the environment table stored on a Luau thread. getstateenv is an alias.
    </Card>

    <Card title="setclipboard" href="./setclipboard">
      Writes one value to the Windows system clipboard as text. The value is converted to a string. The function returns no status value, whether the clipboard write succeeds or fails. toclipboard is an alias.
    </Card>

    <Card title="setrbxclipboard" href="./setrbxclipboard">
      Writes a required string to the Windows clipboard using Roblox Studio clipboard data format. The function returns no status value, whether the clipboard write succeeds or fails.
    </Card>
  </CardGroup>
</div>
