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

is something wrong with my datastore because its not working? [closed]

Asked by 4 years ago
001local players = game:GetService("Players")
002local dataStoreService = game:GetService("DataStoreService")
003local dataStore = dataStoreService:GetDataStore("Datastored")
004 
005local tries = 3
006local dataLoaded = false
007 
008 
009local function Set(plr)
010    if dataLoaded then
011 
012        local key ="plr-" .. plr.UserId
013        local count = 0
014 
015        local data = {
View all 122 lines...
0
Be more specific with "its not working". What's not working? Are the values loading incorrectly, is it erroring, give more detail so we can identify the problem. joshthegamer456 93 — 4y
0
You showed no attempt for the community to answer your question. Not only that, you didn't even write the context of the problem meaning, you had to write a description. Is there any errors? Did you try using a print function? etc. For that your question will be closed. JesseSong 3916 — 4y

Closed as Non-Descriptive by JesseSong

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?