Custom Leaderboard player list and group rank

So I am looking to make a custom leader stat to replace the default roblox one.

I have to GUI and UI for it but I have no clue how to make it so the players roblox name shows up and what there rank is in the group.

I want it to be just like the Leaderstat kinda like a game called “Slayers Unleashed”

But again I have no clue where to start with scripting.

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjBmd6k55D0AhUbilwKHRXYAW4QFnoECAMQAw&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkpUzcsVmRq4&usg=AOvVaw3rKIDe0nvDhdbmYcU-Y8EV

1 Like

This script will print all players name and their group role.

for i,player in pairs(game.Players:GetChildren()) do

print("Player Name : " .. player.Name .. " | GROUP ROLE : " .. player:GetRoleInGroup(7))

end
1 Like

You didn’t provide much context/scripts etc. so all I can provide is this video.

Wow, it didn’t know this either. Thanks for the link.

I thought it was a rickroll at first.