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 |
|
|
|
| 19 Jun 2013 04:23 PM |
| http://wiki.roblox.com/index.php/Data_persistence |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 19 Jun 2013 04:28 PM |
| Wiki links help alot if you read them. They even give you scripts. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|