Could you send another video?
Sorry for the hastle
It’s not false, buttons are not disabled.
Could you send a video of what exactly happens so I can understand it better?
The button is gone now after I clicked deploy
Could you send the script inside of the Deploy button
local music = script.Parent.Parent.MenuMusic
script.Parent.MouseButton1Click:Connect(function()
ddddscript.Parent.Parent.Parent.Enabled = false
ddddmusic:Pause()
end)
Is the button to go back to the mainmenu after you click deploy housed inside of screengui needed to deploy?
Yes. character
Ok that can solve our issue then.
When you’re clicking the button it will disable the ScreenGui as a whole.
This includes the button needed to go back to the mainmenu.
The simplest solution possible is to use another ScreenGui to go back to the main menu
Wait do I have refer the mainframe to both scripts? I only did it for local menu in the LocalScript.
What about the music? character
ur disbling a gui, do the frame instead
To do that you just simply have to refer to play it again.
This also enabled the mainMenu GUI
E.g:
local button = script.Parent --This is the go back to menu button
local music = game.Players.LocalPlayer:WaitForChild("MenuGui").MenuMusic --This is the menu music
local menuGui = game.Players.LocalPlayer:WaitForChild("MenuGui") --This is the menu gui
button.MouseButton1Click:Connect(function()
menuGui.Enabled = true
music.Playing = true
end)
You may have to do some different referencing but this should hopefully give you a pretty good idea of what you need to do.
Oh I thought I had to do more than that for the music.
You may because there are probably other Gui’s you need to enable
I’m not really sure how you organized the Gui’s in your game
I only referenced the ones I saw from your previous screenshot
Thx for telling me to tick loop I just got the script on YT on how to add music for menu. Forgot to remove the loop line.
Sounds good!
If you have any other future questions feel free to shoot my account a message!
Otherwise, have a great day and I’m glad I was able to help!
Oh wait, I still got out of the menu even though I was using the GUI. The MainFrame also got me out too. Now I gotta follow riddleminecraft’s stuff.
When I made the other ScreenGui, I couldn’t make it go to other main menu again.