Help with gui not going invislble when button is invisible for my tycoon

hey so lately I’ve had a big problem I cant get my BillboardGui to go invisible when the button goes invisible this is a image of the tycoon button and this is how it looks when the button is invisible and the BillboardGui isn’t

image

thanks for reading and thanks for ur help

2 Likes

It’s simple, go inside the billboardgui’s instances and find a text label instance, after that remove or make the text transparency invisible and the background transparency if it has one visible too.

I recommend not deleting the billboard gui if you’re going to make the button reappear again.

2 Likes

oh ok thanks ill try that out

(char)

dude i couldn’t find the instance ur talking about could u show me it please ?

Personally, I just destroy the button when it’s used and clone it when it’s needed from ServerStorage.

You should just be able to modify the Transparency property of the BillboardGUI to do this. Otherwise, you can just Destroy the label and reclone it from ServerStorage like @vlopste said.

oh ok thanks could u provide me a script how to do that or show me how to change it its just bc i didn’t script the tycoon and im not to good with scripting

oh now i know what u mean by change the text transparency silly me I’m fix the tycoon and see tomorrow if that fixes the issue and tell u guys thanks for the help

1 Like

no guys i tried it out and looks like it didn’t work idk if i did it wrong please show me if u can and thanks for ur help

or if some one can give me a new script that works and still allows u to keep ur text like with different fonts

image

Actually, this should’ve been fixed a long time ago, can you just click on the billboard gui or find where it’s located in some of the contents? After that, write a code that also goes with the disappeared part where it would be destroyed or the text would turn invisible.

but i don’t know what code to write because i didn’t script the tycoon some one else did if u could provide me with a script or tell me where to get one from that would be very useful

Insert a script, the one that is just a blue scroll with no image of a person on it or some gears, put it inside the button that’s going to get removed on purpose, then write this.

local gui = script.Parent:WaitForChild("BillboardGui") --change this if the gui has a different name

gui:Destroy() --trigger this when the part gets deleted, you could mix this with the script that deletes the part.