How do i make a gui that when you click it, it will go invisible?
✓ ANSWER ACCEPTED
How do i make a gui that when you click it, it will go invisible?
1 answer
✓ Accepted answer
This script needs to be placed in to a TextButton to have it working.
local gui = script.Parent --Which I hope is a TextButton
gui.MouseButton1Down:connect(function()
gui.Visible = false
end)
I suggest going to http://wiki.roblox.com/index.php/Beginner's_guide_to_GUI if you're new to GUI's
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Works!