Plugin issue, not working

Plug-in is not working properly, even though the code makes sense.
I’m getting this error:

image

First of all, prepare for confusing and unexplainable errors when trying to make plugins (it happens a lot) and second can you show us your explorer hierarchy of your plugin related objects.

image

The folder variable is already assigned to the “Notes Plugin” instance. You’re trying to call it again via folder.NotesGui.Parent

Perhaps you’re attempting to parent the widget to the NotesGui frame?

You can’t change the parent property of the widget, I think you meant to say change the parent property of the UI to the widget

That’s what I meant to say, just spun my words around!

Save it as a normal plugin. Not local plugin.