So i made a part with a click detector and a gui when i click the part the gui comes up with a text label and 2 text buttons for replies and the script inside those is
script.Parent.MouseButton1Click:Connect(function() game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = false end)
How would i make it delete the other one instead of making it go invisible so both buttons will work over and over again?