#How do I make a leaderboard that stats work so that one saves but the other one doesn't

1 messages · Page 1 of 1 (latest)

lyric ocean
#

have your total time == to the datastore value. If you are testing this in roblox studio beware of the fact that when you click stop, You shutdown the server which can happen before your code executes.

#

use :GetAsync(key) to get the datastore value

final nova
#

so you want to save both Values? just make another data store for the second value, or you can use a table for data saving, it's a good method when you don't want to create like 100 data stores lol