Billboard GUI help


local npc = script.Parent:WaitForChild("NPC")

local char = ws:WaitForChild("Chars")

local character = char:WaitForChild("John")

local head = character:WaitForChild("Head")

local new = npc:Clone()

new.Parent = head

new.Adornee = head

local click = new.Click

click.MouseButton1Click:Connect(function()

print("E")

end)

Why won’t this work? Zindex for TextButton is higher. There is also no error.

1 Like

What is not working n the code?

1 Like

You need to put the gui in StartGui, and then set gui.Adornee to the part that you want the gui to be on.

1 Like

Thats exactly what I did It just wont work for some reason

1 Like

No problem! Please mark the post as solution to help others with similar problems.