So im trying to make a script for a gui to appear on the screen when a txtbutton is pressed, but im not getting any good results.Any help?
✓ ANSWER ACCEPTED
How to make a gui appear when a button is pressed?
1 answer
✓ Accepted answer
Lets say you have a localscript in a textbutton. You want the frame to be invisible when you click it. Just do this
local Frame = Where the frame is
script.Parent.MouseButton1Click:connect(function()
Frame.Visible = false
end)
Its pretty simple but does the work.
(Next time try doing research SH isn't for request you just got lucky this time)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
try first, if you already attempted show us your attempt