Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help on how to make a gui that opens other guis what do I do?

Asked by 9 years ago

So I've just started scripting because I had an amazing Idea for a game. I am scripting and my Friend is building. While making the Options Menu, I came across a problem. I inserted some text buttons w/frames in the Frame and I can't find any help on what to do to open them. I was looking at many forums but I just couldn't seem to find an answer. I dont know If I am doing this right or not. I would like to get some help. Please ask if you need more information

1 answer

Log in to vote
1
Answered by 9 years ago

If you are trying to make another gui appear when you click a frame, it would be very hard to do this. If you were using a TextButton, it would be much easier since a TextButton has the event, MouseButton1Down which is a registered click on the TextButton. If you wanted to make another gui appear when you clicked on one, you would do something similar to the following:

OtherGui = --path to other gui that is to be made visible
script.Parent.MouseButton1Down:connect(function()
    OtherGui.Visible = true
end)
Ad

Answer this question