Hi, I am curious if its possible to have two Data Store scripts and the Data Store still be functional? Say I have one script that has a Data Store Code, and Another with a Data Store Code. Each create a different value such as "Coins" and "Score". And the "Coins" Data store code would then save the data to the player and retrieve it. The "Score" Data Store would do the same thing except with the "Score" value. Sorry if this seems really complicated, but I am just curious because it would seem easier to do it that way instead of putting the code of both scripts into one script.

5 comments

0

What do you mean by this?

0

I clarified the question a bit more.

0

Yes, it's possible, but it's smarter to put them both into one script.

0

Not to sound rude, but why?

0

Clarity and organization. Always code something so that somebody with no knowledge of the code can figure it out with as little effort as possible