    # KNIGHT Scaling
    # Phase 1
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:100_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 100_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:100_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 100_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:200_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 200_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:200_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 200_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:325_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 325_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:325_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 325_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:500_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 500_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:500_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 500_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:750_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 750_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:750_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 750_points_max_health_upgrade_knight
    # Phase 2
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:1300_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 1300_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:1300_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 1300_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:1650_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 1650_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:1650_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 1650_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:2050_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 2050_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:2050_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 2050_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:2500_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 2500_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:2500_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 2500_points_max_health_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:3000_points_armor_upgrade_knight"}]}]}] run attribute @s armor modifier remove 3000_points_armor_upgrade_knight
execute as @a if entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:3000_points_max_health_upgrade_knight"}]}]}] run attribute @s max_health modifier remove 3000_points_max_health_upgrade_knight