So I added a Donation Board to my game, but what should you do if you want to replace it with another one? A person donated. If I enter the same Developer Product ID on to the new one, will it sync the data into the new donation board and show the persons name? If not, please tell me what I should do.
I’m not sure if this helps, but you could try using the same datastore from the last donation board. You will probably have to make some changes to the code as well.
Thanks! I will try that. So I should copy the script from the old board and paste it into the new one and delete the script that is already there in the new one right?
I meant that you could use the same datastore name as the last one. Because there are the data from the previous donation board.
You can also manually add the data to the new donation board using GlobalDataStore | Roblox Creator Documentation or GlobalDataStore | Roblox Creator Documentation with the command bar.
Can you please tell me how I do that? I am a complete noob in scripting… I would really appreciate it if you showed me an example script or so.
You can add the data manually like this:
local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetOrderedDataStore("DATASTORE_NAME")
DataStore:SetAsync(key, value)