I am creating a Billboard Gui with a tag onto my character that says "Admin". I have rescripted this script about 4 times and I'm on the verge of just raging at my computer. Can anyone help me find the problem?
local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui")
game.Players.PlayerAdded.Connect(function(player)
player.CharacterAdded.Connect(function(character)
if player.Name == "RobloxDeveloperJay" then
if character.Head:FindFirstChild("BillboardGui") then
else
local clonedgui = billboardgui:Clone()
clonedgui.TextLabel.Text = "Admins"
clonedgui.TextLabel.TextColor3 = Color3.fromRGB(179, 33, 33)
clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
end
end
end)
end)

1 comment
What is the error?