How would I store a IntValue to DataStore?

Hello dev comunity,
I’ve been recently working on a game with THE BUDS, basiclly the game is THE BUDS office game.
I need to store a 2 IntValues to DataStore, (preferablly DataStore2 if possible).
How would I do that?

The opening deadline for the game is Thursday 15 April 2022, 13:30 (spain time) so pls if you know how to do it, pls show me

1 Like

Hello :slight_smile:

Maybe one of these might help you :

Just store the value of the IntValue to the datastore?

put the values in a table and save the table to the data store

like this:
datastore:SetAsync(key,{value1.Value, value2.Value})