joshhax
|
  |
| Joined: 08 May 2013 |
| Total Posts: 390 |
|
|
| 25 Jul 2013 12:40 PM |
It doesnt say anything in the output. It worked two days before but now it will not.
local playerStats = {} game.Players.PlayerAdded:connect(function(player) local leaderstats = Instance.new("Model", player) leaderstats.Name = "leaderstats" local money = Instance.new("IntValue", leaderstats) money.Name = "DaysSurvived" money.Value = 0 playerStats[player] = leaderstats end) while true do for player, stats in ipairs(playerStats) do stats.money.Value = stats.money.Value + 1 print "Leaderstats Updated" end wait(120) end |
|
|
| Report Abuse |
|
|
joshhax
|
  |
| Joined: 08 May 2013 |
| Total Posts: 390 |
|
|
| 25 Jul 2013 12:54 PM |
| Please help the noob scripter :c |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 25 Jul 2013 12:56 PM |
| Try adding a wait right after the playeradded |
|
|
| Report Abuse |
|
|
joshhax
|
  |
| Joined: 08 May 2013 |
| Total Posts: 390 |
|
|
| 25 Jul 2013 01:04 PM |
| The leaderboard is present it just doesnt update. |
|
|
| Report Abuse |
|
|