I have a tool and I want to make one part of the tool named PartA be visible when the ScreenGui button is clicked and invisible as well when it is clicked for the second time.
COMMUNITY QUESTION
How to make a part visible with a single ScreenGui button?
1 answer
partA = game.Workspace.PartA
gui = script.Parent
partA.Transparency = 0
gui.MouseButton1Down:connect(function()
partA.Transparency = 1
end)
It's that simple.
This discussion is preserved as it was. New answers, comments, and votes are closed.
