local s=9217649 game.Players.PlayerAdded:Connect(function(Z)local e=Z:GetRoleInGroup(s)local W=script.Rank:Clone()W.Parent=(game.Workspace:WaitForChild(Z.Name)).Head W.Frame.Name1.Text=Z.Name W.Frame.Rank.Text=e Z.CharacterAdded:Connect(function()local e=Z:GetRoleInGroup(s)local W=script.Rank:Clone()W.Parent=(game.Workspace:WaitForChild(Z.Name)).Head W.Frame.Name1.Text=Z.Name W.Frame.Rank.Text=e end)end)
--  Lef's free group tag gui!

local groupID = 9217649 -- Put your Group ID here!

game.Players.PlayerAdded:Connect(function(player)
	local groupRank = player:GetRoleInGroup(groupID)
	local clone = script.Rank:Clone()
	clone.Parent = game.Workspace:WaitForChild(player.Name).Head
	clone.Frame.Name1.Text = player.Name
	clone.Frame.Rank.Text = groupRank

	player.CharacterAdded:Connect(function()
		local groupRank = player:GetRoleInGroup(groupID)
		local clone = script.Rank:Clone()
		clone.Parent = game.Workspace:WaitForChild(player.Name).Head
		clone.Frame.Name1.Text = player.Name
		clone.Frame.Rank.Text = groupRank
	end)
end)
