To put the script in...
A. If you have only the text, go into the script editor, right click ABOVE MAIN. Select Insert, go into the blank square, paste the text. Click Apply. Name the script if you want.
B. If you've copied the script from the another script editor, right click ABOVE MAIN, and click paste.
That should do it.