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

How would you save if an item has been picked up?

Asked by 6 years ago

So in my game I'm working on, I have coins you can pick up in the world. However, I want it to store if the coin has been picked up so you can't get the same coin twice. Obviously, you'd do this with DataStore. However, the way I'm thinking you'd do this, is you'd assign a datastore to each coin. But since I plan on having a bunch of coins in the game, I don't want to make a DataStore for each coin. What could I do instead to not make that many datastores?

Thanks!

Answer this question