SuguruDev
(SuguruDev)
#1
Hello Dev Forum, I am not really an expert at datastores and didn’t know what to Title this problem.
So let me explain it.
I am trying to get a specific value from a Datastore table.
Like this :

How would I go about getting the values from that? Would I have to use [] somehow?
If you don’t mind explaining that’d be amazing!
DasKairo
(Cairo)
#2
You would do this when looking for it
if Data["Owner"] then -- as an example
print"Found"
end
Ex.Value = Data["Example"]
1 Like
Whatever value you want it looks like you could do, DatastoreData.AccessCode and vice versa. Because the values inside the brackets is the index.
1 Like
SuguruDev
(SuguruDev)
#4
Thank you so much for an example, it means a lot to me.
SuguruDev
(SuguruDev)
#5
Thank you for explaining and the help.
1 Like
system
(system)
Closed
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.