in your deleting of the script, you either deleted too much or not enough, breaking your engine. Your best solution is probably to make a new project and copy the script file from the new project into the current one (erase all script changes).
Please use a better title next time, every one here needs help. We prefer the title tellung us what you need help with
I also suggest you follow the link "how to use a script" in my signature, it might help you fixing the problem (if you don't want to loose other changes you have made) or to prevent later mistakes with other scripts
I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.