For one thing, if you add a class, you must add it to the end of the script, you can't insert it at the beginning. It will mess up the class system.
If you have any of these problems, just click on the menu Compile > Compile All Scripts.
If you have a room 2, you must make sure the top line reads:
(script 2)
For room 3, the top line must read (script 3), etc.
Instead of creating a blank script and copying script.001, use the menu File > New > Room Script.
Good luck!