scoreboard players operation @s svm_ep.menu -= %10000 svm_ep.numbers

execute as @s[nbt={SelectedItemSlot:0}] run scoreboard players operation @s svm_ep.ability0 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:1}] run scoreboard players operation @s svm_ep.ability1 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:2}] run scoreboard players operation @s svm_ep.ability2 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:3}] run scoreboard players operation @s svm_ep.ability3 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:4}] run scoreboard players operation @s svm_ep.ability4 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:5}] run scoreboard players operation @s svm_ep.ability5 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:6}] run scoreboard players operation @s svm_ep.ability6 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:7}] run scoreboard players operation @s svm_ep.ability7 = @s svm_ep.menu
execute as @s[nbt={SelectedItemSlot:8}] run scoreboard players operation @s svm_ep.ability8 = @s svm_ep.menu

