'serial' was not declared in this scope error HELP!!!

That code compiles fine on my computer.
Have you set the board type in the Tools menu to Mega 2560 ?