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!

2 comments
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
Also, please provide a valid description of your question!