johny220
|
  |
| Joined: 30 Oct 2011 |
| Total Posts: 4584 |
|
|
| 15 May 2012 08:46 PM |
| how do i make more than 1 "money" thing on the leaderboard? i realy need help with it for my minecraft game. thanks! |
|
|
| Report Abuse |
|
|
ozza
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 726 |
|
|
| 15 May 2012 08:48 PM |
game.Players.PlayerAdded:connect(function(player) local leaderstats = Instance.new("IntValue", player) leaderstats.Name = "leaderstats" leaderstats.Value = 0 local stat1 = Instance.new("IntValue", player.leaderstats) stat1.Name = "yep" stat1.Value = 0 local stat2 = Instance.new("IntValue", player.leaderstats) stat2.Name = "nope" stat2.Value = 0 end)
|
|
|
| Report Abuse |
|
|
johny220
|
  |
| Joined: 30 Oct 2011 |
| Total Posts: 4584 |
|
| |
|
bluepen16
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1870 |
|
|
| 17 May 2012 04:57 PM |
game.Players.PlayerAdded:connect(function(player) local leaderstats = Instance.new("IntValue", player) local name = Instance.new("IntValue",leaderstats) local name = Instance.new("IntValue",leaderstats) local name = Instance.new("IntValue",leaderstats) local name = Instance.new("IntValue",leaderstats) local name = Instance.new("IntValue",leaderstats) leaderstats.Name = "leaderstats" leaderstats.Value = 0 local stat1 = Instance.new("IntValue", player.leaderstats) stat1.Name = "yep" stat1.Value = 0 local stat2 = Instance.new("IntValue", player.leaderstats) stat2.Name = "nope" stat2.Value = 0 end) |
|
|
| Report Abuse |
|
|
juriaan
|
  |
| Joined: 25 Nov 2008 |
| Total Posts: 939 |
|
|
| 17 May 2012 04:57 PM |
Val = {"Money", "Value", "Value", "Value", "Value"}
Game.Players.PlayerAdded:connect(function(new) Int = Instance.new("IntValue", new) Int.Name = "leaderstats"
for i = 1,#Val do local l = Instance.new("NumberValue, Int) l.Name = Val[i] l.Value = 0 end end)
|
|
|
| Report Abuse |
|
|
johny220
|
  |
| Joined: 30 Oct 2011 |
| Total Posts: 4584 |
|
|
| 18 Jun 2012 03:59 PM |
| THANK YOU SO MUCH YOU'RE MIRACLE WORKERS |
|
|
| Report Abuse |
|
|