Classes
Datastore
Datastore
is a class used for storing data persistent across play sessions
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.
Properties
userId: int
Tells the user id of whom this database belongs to.
busy: bool
Tells if the class is busy in waiting/setting for a change.
Functions
Get(string keyname)
Returns the value of key. An example:
Set(string keyname, value)
Sets a value of a key. This function will create a key if doesnt exist and overwrite if exists.An Example:
Remove(string key)
The key needs to be the valuename. An example:
Signals
None for now.