You didn't include it's name, try doing that.
Code:
newscript->Name="bludiste";

Aswell, please pay attention to the section you're posting your problems in.