Hey guys I have been struggling to make this GUI Invisible can someone help please?
local StarterGui = game:GetService('StarterGui')
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Visible = false
script.Parent.Sound:Stop()
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
end)

2 comments
Well, which Gui are you having problems with? Because I see two Guis that you're trying to set visibility to. The frame holding the button, and the Roblox CoreGui
The RobloxCoreGui is to change the taskbar but the one I'm trying to change is the frame holding the button.