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

how do i make guis that create guis?

Asked by 5 years ago

i want to make a gui that lets you select between 2 options but without placing it on startergui : if you click gui1, gui2 appears. gui2 has 3 more guis one for option1 other for option2 and the last one to close. i could not find it on roblox developer wiki so im asking it here. if i didnt explain what i wanted to do let me know on the comments. im spanish so it was kinda hard to post :P

1 answer

Log in to vote
0
Answered by
Pojoto 329 Moderation Voter
5 years ago

We're not here to write your scripts for you, but I'll give you a general idea of what to do. Also make sure you understand how GUI's work before tackling this type of stuff.

Firstly, you'll need to know how Instance.new() works. This basically is a function that creates things (it can be a GUI) that you can specify in the parentheses.

I'd recommend checking out this: https://wiki.roblox.com/index.php?title=Instance_(Data_Structure)

You'll also need to know how events work so you can make something happen when you click on the button. For your situation you'll need to understand what this means:

textButton.MouseButton1Click:Connect(function() ------ end)

Check out this: https://wiki.roblox.com/index.php?title=API:Class/GuiObject

You aren't limited to only these resources though, you should watch tons of Youtube tutorials if that's your thing! If you need help feel free to ask me, also, psst make sure to use local scripts. :P

0
thank you!! RedLecko434 -1 — 5y
0
No problem :) Pojoto 329 — 5y
0
i should have eexplained that i did not want the scirpt, only how it works. but thanks anyway! RedLecko434 -1 — 5y
0
ok messing around i got "cant set value" error YAY RedLecko434 -1 — 5y
0
If it's a bigger problem post it as a question, but try to work it out on your own via. Google/Youtube. Pojoto 329 — 5y
Ad

Answer this question