ReferenceScripts

SaveInstanceOptions.new

Creates typed options for a binary instance save.

Syntax

SaveInstanceOptions.new() -> SaveInstanceOptions

Returns

TypeDescription
SaveInstanceOptionsIndependent typed save configuration.

Description

Supported fields and save behavior are documented on saveinstance. Each call creates an independent options object, so editing it does not modify another save’s settings.

Example

local options = SaveInstanceOptions.new()
options.FilePath = "ExamplePlace"
options.IgnoreList = { game.Players }
saveinstance(game, options)

These are Game executor contracts. Check build requirements and session lifetimes before using them.