#I want to make the UI button in the main menu work to navigate between all the menus.

16 messages · Page 1 of 1 (latest)

gilded mountain
#

What i want:
I want that, upon clicking the button located in a folder in StarterGui called 'gui' in the main menu, the 'Story' button closes the main menu and opens the story menu located in the same folder called 'gui.' So basically:

**-Remove the menu I am currently in upon clicking (already done).

-Display the other menu (I can't figure this out and need help with it specifically).**

My Code:
`local RepliStorage = game:GetService("ReplicatedStorage")
local Plyr = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")

local player = Plyr.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local stryMenu = StarterGui:WaitForChild("GUI"):WaitForChild("Story Menu")
local mainMenu = StarterGui:WaitForChild("GUI"):WaitForChild("Main Menu")

local mainBttonMenu = mainMenu:WaitForChild("Story")

script.Parent.MouseButton1Click:Connect(function()
print("Clicking the button works")

script.Parent.Parent:Destroy()

local ClonedStoryMenu = stryMenu:Clone()
ClonedStoryMenu = StarterGui.GUI

ClonedStoryMenu.Enabled = true

end)`
Folders:

limpid vault
#

Then do it, no one gonna make work for you free

#

And if u one person to do pay and search in #💵︱hiring

#

And it u want help the any i can recommend is just to do when u click is the first dissapear and then the other appears

#

Obviusly more complex but thats the base

gilded mountain
#

I asked for help in algorithms and services, but thanks anyway

#

🙀

limpid vault
#

Yeah service is like

#

Depend on what u want

#

But algorithms on GUI may be hard at start but you'll need to get

#

Like i can't explain the whole algorithm

gilded mountain
#

I just wanted a small idea to have a little foundation because I don't have the slightest clue

#

But there I'll see how I manage

rare jolt
#

Maybe have a Nummer asigned to each ui and circle bettween them

blissful quartz
#

You dont need to clone the menus if they are stored in startergui