void OnDeath() { if (health <= 0) { cpManager.RespawnAtLastCheckPointPosition(); invulnerable = false; startBlinking = false; sprite.color = Color.white; health = 100; } }