I am making a plugin and it will use a GUI. Can I have a prebuilt GUI stored in the plugin and clone it into the user's project? Not really seeing a way to do it.
✓ ANSWER ACCEPTED
How can I store and then clone a GUI in a Plugin?
1 answer
✓ Accepted answer
Just create the GUI and make it a child of your script, then you can publish the script as a plugin.
In the script you can just do script.MyGui:Clone() (don't forget to replace MyGui)
2 comments
0
This didn't occur to me, will give it a try.
0
Worked! Thanks, would have taken me forever to remember to do this.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Yes you can have a prebuilt GUI.