game.StarterGui.StartGui.Background.TextButton.MouseButton1Down:connect(function() script.Parent.StartGui.Background.Visible = false end)
Please help. And yes, it is in a LocalScript