What do I want to achieve? Keep it simple and clear!
I want to change a module script source in plugin
What is the issue?
it gives error because of the studio pop up that asks the user to allow the plugin to edit script
so I want a way to ask the user for the permission then edit the module script or trigger when the user accept it or not
**What solutions have you tried so far? I am looking for a solution for this because this makes the user have to click on the edit button then accept the studio request then click again
I am using script.source property to edit the module script source.
This is sadly to prevent cheaters from using malicious code, don’t worry about that, you may want to create custom gui that can be clicked easily, if i understand correctly you don’t have plugin’s gui right?
no i have a gui
to make it more clear
i made and published a plugin
the plugin simply inserts a module script to your experience by clicking a button in the plugin gui if you clicked the button a pop up will show up asking you if you want to allow the plugin to edit script if you click allow the source will not change you have to click the button again
in a script
to make it more clear
i made and published a plugin
the plugin simply inserts a module script to your experience by clicking a button in the plugin gui if you clicked the button a pop up will show up asking you if you want to allow the plugin to edit script if you click allow the source will not change you have to click the button again
I would assume… given it is already set up this way…
The popup should inform the user they need to turn on that option for the plugin. Found in the settings on the plugin page of the studio