Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I make a Datastore variable, but for everyone?

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?

1 comment

0

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

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.