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

How can I make a leaderboard?

Hi, I'm wondering how I can make a leaderboard for a shooting game. Please reply ASAP.

1 answer

This is the script you need

game.Players.PlayerAdded:connect(function(plr)
	local leaderstats = Instance.new("Folder",plr)
	leaderstats.Name = "leaderstats"
	
	local kills = Instance.new("IntValue",leaderstats)
	kills.Name = "KOs"
	kills.Value = 0
end)

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