so the script below inserts a billboard gui into every head in the game, then inserts a textlabel into it. it works, the gui and textlabel is in the place but it doesn't show up in the game and im not getting any errors. any help appreciated.
while true do
for i,v in pairs(game.Workspace:GetDescendants()) do
if v.Name == "Head" then
local gui = Instance.new("BillboardGui",v)
gui.AlwaysOnTop = true
local text = Instance.new("TextLabel",gui)
text.BackgroundTransparency = 1
text.TextScaled = true
text.TextStrokeTransparency = 0
text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
text.Font = Enum.Font.Arcade
text.TextColor3 = Color3.fromRGB(255,0,0)
text.Text = "."
text.Size = UDim2.new(0,10 , 0,10)
end
end
wait(10)
end

6 comments
The adornee of the Gui is not set to the player's head.
oh i have no idea what adornee is i guess im just gonna read about it
oh i have no idea what adornee is i guess im just gonna read about it
oh i have no idea what adornee is i guess im just gonna read about it
Is This A Local Script?
Adornee is the part that it will appear above, you set the position and size, but position in reference to what? That's what Adornee sets.