A huge mistake on my part.

I am new to the forum, and I intended to work on my game in solemn peace and fun, but I recently made a huge mistake and I need help in order to conquer this.

I was trying to use Shaz's Disable key/button script http://forums.rpgmakerweb.com/index.php?/topic/42984-temporarily-disable-keybutton-inputting/

and I presume I used it wrong. I copied and pasted it into the script editor, in the Window message section. I tried booting up my game, and it pops up with a crash message. I panicked and deleted shaz's script and tried running it again. I now get this:

[IMG]http://i.imgur.com/f4aftIz.png[/IMG]

This game I spent months making, and if I lose it, I don't know what I'd do. Please help me fix this mistake. Thanks.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

ANY custom scripts go in the Materials section.  Follow the link in my signature for a beginner tutorial on using scripts.

However, I wouldn't think putting that snippet in the wrong place would result in THAT error message - if you remove it from where you put it, and then you put it into a NEW slot in the correct section, and the message is still there, I suggest you start a completely new project, and copy that projects Data/Scripts.rvdata2 file back into your current project (with the editor closed) and start over with a fresh set of RTP scripts - I'm assuming that one is the only script mod you've done.
Most probably you copied it into an existing default script, and then deleted too much (or not enough) when trying to remove it.

All scripts should go into their own, new slots (each name on the list is a slot, and you can add slots anywhere) - you'll need to restore the original default script to solve the problem.

However, Shaz' solution replaces all scripts - that is easier if the snippet above is the first and only script you used.

But if you have already used other scripts successfully, those will also be removed. To prevent that you'll have to open two instances of Ace, one with your damaged project and one with a new project, and then copy the specific script only from the new one to the damaged one.
Yes. I am sorry, this is what happens when I skip steps. I managed to get away with so much in the game without using modded scripts. I just wanted to make a nice story with some mediocre game play attached. That's all I am really, a writer, and a pretty ignorant one at that. I don't know anything about scripts or even game making, but anything that opens my creative flow is something I always appreciate doing. Thank you for helping me fix this, I'll try to not be a bother again.

Original thread: https://forums.rpgmakerweb.com/threads/a-huge-mistake-on-my-part.45322/