The Instances library covers the instance operations a game script cannot do for itself: firing input events directly, reaching hidden containers, and listing instances the normal tree does not expose. It also carries cloneref and compareinstances, which exist to work with and around the engine’s instance cache.

Functions

Serialising instances

saveinstance and saveplace write an instance tree to a file in your workspace. Both are installed from Luau on top of SynSaveInstance rather than being native, so read their pages before relying on them.

Aliases