miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 12 Sep 2011 09:36 PM |
| How do you know when to save something and when to load it? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 12 Sep 2011 09:37 PM |
game.Players.PlayerAdded:connect(function() to load
and
game.Players.PlayerRemoving:connect(function() to save
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 12 Sep 2011 09:44 PM |
Then would this work?I'm new to it
game.Players.PlayerRemoving:connect(function(p) p:WaitForDataReady() p:FindFirstChild("leaderstats") if p.leaderstats then p.leadertstats:FindFirstChild("Money") p:SaveNumber("leaderstats",Money) end end)--Don't know bout ends need studio game.Players.PlayerAdded:connect(function(P) P:WaitForDataReady() if P.leaderstats.Money >=1 then P:loadNumber("leaderstats",Money) end end)--Need studio for that
Would it work?If not why? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 12 Sep 2011 10:09 PM |
| BUMP AGAIN!I hope I see someone answering my uestion tomorrow :P |
|
|
| Report Abuse |
|
|