generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: I would like to add a save to my script, pls help

Previous Thread :: Next Thread 
SourSkittIes is online. SourSkittIes
Joined: 04 Mar 2014
Total Posts: 82
22 Jul 2017 03:00 PM
amount = 2
timedelay = 2
currencyname = "Cash"

while true do
wait(timedelay)
for i,v in pairs(game.Players:GetPlayers()) do
if v:FindFirstChild("leaderstats") and v then
v.leaderstats[currencyname].Value = v.leaderstats[currencyname].Value + amount
end
end
end
Report Abuse
SourSkittIes is online. SourSkittIes
Joined: 04 Mar 2014
Total Posts: 82
22 Jul 2017 03:01 PM
if you know how, please reply the script!
Report Abuse
kylerzong is not online. kylerzong
Joined: 06 Aug 2011
Total Posts: 659
22 Jul 2017 03:03 PM
http://wiki.roblox.com/index.php?title=Data_store
Report Abuse
SourSkittIes is online. SourSkittIes
Joined: 04 Mar 2014
Total Posts: 82
09 Sep 2017 05:56 PM
ty
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image