I am making a USMC group, and I need overhead group ranks. But I want to so the main group rank appears above your head, then a division rank below your group rank. But I want Headquarters, which are in multiple divisions, to not have the division group rank.
COMMUNITY QUESTION
How do I make Overhead Group Ranks?
1 answer
(I know you know how to script the group rank itself but i'm going to write out the whole thing regardless)
+Place a script inside ServerScriptService
+Place a BillboardGui inside the script
+Place a TextLabel inside the BillboardGui
Place this inside the script:
local groupId = 6537012--Your group
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local GuiClone = script.OverheadGui:Clone()
GuiClone.Parent = Character.Head
local InformationLabel = GuiClone.InformationLabel
local PlayerRank = Player:GetRoleInGroup(groupId)
InformationLabel.Text = Player.Name .. " ".." " .. PlayerRank
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I know how to script a gorup rank, but I don't know how to script it with divisions following