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.
(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)
Result: https://gyazo.com/cf547f588d0c67e803f357ae3fba65a9