Erro BCE0051 (522798)

help me my unity says operator ‘<’ can not be used with the left hand side of type ‘object’ and the right hand side of type ‘int’ … here is the javascript

I am wanting to make the character die when hp reach zero

1449680–78297–$atributos.js (283 Bytes)

Submit bug reports and use the support and scripting sections of the forum.

There’s no evidence that a compiler error is a bug. More likely there is a problem in the OP’s code.

Or: http://answers.unity3d.com/questions/topics/BCE0051.html