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 » Scripting Helpers
Home Search
 

Re: Data persistence

Previous Thread :: Next Thread 
Ferseus is not online. Ferseus
Joined: 23 May 2013
Total Posts: 247
19 Jun 2013 04:23 PM
OK guys so I made a script that adds a number value to a players character when they enter the game. But I'm not skilled enough when it comes to data persistence. Can someone lend me a script that saves the number value to the player and makes them rejoin with the same one they had when it saved?
Report Abuse
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
19 Jun 2013 04:23 PM
http://wiki.roblox.com/index.php/Data_persistence
Report Abuse
Ferseus is not online. Ferseus
Joined: 23 May 2013
Total Posts: 247
19 Jun 2013 04:27 PM
Can you actually help me? Not post a link to the wiki?
Report Abuse
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
19 Jun 2013 04:28 PM
Wiki links help alot if you read them. They even give you scripts.
Report Abuse
Ferseus is not online. Ferseus
Joined: 23 May 2013
Total Posts: 247
19 Jun 2013 04:33 PM
I've read it already but I cannot understand it completely. That's why Im asking for some help.
Report Abuse
Preston99 is not online. Preston99
Joined: 21 Sep 2008
Total Posts: 247
19 Jun 2013 06:18 PM
Lualearners or wiki.

Nobody wants to spoonfeed you code.
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
19 Jun 2013 06:55 PM
    player:SaveNumber("Number",NumberValue.Value)
    
    game.Players.PlayerAdded:connect(function(player)
      local n=Instance.new("NumberValue", player.Character)
      player:WaitForDataReady()
      n.Value=player:LoadNumber("Number")
    end)
Report Abuse
Ferseus is not online. Ferseus
Joined: 23 May 2013
Total Posts: 247
20 Jun 2013 11:25 AM
Thank you for actually helping me other than those other people who posted on this forum
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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