How to make a button in the surface GUI that will work when pressed? [closed]
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!
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?