I tried to use TweenSize for the frame when I click minimize, but I figured out that the textbox doesn't disappear like last time. I don't know why. if you guys know how to fix this please tell me because I really need it!
There is a thing called ClipDescendants. (in the frame properties) It will make all the text buttons boxes etc. go in the frame. If It goes out of the frame, it will make the portion out of the frame disappear. I hope this helped.
I don't really get what you are saying, but the least I can help you with is to click on a GUI and make it visible, then click the GUI again to make it invisible.
script.Parent.MouseButton1Click:Connect(function() if script.Parent.Parent.Background.Visible == false then script.Parent.Parent.Background.Visible = true else script.Parent.Parent.Background.Visible = false end end)