|
| 26 Oct 2016 11:13 AM |
I'm trying to fix the cash leaderboard which doesn't seem to be working. It comes up in player but the value from ServerStorage doesn't change the leaderboard.
game.Players.PlayerAdded:connect(function(player) local plr = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name) local money = plr.Value local stats = Instance.new('IntValue', player) stats.Name = 'leaderstats' local cash = Instance.new('IntValue', stats) cash.Name = 'Cash' while true do wait(0.5) cash.Value = money end end) plz help thnx |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Oct 2016 11:18 AM |
game.Players.PlayerAdded:connect(function(player) local plr = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name) local money = plr local stats = Instance.new('IntValue', player) stats.Name = 'leaderstats' local cash = Instance.new('IntValue', stats) cash.Name = 'Cash' while true do wait(0.5) cash.Value = money.Value end end) |
|
|
| Report Abuse |
|
|