Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a gui appear when a button is pressed?

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?

1 comment

0

try first, if you already attempted show us your attempt

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.