Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why isn't my leaderboard working?

Asked by 9 years ago
game.Players.PlayerAdded:connect(function(p)
    local stats = Instance.new("IntValue")
    stats.Name "leaderstats"
    stats.Parent = p

    local money = Instance.new("IntValue")
    money.Name = "Credits"
    money.Value = 300
    money.Parent = stats
end)

Ah, please help me, I can't seem to find the problem. :/

0
I did it but ti didn't work, but its ok I finded out I forgot = on line 3. Thanks! ItsTayen 0 — 9y

Answer this question