[SOLVED] Datastores getting table Data

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 :
image

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!

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

Thank you so much for an example, it means a lot to me.

Thank you for explaining and the help.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.