Make a text button work in surface gui without being adorneed

Can I make a TextButton work in a SurfaceGui with a local script that isn’t adorneed from startergui?

You can probably get around that by hiding a transparent ClickDetector part on top of the TextButton

I was thinking to do that, issue that appears is I need it on a scrolling frame

Nope, they adornee it. But thanks anyway!

Then i guess you can make a local script in StarterPlayerScripts and make the connections to the TextButton ( like game.workspace.Part.SurfaceGui.TextButton.Activated:Connect() ... )

1 Like