So, I had the idea of making a plugin. It had a GUI. But, when I tested the plugin, all the content of a Frame in the ScreenGui got deleted. What is happening? Link to the file is here:
COMMUNITY QUESTION
[PLEASE HELP] GUI content gets deleted for plugin?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
looks like your missing your Scene[n] objects and a TextButton object. Also is this run from within a Script inside the workspace?, you need to either publish the script as a plugin or make it a local plugin for debugging via right click >>"Save as Local Plugin" Also move your main script inside your gui object
Also You don't need this [" gui.Parent = game.CoreGui "] bit since we're creating a plugin not moving the script inside the plugin folder as this wouldn't work due to secuirity and any workspace or local scripts cannot access the plugin folder
The guis were mainly in the frame. For some reason, they got deleted.