scoreboard players remove @s[scores={svm_ep.style_ability1_delay=1..}] svm_ep.style_ability1_delay 1
scoreboard players remove @s[scores={svm_ep.style_ability2_delay=1..}] svm_ep.style_ability2_delay 1
scoreboard players remove @s[scores={svm_ep.style_ability3_delay=1..}] svm_ep.style_ability3_delay 1

execute as @s[type=player,scores={svm_ep.selected_style_ability=1..}] run function svm_ep:fighting_style/tick_active

execute as @s[scores={svm_ep.fighting_style=1,svm_ep.using_move=10001..11000}] run function svm_ep:fighting_style/sword/tick
execute as @s[scores={svm_ep.fighting_style=2,svm_ep.using_move=10001..11000}] run function svm_ep:fighting_style/chain/tick
execute as @s[scores={svm_ep.fighting_style=3,svm_ep.using_move=10001..11000}] run function svm_ep:fighting_style/gauntlet/tick

execute as @s[type=player,scores={svm_ep.fighting_style=1},nbt={Inventory:[{Slot:-106b,components:{"minecraft:custom_data":{svm_ep.sword_ability:1b}}}]}] run function svm_ep:fighting_style/sword/creator/confirm



#execute as @s[scores={svm_ep.using_move=11001..12000}] run function svm_ep:fighting_style/gauntlet/tick
