I want to make it where, you like have 25 wins, you quit, and you join back in, your wins are saved.
Here's the leaderboard script:
function onPlayerEntered(newPlayer) local stats = Instance.new("IntValue") stats.Name = "leaderstats" local wins = Instance.new("IntValue") wins.Name = "Wins" wins.Value = 0 wins.Parent = stats stats.Parent = newPlayer end game.Players.ChildAdded:connect(onPlayerEntered)
Thank you.
You are going to want to look into datastore. You can find it here
http://wiki.roblox.com/index.php?title=Data_store