I tried to make a leaderboard script, and it doesnt work. I copied it from my scripting book which worked ages ago, and it doesnt now.
game.Players.PlayerAdded:Connect(function(player)
local leaderboard = Instance.new("IntValue")
leaderboard.Parent = player
leaderboard.Name = "Stats"
local Points = Instance.new("IntValue")
Points.Parent = leaderboard
Points.Name = "Money"
end)
I see no problems in here, unless i'm just too blind to spot it.

2 comments
it might be custom
Post this as a comment not an answer