How would I go about duplicating a gui and putting it under the original gui?

I’m trying to make a global private chat system, and I want to make chat bubbles. How would I duplicate the bubbles and put them under each other using scripts?

I’ve tried looking for solutions but I couldn’t find any.

ZIndex is the order in which GUIs are written in. If you want to make a chat bubble that goes under a GUI, you would need to make sure that the chat bubble has a lower ZIndex than the GUI you are putting it under, which will make it look like it is under the GUI.

So to duplicate the GUI, use :Clone() and then make its ZIndex lower than the original GUI to solve your problem.