For example, let's say you have a variable that increases by one every time a button is pressed. Let's also say, that you want variable to be saved every time that button is pressed. Naturally, I was thinking you'd use a datastore, but it'd save a different number for everyone. So how could I make it save the same number for everyone?
COMMUNITY QUESTION
How would I make a Datastore variable, but for everyone?
1 answer
You can basicly it so there is an another leaderstat called personal amount and it adds not to the server stat but to player
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
you'd have to save that number for every player on the server by using the 'for' function. (as an example)