How do i get data for a crafting system with datastore2

So basically im want to make a crafting system but the thing is the player’s data is in ReplicatedStorage in a replicatedData folder. How would i get the player’s data in that folder? (and btw in the replicatedData there is a intvalue that gets the players data, im using datastore2 as said in the title)

Here are some images:
Screen Shot 2021-02-28 at 9.54.17 AM Screen Shot 2021-02-28 at 9.54.24 AM

1 Like

First of all, if you’re using DataStore2, from my perspective, there is no point in creating different cache storage of the values. DataStore2 caches the data anyway. If you want to read data locally, you can use a remote function to return a specific portion of the data you need in the local script. Using the cached data directly provides more opportunity for well-organized code and will help you make an efficient crafting system more easily.