Why doesn't this script work?

So I’m not sure why this script doesn’t want to work, it doesn’t seem to want to clone the BillboardGui to the player’s head. Could someone help?

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function()
		local head = game:GetService("ServerStorage"):FindFirstChild("Warn"):Clone()
		head.Parent = player.Head
	end)
end)

No errors seem to show on the Output, and I’m out of options. Thanks for your help in advance!

player doesn’t have a head, its the character that has the head.
should be (if everything in order)
head.Parent = player.Character.Head

2 Likes

I just realized that right after I posted this, thanks for the reminder!