scoreboard players operation min times_appeared = holy_sword times_appeared
execute if score ice_sword times_appeared < min times_appeared run scoreboard players operation min times_appeared = ice_sword times_appeared
execute if score katana times_appeared < min times_appeared run scoreboard players operation min times_appeared = katana times_appeared
execute if score emerald_sword times_appeared < min times_appeared run scoreboard players operation min times_appeared = emerald_sword times_appeared
execute if score crystal_sword times_appeared < min times_appeared run scoreboard players operation min times_appeared = crystal_sword times_appeared
execute if score dark_mace times_appeared < min times_appeared run scoreboard players operation min times_appeared = dark_mace times_appeared
