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

How do I give a specific player coins not everyday while having data store?

So I have data store because I'm making a simulator game, the thing is, I want to give my player coins because he helped me so much! And I suddenly realised that I have data store, so how do I do it? his name is aimanlovemalaysia683, Nobiszx and Riziien.

1 comment

0

Contact the Discord found in my Bio.

2 answers

✓ Accepted answer

You can use the command bar or the in-game developer console.

game:GetService("DataStoreService"):GetDataStore("NAME_HERE"):SetAsync(KEY_HERE, COINS_HERE)

Where NAME_HERE is the name of your DataStore, KEY_HERE is the key of the players, and COINS_HERE is how much coins you want to give them.

3 comments

0

omg thanks so much

0

what if I have 3 leaderstats, like resets, rebirths and coins?

0

you ruined me

Can't you just use Adonis Admin and do the command :add [Username] Coins [Number]? That's the way I do it.

This discussion is preserved as it was. New answers, comments, and votes are closed.