dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
|
| 30 Sep 2012 01:34 AM |
why wont this save/load (i dont know which one is erroring because it wont tell me the errors in multiplayer with roplox's output GUI...)
for _,v in pairs(p.Time:GetChildren()) do v.Value = p:LoadNumber("time"..v.Name) end
for _, v in pairs(p.PlayerGui.Clock.Digital:GetChildren()) do if v.ClassName=="NumberValue" then p:SaveNumber("time"..v.Name, v.Value) end
the variables are correct, it just doesnt work right... (it always shows up as 0 for all of the values) |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2012 02:20 AM |
| Well, if you don't use a pcall, then it will crash if the player enters with nothing saved from before. |
|
|
| Report Abuse |
|
|
dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
|
| 30 Sep 2012 02:39 AM |
| I have a p:WaitForDataReady() before that which makes the script wait forever if there is no data saved... |
|
|
| Report Abuse |
|
|
dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
| |
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
| |
|
dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
| |
|