of     1   

RolfDobbelmann
#182472829Wednesday, January 27, 2016 12:56 AM GMT

First off, I am aware that I am horrible at scripting, so I apologize if this is really simple and I am wasting your time by asking, but thanks for answering. So I have a screenGUI, and I added a button, and when someone clicks that button I want another screen GUI to pop up that overlaps the first one. Can anyone help? Thanks,
128Gigabytes
#182472907Wednesday, January 27, 2016 12:57 AM GMT

Wrathsong
#182472983Wednesday, January 27, 2016 12:59 AM GMT

^
RolfDobbelmann
#182473113Wednesday, January 27, 2016 1:01 AM GMT

Thanks, how do I make another GUI pop up?
RolfDobbelmann
#182473156Wednesday, January 27, 2016 1:01 AM GMT

Correction: What function do I add that makes another GUI pop up?
spinywind
#182473368Wednesday, January 27, 2016 1:04 AM GMT

u could use any function depending on how you want it to come up
128Gigabytes
#182473515Wednesday, January 27, 2016 1:07 AM GMT

Just toggle the visible property.
RolfDobbelmann
#182473635Wednesday, January 27, 2016 1:08 AM GMT

Alright, can you help with this? script.Parent.MouseButton1Click:connect(function() game.Workspace. (What now? What do I add to make the screengui pop up? I have it in workspace, is that correct?) end)
RolfDobbelmann
#182474169Wednesday, January 27, 2016 1:16 AM GMT

Bump (help please, I have no idea what I am doing)
128Gigabytes
#182474184Wednesday, January 27, 2016 1:16 AM GMT

Put the gui not in workspace put it in the screenGui with your button and just change its Visible property.
RolfDobbelmann
#182474356Wednesday, January 27, 2016 1:19 AM GMT

Alright, thanks!
RolfDobbelmann
#182475674Wednesday, January 27, 2016 1:36 AM GMT

Having more trouble, does anyone know what is wrong with this script? a = Script.Parent.Parent.A function run() if a.Visible == false then a.Visible = true else a.Visible = false end end script.Parent.MouseButton1Click:connect (run) I placed it into a textbutton that is under the same parent (the screengui) as the frame that I made invisible, but when I click the button the frame doesn't pop up.
FrostOver
#182475863Wednesday, January 27, 2016 1:38 AM GMT

get rid of and end
128Gigabytes
#182475926Wednesday, January 27, 2016 1:39 AM GMT

a = Script.Parent.Parent.A change that to a = script.Parent.Parent.A
FrostOver
#182475950Wednesday, January 27, 2016 1:39 AM GMT

nvm i got messed up you should add the connection inside the function you might need to change the Zindex
128Gigabytes
#182475975Wednesday, January 27, 2016 1:39 AM GMT

'get rid of and end' Don't
128Gigabytes
#182476025Wednesday, January 27, 2016 1:40 AM GMT

'you should add the connection inside the function' Don't do that either
FrostOver
#182476055Wednesday, January 27, 2016 1:40 AM GMT

I said nvm
FrostOver
#182476095Wednesday, January 27, 2016 1:41 AM GMT

it shortens the code with the connection in the function
128Gigabytes
#182476341Wednesday, January 27, 2016 1:45 AM GMT

'it shortens the code with the connection in the function' No, it breaks it. Unless you mean with the function in the connection. Also, shorter and better aren't the same.
FrostOver
#182476458Wednesday, January 27, 2016 1:46 AM GMT

I didn't say it was better I said it was shorter
RolfDobbelmann
#182520221Wednesday, January 27, 2016 10:05 PM GMT

@128Gygabytes, Thanks! It's working properly now.

    of     1