When making a script in instance.new how would I actually put code in the script?
Sadly, scripting a script from a script is not possible. Instead just create a script, script it ahead of time, then clone it.
I asked the same question, and someone told me the same thing.
Accept if this helps!
You would have to use a plugin and do Script.Source. Thats pretty much the only way besides cloning a script.
You have to do this at the very end of your script: local scriptClone = script:Clone() scriptClone.Parent = -- where ever u want to place the script