I need to fix my plugin to where it will work when I publish it, though when I did not publish it, it worked perfectly. I need help! I cannot provide screenshots because as I said before there is no error in the output but all the buttons and scripts are not working. I have tried relooking into all the scripts but that did not help because as I said there are no errors in the output. So yes, please help me!
Did you check if your plugin needs scripts injection permission?
How would i do that? Sorry I am new to making plugins.
Go in the plugin manager and find yours then you should see a little paper with pencil button there you can find any permission it needs
Is paper and pencil button inside the plugin manager inside Roblox Studio?
If you open the plugin manager and you find your plugin if it needs permissions you will see that button under its description in the plugin manager
Oh yes. I found it, but it was already turned on.
So does it work as local plugin?
No, I published it and I enabled it through the plugin manager. Now it won’t work anymore even though in the local plugin was working.
You should try to do some debug, add print functions in the code where you think the problem could be caused and try launch it as published plugin
great idea! I am going to try that real quick.
Sorry but when I did this. There were no errors but it wouldn’t even load the variables
But it did say that it could not find the gui inside
Do I have to select everything in the plugin? THen click publish
Did you try running it as a LocalPlugin?
If you have a GUI, you should have your main script, then the gui inside that plugin. When exporting, select the Main Handler (the main script) AND the GUI.
I will try that. That sounds quite promising
Does my main script need to be a local script or normal script? Currently I have a localscript
I’m pretty sure it has to be a normal script
Ah, that might be what I am doing wrong then.
So I have the regular script now, with the gui inside it. But the scripts still won’t run.