How to make a Group Leaderboard?

Can someone help me about the Group Leaderboard scripts? I don’t have any ideas for scripting the Group leaderboard like this:
image

Please help me, thank you!

You should elaborate.
Is your goal to display a certain group rank / name for players?

Yeah we can’t help any further. Do you want it to display a rank like owner etc.)

I’m assuming this is what you want to achieve, but for next time please elaborate more.

local groupID = 0000

game.Players.PlayerAdded:Connect(function(Player)
	local leaderstats = Instance.new("Folder", Player)
	leaderstats.Name = "leaderstats"
	
	local groupRole = Instance.new("StringValue", leaderstats)
	groupRole.Name = "Role"
	
	local Role = Player:GetRoleInGroup(groupID)
	groupRole.Value = Role
end)
1 Like

Thank you, let me try it when I coming back to my home.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.