Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Auto Save script help? [Don't need anymore]

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.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.