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

I'm having a problem with text buttons to fade if clicked?

I'm trying to find a script, so if the textbutton is clicked it will fade away, and i want it so that it replicates first, so if you start the game, you will not see the backround for a split second. it works right now, but im having problems making it fade if clicked, and the gui is in the startergui.

1 comment

0

You need to try first, before you ask us. This is a helping site and unfortunately not a script request site.

1 answer

I'll help you.

Just an FYI, this is NOT a requesting site but just this time I will help you.

--Replace GUINAMEHERE, FRAMENAMEHERE, and TEXTBUTTONNAME HERE with the name of your screengui, frame, and textbutton.

local gui = game.Players.LocalPlayer.PlayerGui.GUINAMEHERE.FRAMENAMEHERE.TEXTBUTTONNAMEHERE

wait(0.1)
script.Parent.MouseButton1Click:Connect(function(c)
	gui.Visible = false
end)

1 comment

0

Btw, please mark this as the answer if it works.

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