How do i make progress bar change letters on full percent

I have a system when i attack i gain points from the damage i do and progress bar fills up but i want it to change letters on full percent ex. if letter d is full then c starts at 0% and if it reaches max goes to b etc but im having trouble with this, any tips or suggestions ?