I am trying to make a plugin that has interactable UI (not made with coding) which means storing the GUI while having a neat script behind the plugin.
The problem is that it is hard to somewhat efficiently store instances like GUIs as you have to do all in one script and you cannot have any other children in the script (well, you can, but it doesn’t save upon exporting the plugin). A solution to this would be converting them into script, though remember that it is one script. Since you have to put the Gui creator script into the script, another problem appears, which is clutter and mess. I’m trying to avoid putting Gui creator script into the script.
What are other ways to store and unpack Gui without having to clutter the plugin loader script?