How to get a specific value from a DataStore table

I’m a little confused.

When you do :GetAsync(), it should return the entire table, you can either convert this to instances (which I think you are doing), or save it as a table somewhere. You can then modify these values, however when you go to :SetAsync(), you have to use the same save function in both scripts, and use the same table every time.

Okay, so It returned an entire table when I printed it but when I changed the value and use SetAsync to set the players value it doesn’t change when I look in the explorer everyone is telling me to convert into an instance then grab the value from there, but how do I achieve this?

1 Like

You can use :FindFirstChild() or just index it like a normal explorer.

So how would you correct this?
image

1 Like

You can just use the function you created to compile the data and set it that way. Or alternatively, you could look into UpdateAsync if multiple servers are modifying the data at the same time.