hello! im making it so that when the player joins, they have a billboard over their head, and its parented to the “Head” in character.
However, this isn’t working, there are no errors in the output and its messing with all of my other scripts…
I don’t know why this is happening, can someone help!
game.Players.PlayerAdded:Connect(function(plr)
local char = plr.Character or plr.CharacterAdded:Wait()
local billboard = Instance.new("BillboardGui")
local textlabel = Instance.new("TextLabel")
billboard.Parent = char:FindFirstChild("Head")
billboard.Active = true
billboard.MaxDistance = 30
billboard.ResetOnSpawn = false
billboard.StudsOffset = Vector3.new(0, 2, 0)
billboard.Name = "FighterGui"
textlabel.Parent = billboard
textlabel.BackgroundTransparency = 1
textlabel.Visible = true
textlabel.Font = Enum.Font.Arcade
textlabel.TextScaled = true
textlabel.Name = "LabelFighter"
end)