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

How do i make it so that when i click a text button a GUI opens and the button disappears?

Im a scrub...

Basically i want to make it so that when i click a text button, the button disappears and a GUI pops up! Thanks guys

3 comments

0

Explain, show us what you tried. This isn't a request site. We won't make scripts for you. This site is for people who have tried about everything they can do and need help.

0

oh :(

0

well someone showed you an example, be greatful

1 answer

You should use this:

script.Parent.TextButton.MouseButton1Down:Connect(function) --When the buttons clicked...
		script.Parent.Frame.Visible = true --Frame appears
		script.Parent.TextButton.Visible = false --TextButton disappears.
end)

I suggest browsing through the wiki to learn more about scripting. If this helped you, please accept my answer!

This discussion is preserved as it was. New answers, comments, and votes are closed.