scoreboard players remove armor stats_calc 2000
scoreboard players add armor_t stats_calc 1000
scoreboard players add speed stats_calc 15
advancement grant @s only items:sets/1_heavy_armor
advancement grant @s only items:sets/num heavy_armor

execute if score pre heavy_armor < num heavy_armor run tellraw @s [{"translate":"set.heavy_armor","color":"gray"}," ",{"translate":"equiped","color":"gray"}]
