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

How to make a button in the surface GUI that will work when pressed? [closed]

Asked by
svjatik4 -13
4 years ago
Edited by JesseSong 4 years ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.

I made a button in Surface GUI and made a script there. But it didn't work. Can you help? Script: (example)


function TEST () game.Workspace.Part.Transparency = 1 end game.Workspace.partt.ClickDetector.MouseClick:Connect(TEST)

Re-edited by JesseSONG!

0
Please format your code properly by using a code block. Your question will be more likely to get solved if you use a code block. For more context on how to use a code block check this documentation: https://scriptinghelpers.org/help/how-post-good-questions-answers JesseSong 3916 — 4y
0
Also, please provide a valid description of your question! JesseSong 3916 — 4y

Closed as Non-Descriptive by JesseSong

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?