If i do the, "Instance.new" command then you can create a new script when you give the right parameters; but is it possible to edit the script while the game is running?
As far as i know. No. However. You can write the script. put it in server storage. then clone it. and by parenting it to whatever you want. Will have the same effect