i have some code that loops over a table of parts and is supposed to make a billboardgui adorned to them but when i test it it doesnt show and the absolutesize is 0,0 even though the part has a size. however this works fine in a regular server script
for _, selected in pairs(result) do
print(selected)
local gui = Instance.new("BillboardGui", selected)
gui.Adornee = selected
gui.Size = UDim2.fromScale(1,1)
gui.AlwaysOnTop = true
local image = Instance.new("ImageLabel", gui)
image.Image = "rbxassetid://11637369116"
image.Size = UDim2.fromScale(1,1)
image.BackgroundTransparency = 1
end