|
| 30 Nov 2011 01:29 AM |
game.Players.PlayerAdded:connect(function(plr) wait(3) repeat wait() until plr.PlayerGui plr.PlayerGui:FindFirstChild("HealthGUI"):Remove() plr.Character:FindFirstChild("HealthScript v3.1"):Remove() wait(2) plr.PlayerGui.main.Script.Disabled = false plr.CharacterAdded:connect(function() wait(3) repeat wait() until plr.PlayerGui plr.PlayerGui:FindFirstChild("HealthGUI"):Remove() plr.Character:FindFirstChild("HealthScript v3.1"):Remove() wait(2) plr.PlayerGui.main.Script.Disabled = false end) plr:WaitForDataReady()--Here from.. plr:LoadNumber("XP") plr:LoadNumber("Gold") plr:LoadNumber("Level") plr:LoadNumber("Rank")--Here wont work. The output is nothing and all it does is break a script I need. lead = Instance.new("IntValue",plr) lead.Name = "leaderstats" lead.Value = 0 xp = Instance.new("IntValue",plr) xp.Name = "XP" xp.Value = 0 gold = Instance.new("IntValue",plr) gold.Name = "Gold" gold.Value = 6000 lvl = Instance.new("IntValue",lead) lvl.Name = "Level" lvl.Value = 1 rank = Instance.new("IntValue",plr) rank.Name = "Rank" rank.Value = 0 end)
game.Players.PlayerRemoving:connect(function(plr) plr:SaveNumber("XP", plr.XP.Value) plr:SaveNumber("Gold", plr.Gold.Value) plr:SaveNumber("Level", plr.leaderstats.Level.Value) plr:SaveNumber("Rank", plr.Rank.Value) end) |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 30 Nov 2011 02:20 AM |
| The output is nothing and all it does is break a script I need. |
|
|
| Report Abuse |
|
|
sonickyle
|
  |
| Joined: 01 Jan 2009 |
| Total Posts: 5653 |
|
|
| 30 Nov 2011 02:21 AM |
A Leaderboard? It Might Be Possible That The Script Only Works In Online Mode, Like Mine. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 30 Nov 2011 02:23 AM |
| Sadly, Nothing.. Hold on i'm going to try a server. |
|
|
| Report Abuse |
|
|
| |
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 30 Nov 2011 02:29 AM |
Output;
XP is not a valid member of Player 00:29:05 - Script "Players.Player.PlayerGui.main.Script", Line 27 |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2011 02:30 AM |
| oops that's for a diffrent script. |
|
|
| Report Abuse |
|
|
| |
|
oxcool1
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 15444 |
|
| |
|
|
| 30 Nov 2011 03:13 AM |
| Ok, It works but know it wont save.. or load. BTW, I don't think it ever Saved/Loaded.. |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2012 01:34 PM |
| What i srsly hate at roblox now: they changes the Prompter.. Back in the old times ALL outputs were displayed.. now its like... Oh 1 error... but script is fawked up... NOTE to roblox PLEASE fix that and make it like then O.e ( also when a script is Running or restarted that it says That That Particulary script is beeing Runned :o!! |
|
|
| Report Abuse |
|
|