#How should I store this data?

2 messages · Page 1 of 1 (latest)

tired path
#

So I have some tools that I want the player to click x amount of times before they upgrade. How should I keep track of how many times the player has clicked the tools? This data should persist between games.

Some things I've considered:

  • Keeping it as a value in leaderstats and then saving data every 10 minutes and upon player disconnect
  • Keeping it as a value in DataStoreService (though I am hesitant that this would be inefficient because the player will be frequently clicking)

Thanks in advance