Classes
DataStoreService
DataStoreService
is a class which is used to save data
You cannot Instance this class with
Instance.new()
This class cannot be accessed by client sided scripts.
Maximum 30 requests can be made in a mintue.
When using this service in local playtest: Your datastore WILL be saved into your computers storage under the username given by local server. Check workshop settings to disable this or to clear existing databases.
Functions
GetDataStore(int user_id)
This function is used to get datastore of the user id given. Returns DataStore
. You must use a Connect
function in-order to perform things with the datastore! An example:
CreateDataStore(int user_id)
Signals
OnDataStoreLoad
Called when a datastore is done loading. Example:
OnInternalError
This signal will never be emitted during local playtest