How to make ranks in leaderboard?

Hey! I’m trying to make game similar to half life but theres problem, how do I make ranks in leaderboard without roblox group? For example in leaderboard will be “Civilian” in one team, when player selects other team he will have “Recruit” rank in leaderboard.

1 Like

Have you looked at Teams? This appears to be what you are looking for.

You can use a string to initialize the rank. Something like leaderboard.rank = “Civilian”

1 Like

Hm. I will try to do something from it.

1 Like

https://developer.roblox.com/en-us/api-reference/class/Teams
https://developer.roblox.com/en-us/api-reference/class/Team

Tables are not needed, but can be useful for storing content, such as team ranks.

local valueToSave = {
   plr.Random.Value,
}