Volt

saveplace

Saves the current place to a file.

Syntax

saveplace(filename: string?) -> void

Parameters

ParameterTypeDescription
filenamestring(Optional) Output file name

Returns

This function does not return a value.

Description

saveplace is a shorthand for saveinstance that saves the entire game to a file.

Example

-- Save with default name
saveplace()

-- Save with custom name
saveplace("MyGame.rbxl")

Notes

  • Saves to the workspace folder
  • Equivalent to saveinstance({FilePath = filename})

On this page