Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

good idea to save stats in 2 separate data stores?

Asked by 5 years ago
Edited 5 years ago

Probably isn't but I need to make sure (don't want my players complaining about it)

so currently I have one huge script for it, and I'm sure that isn't at all good. When I joined a server and opened the dev console I saw tons of

DataStore request was added to queue. If request queue fills, further requests will be dropped. Try sending fewer requests. Key =tools-4933190

errors.

So I made a new system and was wondering how I should go about saving them now. And I tried saving tables but that seems very complex and difficult to do but if anyone can easily explain that to me (I suck at understanding complex things and like when I can see it step by step).

thanks for helping me with my stupidity

EDIT: this is what I mean by "...2 separate data stores"

local datastore1 = game:GetService("DataStoreService"):GetDataStore("stats1")
local datastore2 = game:GetService("DataStoreService"):GetDataStore("stats2")
0
I don't know how to answer this. If you are saving irrelevant pieces of data, use different data-stores. McDonalds data in one datastore, KFC in another. Make sure to compile your relevant data into a table. If you don't know how to use tables, I highly suggest you do that beforehand. pidgey 548 — 5y
0
if you want assistance with your datastore you'll have to show us how you're saving and how often DinozCreates 1070 — 5y
0
when posting questions here you're more likely to get an answer when posting more information than needed than less, just try not to go overboard. DinozCreates 1070 — 5y

Answer this question