rawget
Overridden to work on game table proxies as well as normal tables.
Syntax
rawget(table: table, key: string) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
table | table | The table value used by the call. |
key | string | The key or secret used by the operation. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
rawget is part of the GC & memory scanning library. GC helpers read the game's Luau heap from outside the process and can inspect or control the collector.
The operation is performed immediately using the arguments supplied at the call site.
Example
local hits = findgc("Leaderstats")
print(hits and rawget(hits[1], "Cash"))
Notes
- GC results depend on the live game heap and collector state.