I’m making a plugin that packs scripts into a single script.
When trying to replace require, I’ve ran into the following problem: I have no idea how to format strings.
What I’m trying to do is strip the string of the require function and replace the script namespace with my separate dictionary.
You see, the game that has these programmable parts has require and loadstring disabled. I’m trying to implement an alternative require function, although I’m unable to convert the strings with “require(script.Somemodule)” to “files.Somemodule()”