Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make Overhead Group Ranks?

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.

1 comment

0

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

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)

Result: https://gyazo.com/cf547f588d0c67e803f357ae3fba65a9

This discussion is preserved as it was. New answers, comments, and votes are closed.