How to make a Leaderboard for Money and Strength

image
Like This But With Strength basically what i am saying i need to have multiple score things

1 Like

You can use leaderstats to achieve this. I don’t exactly know how to use it though as I’ve never used it before, so here’s a source which you can use for assistance: Roblox’s official article about leaderboards

If you want help you could always ask me (though not recommended) or ask someone else.

Thanks for the tip, also i see you joined devforum on my birthday lol

You can use datastore to save the player coin and jewel

1 Like
local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(Player)
	local Leaderstats = Instance.new("Folder")
	Leaderstats.Name = "leaderstats"
	Leaderstats.Parent = Player
	
	local Money = Instance.new("IntValue")
	Money.Name = "Money"
	Money.Parent = Leaderstats
	
	local Strength = Instance.new("IntValue")
	Strength.Name = "Strength"
	Strength.Parent = Leaderstats
end)

Server script inside the ServerScriptService folder.

More information:
https://developer.roblox.com/en-us/articles/Leaderboards
https://education.roblox.com/en-us/resources/adventure-game-creating-a-leaderboard

3 Likes