|
| 24 Jun 2012 06:17 PM |
game.Players.PlayerAdded:connect(function(p)
L = Instance.new("IntValue") L.Name = "leaderstats"
E = Instance.new("IntValue") E.Name = "Dara" if p.Name == "Bluedragon463" then E.Value = 1000 else E.Value = 30 end E.Parent = L
L.Parent = p
end) Anyone know whats wrong with it? |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2012 06:18 PM |
| for some reason it doesnt show the players money(dara) thing when ingame |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jun 2012 06:26 PM |
Erm.. I think that it is..
Instance.new("Leaderstats") |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2012 06:27 PM |
DERP..
FORGET THAT..
I'm sorry<3 |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2012 06:29 PM |
| Your missing and end, put one right above "end)" |
|
|
| Report Abuse |
|
|
| |
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 24 Jun 2012 07:17 PM |
Game.Players.PlayerAdded:connect(function(p)
Instance.new("IntValue", p).Name = "leaderstats"
Instance.new("IntValue", p.leaderstats).Name = "Dara"
if p.Name == "Bluedragon463" then --Change this to check userid; names can get changed. p.leaderstats.Dara.Value = 1000 else p.leaderstats.Dara.Value = 30 end end)
If it doesn't work, I just don't know. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2012 08:50 PM |
| i'm guessing roblox leaderboard is acting weird i guess cuz i noticed alot fo leaderboard stuff in places dont work no more |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2012 08:56 PM |
its working ..thank you :D
|
|
|
| Report Abuse |
|
|
| |
|
abaw7
|
  |
| Joined: 23 Oct 2009 |
| Total Posts: 745 |
|
| |
|
|
| 24 Jun 2012 09:58 PM |
| you do realsie they would have to do it before they enter to make it work |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 24 Jun 2012 10:38 PM |
@All of the above; Two mods got name changes, actually, if you count admins as mods.
I'm saying that anything can happen, and it's best to future-proof. |
|
|
| Report Abuse |
|
|