I can not save my plugin as a local plugin help!

iam now working on a plugin and every time i try to save it as a local plugin to test it it give me the error in the image bellow :-


it saves the plugin successfully but failed to load it please help idk what is this error even mean

Would that error happen if you save a script simply printing Hello World! as a local plugin? If not, then there’s something in your code causing that error.

1 Like

There may be an issue with code, however that’s not the issue here.

That file path is wrong.

The Studio plugins folder is in [Drive]:[User]\AppData\Local\Roblox\Plugins

The file path listed there goes to a folder that does not exist, and therefore Studio cannot load it because its looking for nothing.

Try fixing this by placing the plugin file into the correct folder, you can save it as a local file and just place it into the folder.
If this doesn’t work, get back to me here.

2 Likes

I’m pretty sure he changed the Plugins Dir setting in File > Studio Settings > Studio > Directories. Otherwise the error wouldn’t even show in the first place in the output, if the plugin is placed in the wrong directory.

That’s probably it. @Krant19worlddv , go through your settings and make sure the directory for the plugins folder is set correctly. If it isn’t

then you should change it to that.

1 Like

No, it doesn’t matter. You can set the Plugins Dir setting to whichever directory you want it to point to. I have mine set to C:/Users/<MY_USER>/.roblox_plugins/ and have all my local plugins inside that folder and they’re loaded just fine.

But you’re right, he is saving it somewhere else and not where the Plugins Dir points to.

TL;DR: Save your plugin inside the Plugins Dir setting.
If it’s C:/blah/blah then save it in C:/blah/blah!!! If it’s in the default one then save it in the default one.

i already saved one other plugin in this folder with out any issues

i gonna try this now ty you for your help i hope that works

it worked ! thank you all for your help i appreciate it

It’s apparently still doesnt work

i’m having almost the same issue
image

and before i was saving plugins as local normally in the same folder and i havent touched any of the settings

1 Like