Solutions I tried is to look through all code to see if it uses Instance.new() to create any form of script class whatsoever. Disabling script injection doesn’t break any functionality of my plugin and works find. I also read this post about the permissions still couldn’t find much information on diagnosing where the script injection is needed.
What triggers the script injection permission?
My plugin is completely open source so you can browse the entire codebase here:
I don’t want users to think my plugin is malicious by asking them to inject script so it is a big problem for me.
I’ve already checked for anything with the keyword of script and anything setting parents. Only closest thing I have so far is local plugin = script.Parent but I highly doubt.