Learning how leaderboards work

I’ve made a topic similar to this but for debounces. I’m just showing my progress and what I’ve been up to. Should I just put everything I learn into one topic, if you can, reply if I should do it or not.

game.Players.PlayerAdded:Connect(function(player)
	local leaderstats = Instance.new("Folder",player)
	leaderstats.Name = "leaderstats"
	
	local gold = Instance.new("IntValue",leaderstats)
	gold.Name = "Gold"
end)

Looks good, but I would advise Parenting your variables after setting your properties & once you’re done with configuring them :thinking: Are you wanting to add DataStores to them as well? Or just that?

Well, considering I’m a week and a half into scripting, I don’t think I’m going to be learning datastores for a little bit.

If you are new to scripting on Roblox, then I recommend checking out their official Education site. It’s a great resource with real game types to work through and learn how they work.