#Need help with "Return To Menu" button in game.

39 messages · Page 1 of 1 (latest)

misty cape
#

I already have a main menu GUI and the button for the return to it once played. I just don't know how to script it so that when you press the button it returns to the Main Menu GUI.

misty cape
#

So what if the main menu GUI is in a different Screen GUI?

#

Is there a way to make a frame from an entire different screen GUI appear?

misty cape
#

Is there no way to make this script work without the two being in the same screenGUI ?

#

Because I have a script for the Main Menu GUI that makes the buttons appear after play is pressed, so that doesnt really work.

#

doesnt seem to workkk

#

like, i want to make a "MainFrame" from a different ScreenGUI appear

#

The "Main Menu" Button is in [ StageUI > MainFrame > MenuButton ]

#

StageUI is the screengui for the ingame gui's

#

that is "StageUI"

strange nicheBOT
#

studio** You are now Level 3! **studio

misty cape
#

The Main Menu button, needs to enable a screen gui "Menu"

#

is it possible to enable a different screen gui within a button on a different screen gui?

#

or do i have to do that?

#

darn

#

okay so i put the frame of my stage UI in the same screengui

#

thats the code to my play button script

#

how do i make the "StageUI" frame visible when i press play?

#

well see

#

heres what i need

#

I need it so when you press play, it makes the frame "StageUI" visible

#

Visible is not a valid member of ScreenGui "Players.Opritical.PlayerGui.StageUI"

#

thats the error code i got

#

its all in "Menu" screenGui

#

yes

#

u just told me to put them all in it

#

yes

#

StageUI is a frame

strange nicheBOT
#

studio** You are now Level 5! **studio

misty cape
#

thats what happens when i press play

#

it looks really bad

#

enable what?

#

the whole gui?