Image, rank name

ok, I’m making a name tag, on the top is the image, which changes every rank in the group. then their rank, then names, how do I make the image part happen?

1 Like

If GroupRank == (“”) then
ImageLabel.ImageId = “ImageId”

this isn’t exactly perfect but I would imagine something like this. (would use a lot of else ifs.)

2 Likes

Let’s imagine we’re creating a BillboardGui with a TextLabel.

local player = game:GetService'Players'.jackthehunter25
local bgui = Instance.new("BillboardGui", workspace.ExamplePart)
local label = Instance.new("TextLabel", bgui)

label.Text = "Rank:" .. player:GetRankInGroup(Group_Id)

Label’s Text would change to Rank: (Rank In Group), including the rank of the player in a certain group.

2 Likes

I did everything, its not working

1 Like

ExamplePart was a made-up name. Please change it to something that exists in the Workspace. Be aware.

I did, I changed it to the part.