scoreboard players add @a[tag=protection1] protection_score 1
tellraw @a[tag=protection1] {"rawtext":[{"text":"§ayou reached level 2!!"}]}
xp -6L @a[tag=protection1]
tag @a[tag=protection1] remove protection1

scoreboard players add @a[tag=protection2] protection_score 1
tellraw @a[tag=protection2] {"rawtext":[{"text":"§ayou reached level 3!!"}]}
xp -8L @a[tag=protection2]
tag @a[tag=protection2] remove protection2

scoreboard players add @a[tag=protection3] protection_score 1
tellraw @a[tag=protection3] {"rawtext":[{"text":"§ayou reached level 4!!"}]}
xp -10L @a[tag=protection3]
tag @a[tag=protection3] remove protection3

scoreboard players add @a[tag=protection4] protection_score 1
tellraw @a[tag=protection4] {"rawtext":[{"text":"§ayou reached level 12!!"}]}
xp -7L @a[tag=protection4]
tag @a[tag=protection4] remove protection4

scoreboard players add @a[tag=protection5] protection_score 1
tellraw @a[tag=protection5] {"rawtext":[{"text":"§ayou reached level 6!! (MAX)"}]}
xp -14L @a[tag=protection5]
tag @a[tag=protection5] remove protection5

scoreboard players add @a[tag=protection6] protection_score 1
tellraw @a[tag=protection6] {"rawtext":[{"text":"§ayou reached level 7!!"}]}
xp -10L @a[tag=protection6]
tag @a[tag=protection6] remove protection6

scoreboard players add @a[tag=protection7] protection_score 1
 @a[tag=protection7] {"rawtext":[{"text":"§ayou reached level 8!!"}]}
xp -12L @a[tag=protection7]
tag @a[tag=protection7] remove protection7

scoreboard players add @a[tag=protection8] protection_score 1
tellraw @a[tag=protection8] {"rawtext":[{"text":"§ayou reached level 9!!"}]}
xp -13L @a[tag=protection8]
tag @a[tag=protection8] remove protection8

scoreboard players add @a[tag=effect9] effects_score 1
tellraw @a[tag=effect9] {"rawtext":[{"text":"§ayou reached level 10!!"}]}
xp -14L @a[tag=effect9]
tag @a[tag=inv9] remove effect9