I am trying to make a billboard gui with a text button, but I cant use the button for some reason. It does absolutely nothing when i try to use it. This is the button script:
function onClick()
script.Parent.Parent.Parent.Parent:Destroy()
end
script.Parent.MouseButton1Click:connect(onClick)

5 comments
I don't think you can click on a Billboard Gui...
yeah here is the thing... I have no idea what the parents lead to so I can't really help, have a great day, bye
if i could put an image in this, then i would show you. but i cant.
Nvm i found the answer. (it was hard and complicated) I couldn't find anything on the internet, so i thought of putting it in starterGUI and making it appear when a player clicks an object and making the adornee that object.
im making this for a sandbox/tycoon game