GameDataStoreService
This item only works when running on the server. Server
Service which manages central access to datastore. This datastore will refresh pretty frequently and can be used for configuration and other components, such as Twitter codes or global settings.
Functions
SetRobloxDataStore
GameDataStoreService.SetRobloxDataStore() → ()Injects the underlying datastore to use instead of resolving a real one. Accepts a real datastore or a DataStoreMock. Intended for testing; must be called before the datastore is first resolved.
PromiseDataStore
Promises a DataStore for the current game that is synchronized every 5 seconds.