If you aren't sure about if your script is right and if you could of missed something, all the scripts are provided in the description and on this comment: Datastore script: pastebin.com/u9rMz7g9 Give Cash Script: pastebin.com/MHXHxYdH Cash Giving Part Script: pastebin.com/BJMyeF87 Button Script: pastebin.com/hhMfLEyM
If you want a cooldown part: Make that After you write: leaderstats.Cash.Value += 10 You write that: script.Parent.Script.Enabled = false task.wait(math.random(3, 5)) script.Parent.Script.Enabled = true end)
If you aren't sure about if your script is right and if you could of missed something, all the scripts are provided in the description and on this comment: Datastore script: pastebin.com/u9rMz7g9
Give Cash Script: pastebin.com/MHXHxYdH
Cash Giving Part Script: pastebin.com/BJMyeF87
Button Script: pastebin.com/hhMfLEyM
You have a script for make a text label who show the stats?
If you want a cooldown part:
Make that
After you write: leaderstats.Cash.Value += 10
You write that:
script.Parent.Script.Enabled = false
task.wait(math.random(3, 5))
script.Parent.Script.Enabled = true
end)
Thank you, I have been, struggling with data store
you're my saver
Glad I could help!
bro i am making a game and dont work i changed de leaderstats in Speed but still dont work i make sure i changed corectly inclusive the first part
bruh fr i just dont understand how ppl can script its so hard
i made the script but for some reason it didnt save my data
Copy the script in the description to check and make sure API services are on through the game settings and security.
@@FinBearStudio DIDNT SAVE
If you use click Button for got stats its not save your data@@rafiscor
the player has no data