script:
local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui") game.Players.PlayerAdded:Connect(function(player) local clonedgui = billboardgui:Clone() clonedgui.Parent = ? end)
? = what is the parent can i use local player?
You need to use the CharacterAdded
event.
local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui") game.Players.PlayerAdded:Connect(function(player) local clonedgui = billboardgui:Clone() player.CharacterAdded:Connect(function(char) clonedgui.Parent = char.Head end) end)
Closed as Not Constructive by EzraNehemiah_TF2
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?