| |
|
| |
|
| |
|
| |
|
|
| 18 Sep 2011 11:04 AM |
points.Parent = "leaderstats" cash.Parent = "leaderstats" |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2011 11:09 AM |
@jon. stats would be correct since the variable "stats" applies to the new leaderstats that were inserted.
This script looks like it should work perfectly. maybe the problem is the antivirus scripts. |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2011 11:14 AM |
I will rewrite a leaderboard script for you just incase the script is the problem
game.Players.ChildAdded:connect(function(newp) local stats = Instance.new("IntValue") local cash = Instance.new("IntValue") local pts = Instance.new("IntValue") stats.Name = "leaderstats" cash.Name = "Money" pts.Name = "Points"
cash.Value = 100 pts.Value = 0
stats.Parent = newp cash.Parent = stats pts.Parent = stats
end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Sep 2011 11:18 AM |
| yea just insert that into a script and put it in the game. and remove the old leaderboard script. btw this is my first leaderboard I made from scratch but I am almost certain it will work. if it doesn't then it is something else in the game. |
|
|
| Report Abuse |
|
|
| |
|