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

How to make a buttontext like making visible my frame?

i am working on a gui , and i would like when i press the button , that show me my next frame , how can i do it? thanks !

1 comment

0

personnaly i used a fonction open gui and after that i used that script "NameOfUrGuiBtn.MouseButton1Click:Connect(UrFonctionName) it work for my self

1 answer

You want to make a MouseButton1Click for your button. You must insert a LocalScript into the button. And inside that script will be:

script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.GUINAME.Visible = true --Change the path to your frame, and the name.
print("Works!")
end

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