.rbxlx/.rbxl file in your
workspace. Called with no arguments it saves the whole game.
This is installed from Luau, not native. On first use Athena fetches
SynSaveInstance with
game:HttpGet and runs it. That means the first call needs working HTTP, and
the exact options and output format are SynSaveInstance’s rather than Athena’s.
It is published on getgenv().Parameters
Instance
The instance to save. Defaults to
game.table
SynSaveInstance’s option table. Athena merges in its own defaults, below.
Athena’s defaults
Athena pre-setsRiskyServicesDisabled so that the services most likely to hang
or error during a save are skipped:
Anything you pass in
options overrides these; the three risky flags are only
defaulted when you have not set them yourself.
Behavior
- The first call is slow. It downloads and compiles the serialiser before doing any work. Later calls reuse it.
- A bootstrap failure warns rather than raises. If the fetch or compile
fails, a warning is printed at install time and the global will be absent.
Check
getgenv().saveinstancebefore relying on it. - Output goes to the workspace, where
listfilescan see it. - Saving all of
gameis expensive in both time and memory.
Example
Related
saveplace: shorthand for savinggame.- Filesystem: where the output lands.