thank you very much,
i have included that before function main, and there is now no script error.
but there is still one slight problem, when the game loads, i can only see the side of the outside of my building and the player does not move.