When grouping Ui elements problem

So im trying to make an inventory Ui and ofc my Inventory Ui has many options to scroll through but for example rn im on the Inventory option but let’s say I want to slide to the Ships or Cargo option I need to totally disable the Inventory Ui so new frames appear so I decided to create different Gui objects inside the frame and when I add the elements to the Gui it destroys the way I placed my Frames and elements as seen from the image below
Does anyone have an idea on how they can help me?


ou!