You can write your topic however you want, but you need to answer these questions:
-
Trying to get multiple GUI’s to open. like if i click one it opens one if i click another one it hides the other one and opens that one if i click the gui the other gui should go away
-
What is the issue? When I click it refuses to open or does not
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes I looked on dev hub and found this How to make a Gui with multiple tabs on roblox studio! (Roblox Scripting Tutorial) - YouTube I been following it but with my own guis and i added a bit to it. Can someone help me I am not that good at coding/scripting
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
I have 8 codes for you to look at and ill be sending screenshots of stuff
what my GUI looks like. it is suppost to open what i boxxed on red. I will also send you my explorer tab.
where its shows in blue thats where it starts
I will send my 8 codes. they might look the same but for each one of them there is a true for the one thats suppost to be visible
Note 3
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = true
Notes4.Visible = false
Notes5.Visible = false
Notes6.Visible = false
Notes7.Visible = false
Notes8.Visible = false
Notes9.Visible = false
Notes10.Visible = false
end)
Note 4
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = false
Notes4.Visible = true
Notes5.Visible = false
Notes6.Visible = false
Notes7.Visible = false
Notes8.Visible = false
Notes9.Visible = false
Notes10.Visible = false
end)
Note 5
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = false
Notes4.Visible = false
Notes5.Visible = true
Notes6.Visible = false
Notes7.Visible = false
Notes8.Visible = false
Notes9.Visible = false
Notes10.Visible = false
end)
Note 6
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = false
Notes4.Visible = false
Notes5.Visible = false
Notes6.Visible = true
Notes7.Visible = false
Notes8.Visible = false
Notes9.Visible = false
Notes10.Visible = false
end)
Note 7
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = false
Notes4.Visible = false
Notes5.Visible = false
Notes6.Visible = false
Notes7.Visible = true
Notes8.Visible = false
Notes9.Visible = false
Notes10.Visible = false
end)
Note 8
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = false
Notes4.Visible = false
Notes5.Visible = false
Notes6.Visible = false
Notes7.Visible = false
Notes8.Visible = true
Notes9.Visible = false
Notes10.Visible = false
end)
Note 9
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = false
Notes4.Visible = false
Notes5.Visible = false
Notes6.Visible = false
Notes7.Visible = false
Notes8.Visible = false
Notes9.Visible = true
Notes10.Visible = false
end)
Note 10
local mouse = script.Parent
local Notes3 = script.Parent.Parent.Parent.Parent.Notes3
local Notes4 = script.Parent.Parent.Parent.Parent.Notes4
local Notes5 = script.Parent.Parent.Parent.Parent.Notes5
local Notes6 = script.Parent.Parent.Parent.Parent.Notes6
local Notes7 = script.Parent.Parent.Parent.Parent.Notes7
local Notes8 = script.Parent.Parent.Parent.Parent.Notes8
local Notes9 = script.Parent.Parent.Parent.Parent.Notes9
local Notes10 = script.Parent.Parent.Parent.Parent.Notes10
mouse.MouseButton1Click:Connect(function()
Notes3.Visible = false
Notes4.Visible = false
Notes5.Visible = false
Notes6.Visible = false
Notes7.Visible = false
Notes8.Visible = false
Notes9.Visible = false
Notes10.Visible = true
end)
what am I doing wrong here to make it not work