How do I make the billboardGui adornee be attached to a part from a local script? The billboardGui is in starter gui btw.
any help is good
How do I make the billboardGui adornee be attached to a part from a local script? The billboardGui is in starter gui btw.
any help is good
So, tell me where is the localscript and the part either, can you reply a screenshot of your explorer tab?
hereis the code. Its not the entire script because that would be too long
for _, c in pairs(itemModel:WaitForChild("Nodes"):GetChildren()) do
for resource, amount in pairs(recipe["Resources"]) do
if c.Name == resource then
local node = script.node:Clone()
local screenGui = Player.PlayerGui:FindFirstChild("NODES")
if screenGui == nil then
screenGui = Instance.new("ScreenGui")
screenGui.Name = "NODES"
screenGui.ResetOnSpawn = false
screenGui.Parent = Player.PlayerGui
end
node.Parent = screenGui
node.Name = "node_".. resource
node.Adornee = c
node.Enabled = true
nevermind, I found the problem! thanks for replying tho!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.