does not work check if dead

I have a check in my code: if(transform.position.y <= cameraTrans.position.y - 6f)
but this check doesnt work. help me please

???

We need some info.