How to add group ranks on my Player List UI


#1

Hello there,

I am trying to figure out how I can add group ranks to my custom player list GUI. If anyone knows how to do that please let me know. Feel free to take a look at the UI.

What I want it to do

What it does

File

Here is the file if you want to take a look at it. Please don’t use for your own personal use.
PlayerList.rbxm (9.0 KB)


#2

You can use :GetRoleInGroup()

http://wiki.roblox.com/index.php?title=API:Class/Player/GetRoleInGroup


#3

Here you go!

PlayerList_v2.rbxm (9.1 KB)


#4

Thank you very much!


#5

You’re very welcome! Anything else, just ask! :slight_smile:


#6

You really should describe what you changed. Fixing something for someone will only help the current issue at hand, and not give any further understanding on how to do it in the future.


#7

He did. We were speaking on the Roblox Chat, not on here.


#8

I can explain it here too.

I changed a text label to “PlrRank”
I changed in his code below where you puts in the player name to,

PlrRank.Text = string.upper(v:GetRoleInGroup() --made it string.upp to fit his UI better, and v being player since he ran this in a loop

And that is all the it needed. :slight_smile:
Once a fairly easy fix once I figured out what all his code was doing.

Extuls, hope this explains. :slight_smile: