I have a lot of in-game titles like Owner, Admin, and Mod and I want them to stack on top of each other. I inserted a UI List Layout and put the titles inside of it. After that, my overhead script broke.
This is the code I used:
local badgeId = 2147589153
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
if game:GetService("BadgeService"):UserHasBadgeAsync(Player.UserId, badgeId) then
local GuiClone = script.MonkeyBroTitle:Clone()
GuiClone.Parent = Character.Head
end
end)
end)