|
| 13 Oct 2011 08:07 AM |
function onPlayerEntered(newplayer)
local stats = Instance.new("IntValue") stats.Name = "Leaderstats"
local points = Instance.new("IntValue") points.Name = "Points" points.Value = 100
local wins = Instnce.new("IntValue") wins.Name = "Wins" wins.Value = 0
wins.Parent = stats points.Parent = stats stats.Parent = newplayer end
game.Players.ChildAdded:connect(onPlayerEntered) |
|
|
| Report Abuse |
|
|
Lowcart
|
  |
| Joined: 12 Sep 2011 |
| Total Posts: 1323 |
|
| |
|
|
| 13 Oct 2011 08:23 AM |
| Leaderboard still doesn't show up? |
|
|
| Report Abuse |
|
|
| |
|
ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
|
| 13 Oct 2011 10:34 AM |
function onPlayerEntered(newplayer)
local stats = Instance.new("Model") stats.Name = "leaderstats"
local points = Instance.new("IntValue") points.Name = "Points" points.Value = 100
local wins = Instnce.new("IntValue") wins.Name = "Wins" wins.Value = 0
wins.Parent = stats points.Parent = stats stats.Parent = newplayer end
game.Players.ChildAdded:connect(onPlayerEntered) |
|
|
| Report Abuse |
|
|
| |
|
Monkey727
|
  |
| Joined: 12 Jan 2009 |
| Total Posts: 969 |
|
|
| 13 Oct 2011 12:02 PM |
It works?
local wins = Instnce.new("IntValue") -- This line is still spelt wrong though. But it works??? O.o
Instance.new not Instnce. :P |
|
|
| Report Abuse |
|
|
| |
|