Data being reset after inserting a new BoolValue into the datastore?

  • What are you attempting to achieve? (Keep it simple and clear)
    I am attempting to add a tutorial system in my game with BoolValues in a DataStore.
  • What is the issue? (Keep it simple and clear - Include screenshots/videos/GIFs if possible)
    Data is being reset whenever I add the BoolValue in my DataStore.
  • What solutions have you tried so far? (Have you searched for solutions through the Roblox Wiki yet?)
    I have tried:
    Renaming the BoolValue
1 Like

The title of your post and the content you posted do not match, so it’s hard to determine what exactly your problem is. You should also re-read the Scripting Support Guidelines, since part of a support request is better articulated when you provide a piece of faulty code you need help investigating.


Is there a limit on how many values you can have in a DataStore?
No. There’s a limit on how many characters (or bytes, I think) that you can store per key though.

Data is being reset whenever I add the BoolValue in my DataStore.
This is an issue with your DataStore or implementation of such.

I have tried renaming the BoolValue.
Does nothing useful. Your problem is far beyond a naming convention issue. You’ll have to try more when it comes to solving problems than renaming things.

3 Likes

This sounds like you might have tried to store the boolean value on the array part of the DataStore which could have caused the hash/key part to get dropped. There is not enough information for a proper diagnosis but this is a common issue.