DataStoreService
Service for accessing and storing persistent data for a map.
Last updated
Service for accessing and storing persistent data for a map.
Last updated
WARNING: Yielding in an will delay the outcome of the event. All DataStoreService functions WILL yield the current thread.
It is highly recommended to use task.spawn()
around all DataStoreService functions. An example is provided below.
Example usage:
Returns the latest stored value for the given key.
Sets the latest value for the given key. Returns true if the network call was successful.
Increases the current integer value for the given key by the given amount (must also be an integer value). Returns true if the network call was successful.
Marks the given key as deleted. Returns true if the network call was successful.