Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do the datastores work when i overwrite a game?

Asked by 5 years ago

So i have a published game but i want to work on a test realm so if i make changes it doesnt update until i want it to.

How do i go about actually implementing the new changes into the live game? Will this mess up any datastores already in place?

Sorry just a little nervous about messing things up.

1 answer

Log in to vote
0
Answered by 5 years ago

Well, to be perfectly honest it shouldn't.

But here a few things that WILL affect your game:

  1. A script that disables other scripts
  2. a script that spreads a virus
  3. Free models (may have viruses)
  4. Plugins (can steal scripts and give viruses)
  5. Any script that will affect the functions of your current scripts

Now when it comes to data store, if you don't have one of the following above There is one more issue. If you add any new stats that will be saved it will affect your game. This will give you a nil value because there is simply no saved data for this new value but there is for the other values. I would suggest resetting your datastore.

How? Well there should be a variable that has :GetDataStore with a string. change the string and it will be resetted.

Hopefully this helped.

Best of luck developer!

Ad

Answer this question