How to change a plugins source?

I am looking for how to change a plugins source as I am creating a plugin source automatic updater. It is a plugin that I am hoping to release sometime however I am stuck on how to actually change a plugins source from a plugin. How would I accomplish this?

1 Like

This is basically impossible. Editing source of any locally stored or roblox-stored file isn’t possible from a plugin.

You could theoretically run the code of this plugin with a loadstring, getting it from a link with HTTP on plugin startup.

I remember looking into those obfuscated plugins that would insert viruses into other plugins. This leads me to believe it is possible to achieve this from a plugin. Basically I have the player insert the pastebin url so I can get the paste from there and convert it over to the plugin’s source.