DataStore

Roblox's persistent key-value storage for saving player data between sessions.

Think of it as A bank vault in another city.

Calls such as GetAsync, SetAsync and UpdateAsync go over the network, take time, can fail and are limited by a request budget. They do not work in an unpublished place.

Where the picture breaks

The vault keeps only the last write for a key, so two servers writing the same key can silently undo each other.

A DataStore is a remote key-value store with request budgets. Calls are slow and can throw, so code wraps them, retries carefully and uses UpdateAsync or a session lock when more than one server might write.

See it with the rest of the analogy cast

Official reference: create.roblox.com

Related terms