Can someone help me write an example of a already redeamed system?

So im making this thing once the player reaches an amount of currency they get a reward. But the problem is it spams. Can someone show me how to make setup a datastore that checks if a player already did it or not?

1 Like

Are you sure you want that to be saved over a DataStore (so even when a player leaves it saves) or do you just want to avoid the repeated reward?