execute as @s[scores={svm_ep.selected_ability=1}] run function svm_ep:power/4fun/ability/ui/1
execute as @s[scores={svm_ep.selected_ability=2}] run function svm_ep:power/4fun/ability/ui/2
execute as @s[scores={svm_ep.selected_ability=3}] run function svm_ep:power/4fun/ability/ui/3
execute as @s[scores={svm_ep.selected_ability=4}] run function svm_ep:power/4fun/ability/ui/4
execute as @s[scores={svm_ep.selected_ability=5}] run function svm_ep:power/4fun/ability/ui/5
execute as @s[scores={svm_ep.selected_ability=6}] run function svm_ep:power/4fun/ability/ui/6
execute as @s[scores={svm_ep.selected_ability=7}] run function svm_ep:power/4fun/ability/ui/7
execute as @s[scores={svm_ep.selected_ability=8}] run function svm_ep:power/4fun/ability/ui/8
execute as @s[scores={svm_ep.selected_ability=9}] run function svm_ep:power/4fun/ability/ui/9
execute as @s[scores={svm_ep.selected_ability=10}] run function svm_ep:power/4fun/ability/ui/10





#

#title @s[nbt={SelectedItemSlot:7},scores={svm_ep.p.moveset=1}] actionbar [{"text":"|","color":"#878787"},{"text":" M","color":"#FFBB2B"},{"text":"a","color":"#FFD35E"},{"text":"n","color":"#FFBB2B"},{"text":"a","color":"gold"},{"text":":","color":"#8E8E8E"},{"text":" ","color":"gray"},{"score":{"name":"@s","objective":"svm_ep.mana"},"color":"gold"},{"text":"/","color":"#FFC13E"},{"score":{"name":"@s","objective":"svm_ep.mana_max"},"color":"#FFC750"},{"text":" |","color":"#858585"},{"text":" M","color":"gray"},{"text":"o","color":"#B3B3B3"},{"text":"v","color":"#BFBFBF"},{"text":"e","color":"#C7C7C7"},{"text":"s","color":"#BFBFBF"},{"text":"e","color":"#B3B3B3"},{"text":"t:","color":"gray"},{"text":" P","color":"#CBC6E5"},{"text":"h","color":"#DECBE4"},{"text":"a","color":"#EAD9EC"},{"text":"s","color":"#F3E6F5"},{"text":"e","color":"#EAD9EC"},{"text":" 1","color":"#CBC6E5"},{"text":" |","color":"gray"}]

#["",{"text":"|","color":"#878787"},{"text":" M","color":"#FFBB2B"},{"text":"a","color":"#FFD35E"},{"text":"n","color":"#FFBB2B"},{"text":"a","color":"gold"},{"text":":","color":"#8E8E8E"},{"text":" ","color":"gray"},{"score":{"name":"@s","objective":"svm_ep.mana"},"color":"gold"},{"text":"/","color":"#FFC13E"},{"score":{"name":"@s","objective":"svm_ep.mana_max"},"color":"#FFC750"},{"text":" |","color":"#858585"}  ]