Help urgently

Please use Code tags .

EDIT: Otherwise, your code is going to be an unreadable mess.

Now, the Console Window should tell you at which point (row, column) of your code the error is happening. In your case, I think you might be missing a closing curly brace for the void OnCollisionExit2D bit.