DataStore2 not saving data

Hello,

I’ve been trying to save my data using DataStore2. Whenever I try to change the value of a intvalue and leave, the output says “Data store -key name here- was not saved as it was not updated.” I can’t understand why this happens, I have the same code as my older projects.

Code:

Any help would be really really appreciated!

1 Like

I recommend just using normal DataStores. They seem much easier to work with. If you decide to switch, I can help you, but I don’t know anything about DS2.

2 Likes

Well using normal datastores are not my cup of tea, because when you update your game, it usually overrides your data. I prefer sticking to DataStore2. Thanks for the response though!

1 Like

As an owner with 2 games with DataStores, this has never, ever happened. If you’d like we can discuss this further in DMs.

3 Likes

Alrighty, I’ll contact you if I can’t fix this issue through DMs.

1 Like

Alright, dumb me, fixed the issue. It was related to API access…

1 Like