so this is my first time trying to script GUI’s and i’m facing some issues right now
as you can see, here’s a GUI i made, and what i want to achieve is, when the SaveButton is clicked, it will open a new ScreenGUI with 3 buttons parented for 3 save files slots
ive been reading RobloxDocs but i don’t know exactly what the issue here is, how can i make that SaveButton (“text button”) Enabled property switch between true/false with only one click?
local SaveButton = script.Parent
local SaveMenu = SaveButton:FindFirstChild("SaveMenu")
SaveButton.MouseButton1Click:Connect(function()
if SaveMenu.Enabled then
SaveMenu.Enabled = false
else
SaveMenu.Enabled = true
end
end)