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)
Try to replace :
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
by
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
You are actually making them visible, not invisible