Describe the bug
When trying to edit the source of a script via a plugin, it errors with “String too long”
Reproduction: (A plugin script)
local s = string.rep("OOF", 100000) local thing = Instance.new("Script", workspace) thing.Source = s
Why is this a problematic bug?
Currently developing a git integration plugin, and it requires modifying the source of the scripts to change to newer versions, and prepend git related data at the top of the script, and phantom forces has really large singular scripts, which this bug conflicts with.
The length of the script I am trying to modify has a string length of 300,000+ characters, and it seems the limit is about 200,000.