Here is the script so far.
script.Parent.MouseButton1Click:connect(function() game.StarterGui.ScreenGui2.Frame2.TextLable2.Visible = true end)
This should work:
opened = false p = game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() if p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible == false and debounce == false then debounce = true p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible = true else if p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible == false and debounce == false then debounce = false p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible = false end end end)