Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do I make a script activate by pressing a gui?

Asked by
noew -5
10 years ago

Right now i have a surface gui with a text button. Is there a way to make the textbutton activate a script when clicked? I would prefer if it was like this:

game.workspace.whatever --Change this to the gui bla bla bla
end

and all that stuff

0
This is basically a request, please attempt the code before asking for help. Perci1 4988 — 10y
0
ok noew -5 — 10y

Answer this question