i want to know if i can insert code inside a module script from other scripts
This is not possible as far as im concerned. Only script insertion.
1 Like
Why would you need this? It sounds like a bad idea.
and how is that? where i can read about it?
idk how to explain it bro ‏‏
‏‏
Solution my post if this answers your question.
You can insert/change a function/table/variable in a required module script like the following:
local module = require(module_path)
module.new_func = function test() end
module.inited = true
and the changes will be seen by other scripts.
I don’t know if that was the answer you’re looking for…
thats the closest answer I got to my question thx
happy xmas everyone btw ‏‏
‏‏ ‏‏
‏‏
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.