So today I started scripting my Menu in Error Paradise and both Settings and the Main Menu keep disappearing, here is some evidence:
robloxapp-20201228-1735401.wmv
If you cannot see the video, it’s just me clicking the “Settings” button and the menu disappears completely.
Here is the line of code I wrote, I am beginning to understand lua, so this is my first time scripting GUI.
local PlayButton = script.Parent.PlayButton
local LobbyMenu = script.Parent.LobbyMenu
local SettingsButton = script.Parent.SettingsButton
local Settings = script.Parent.Settings
local Menu = script.Parent
PlayButton.MouseButton1Click:Connect(function()
LobbyMenu.Visible = true
end)
SettingsButton.MouseButton1Click:Connect(function()
Menu.Visible = false
Settings.Visible = true
end)