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 !
COMMUNITY QUESTION
How to make a buttontext like making visible my frame?
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.

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