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

How do you make a leaderboard in latest version of studio?

1 answer

In a server script:

game:GetService("Players").PlayerAdded:Connect(function(player)
	local leaderstats = Instance.new("Model") --could be a folder or whatever
	leaderstats.Name = "leaderstats" --required
	leaderstats.Parent = player
	local Kills = Instance.new("IntValue") --an example of a leaderboard section
	Kills.Name = "Kills"
	Kills.Parent = leaderstats
end)

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