Using enchantments does not decrease your score (which is shown on death). If you gain too many experience points (such as a trillion through commands), the experience bar will disappear altogether as well as your level on your HUD. This appears to occur around level 32,767 (which is equal to (2^15)-1; the largest value representable as a 16-bit signed integer).