Destroy target creature. Consign to the Pit deals 2 damage to that creature's controller.
If the target creature is an illegal target by the time Consign to the Pit tries to resolve, the spell doesn’t resolve. No player is dealt damage. If the target is legal but not destroyed (most likely because it has indestructible), its controller is dealt damage.