Making a datastore for an individual Data Value DataStore2

Hello, I am trying to save a IntValue called “currentUpgrade” that is in a UI Element using DataStore2, this UI is for a upgrade, and for every Upgrade I have in a module script It will clone this “tempUpgrade” and put it in PlayerGUI, and get all the values from that Module script and put it into the Text Labels, Buttons, and Values. I want to create an individual datastore for each of the Upgrades so it does not interfere with the other upgrades, because this value will check if the player is able to buy said Upgrade.

This is what the Hierarchy looks like for Replicated Storage

Screenshot (46)

If anyone needs any Additional Information I’ll be happy to give it to you

1 Like