Functions
Choosing the right accessor
- To keep a value between executions, store it on
getgenv. The executor global is shared across separate runs in the same VM; a local or a global on your own chunk is not. - To reach the game’s
game,workspace, or standard libraries, usegetrenv. - To find a specific function or table, prefer
filtergcover iteratinggetgcyourself. It filters during the walk, so it builds far less garbage and is meaningfully faster for targeted searches.