If the equipped creature takes lethal damage at the same time that it deals combat damage, it will die before the counters on it can be doubled. However, you will still roll a d12, which may cause abilities of other permanents to trigger.