I am trying to create above head tags for players that are in my group, have a VIP pass, or are a developer. The tags are overlapping for me and I dont know how to have 2 tags and make one dominant over the other.
Here is the code local billboardgui = game:GetService(“ServerStorage”) :WaitForChild(“BillboardGui”)
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if player:IsInGroup(3033912) then
local clonedgui = billboardgui:Clone()
clonedgui.TextLabel.Text = "Group Member"
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(0, 255, 127)
clonedgui.Parent = game.Workspace:WaitForChild(player.name).Head
end
if player.Name == "steveisoff" then
if character.Head:FindFirstChild("BillboardGui") then
character.Head.BillboardGui.TextLabel.Text = "Group Member/Developer"
else
local clonedgui = billboardgui:Clone()
clonedgui.TextLabel.Text = "Developer"
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(19, 204, 255)
clonedgui.Parent = game.Workspace:WaitForChild(player.name).Head
end
end
end)
end)
Edit: I know you can change the order of the code but I keep messing it up. I want to know if I can re-write the code and have it do the same thing.