plz tell me wats wrong! the person I made this for said it didnt show up, and then I tested in solo mode, and no values showed up, or any words on the leaderboard... and as well as am at asking yas about this leaderboard... the guy wants to know if its possible for this to add points every 12/24 hours even if someone isnt online... and he asked if I could make it saveable so that he wouldnt need to get a different script, cos he wanna have it all in 1 script... thnx for reading...
local stats = {"Points", "RW", "TDD"}
game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("Model", player)
leaderstats.Name = "leaderstats"
for _, stat in pairs(stats) do
Instance.new("IntValue", leaderstats).Name = stat
end
end
game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("Model", player)
leaderstats.Name = "leaderstats"
local money = Instance.new("IntValue", leaderstats)
money.Name = "Points"
money.Value = 0
end)
while wait(3600) do
for _,Player in pairs(game.Players:GetPlayers()) do
if Player:FindFirstChild("leaderstats") then
Player.leaderstats.Money.Value = Player.leaderstats.Money.Value +100
end
end
end

4 comments
doees it have to be money in it? cos I made this to be just them 3
and does there have to be a space between the last leaderstats and }???
I mean between " and }
he said it owrks perfect :D thnx a lot bro :D :) =)