"Application.LoadLevel" Function can't be executed?

Hi,everyone!
Function DestroyGameObject() is designed by myself in the animation.But the “Application.LoadLevel(“ShowResult”)” can’t be executed, I’ve scanned all over the document, finding nothing helpful to solve this. Can anyone tell me What’ the problem?:slight_smile:
the original code is below:

But the code below is OK, “Application.LoadLevel(“ShowResult”)” can be executed rightly.

I’ve solved it! In my function"DestroyGameObject " I destroyed itself first, then quoted other again, it may cause some problem.