scoreboard players add @s oi 1
execute at @s[scores={oi=1..59}] run summon armor_stand ^ ^20 ^-20 {Invisible:1b,Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"minecraft:diamond_sword",Count:1b,tag:{Enchantments:[{id:protection,lvl:3},{id:knockback,lvl:4},{id:loyalty,lvl:109}]}},{}],Tags:["222222"],DisabledSlots:4144959,Pose:{RightArm:[90f,90f,0f]}}
execute at @s[scores={oi=1..59}] run summon armor_stand ^-20 ^20 ^ {Invisible:1b,Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"minecraft:diamond_sword",Count:1b,tag:{Enchantments:[{id:protection,lvl:3},{id:knockback,lvl:4},{id:loyalty,lvl:109}]}},{}],Tags:["222222"],DisabledSlots:4144959,Pose:{RightArm:[90f,90f,0f]}}
execute at @s[scores={oi=1..59}] run summon armor_stand ^20 ^20 ^ {Invisible:1b,Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"minecraft:diamond_sword",Count:1b,tag:{Enchantments:[{id:protection,lvl:3},{id:knockback,lvl:4},{id:loyalty,lvl:109}]}},{}],Tags:["222222"],DisabledSlots:4144959,Pose:{RightArm:[90f,90f,0f]}}
execute at @s[scores={oi=1}] run particle dust 0 0.635 1 2 ^ ^10 ^ 0.2 10 0.2 0.1 1000 force
execute at @s[scores={oi=1..59}] run summon armor_stand ^ ^20 ^20 {Invisible:1b,Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{id:"minecraft:diamond_sword",Count:1b,tag:{Enchantments:[{id:protection,lvl:3},{id:knockback,lvl:4},{id:loyalty,lvl:109}]}},{}],Tags:["222222"],DisabledSlots:4144959,Pose:{RightArm:[90f,90f,0f]}}
tp @s ^ ^-0.2 ^ ~3 ~
#execute at @e[type=armor_stand,tag=222222] run tp @e[type=armor_stand,tag=222222] ^1.5 ^ ^1.5 facing entity @s
execute at @s[scores={oi=1..}] run playsound minecraft:block.beacon.ambient voice @a ~ ~ ~ 1 2
execute at @s[scores={oi=10..}] run playsound minecraft:block.beacon.ambient voice @a ~ ~ ~ 1 1.6
execute at @s[scores={oi=20..}] run playsound minecraft:block.beacon.ambient voice @a ~ ~ ~ 1 1.2
execute at @s[scores={oi=30..}] run playsound minecraft:block.beacon.ambient voice @a ~ ~ ~ 1 0.8
execute at @s[scores={oi=10}] run playsound minecraft:block.beacon.activate voice @a ~ ~ ~ 10 0.5
execute at @s[scores={oi=20}] run playsound minecraft:block.beacon.activate voice @a ~ ~ ~ 10 0.7
execute at @s[scores={oi=30}] run playsound minecraft:block.beacon.activate voice @a ~ ~ ~ 10 0.9
execute at @s[scores={oi=40}] run playsound minecraft:block.beacon.activate voice @a ~ ~ ~ 10 1.1
execute at @s[scores={oi=50}] run playsound minecraft:block.beacon.activate voice @a ~ ~ ~ 10 1.3
execute at @s[scores={oi=60}] run playsound minecraft:block.beacon.activate voice @a ~ ~ ~ 10 1.5
execute at @s[scores={oi=1..}] run particle dust 0 0.635 1 1 ^ ^1 ^0.3 0.3 0.3 0.3 0.1 10 force
execute at @s[scores={oi=10..}] run particle dust 0 0.635 1 1.2 ^ ^1 ^0.3 0.5 0.5 0.5 0.1 10 force
execute at @s[scores={oi=20..}] run particle dust 0 0.635 1 1.3 ^ ^1 ^0.3 0.7 0.7 0.7 0.1 10 force
execute at @s[scores={oi=30..}] run particle dust 0 0.635 1 1.4 ^ ^1 ^0.3 0.9 0.9 0.9 0.1 10 force
execute at @s[scores={oi=40..}] run particle dust 0 0.635 1 1.5 ^ ^1 ^0.3 1.1 1.1 1.1 0.1 10 force
execute at @s[scores={oi=50..}] run particle dust 0 0.635 1 1.6 ^ ^1 ^0.3 1.3 1.3 1.3 0.1 10 force
execute at @s[scores={oi=100}] run particle dust 0 0.635 1 10 ^ ^30 ^0.3 1.5 10 1.5 0.1 1000 force
execute at @s[scores={oi=99}] run stopsound @a
execute at @s[scores={oi=99}] run playsound entity.lightning_bolt.impact voice @a ~ ~ ~ 10 1.2
execute at @s[scores={oi=99}] run playsound entity.lightning_bolt.impact voice @a ~ ~ ~ 10 1.4
execute at @s[scores={oi=99}] run playsound entity.lightning_bolt.impact voice @a ~ ~ ~ 10 1.6
execute at @s[scores={oi=99}] run playsound entity.lightning_bolt.impact voice @a ~ ~ ~ 10 1.8

execute at @s[scores={oi=100}] run playsound entity.lightning_bolt.impact voice @a ~ ~ ~ 10 1
execute at @s[scores={oi=100}] run kill @e[type=armor_stand,tag=222222]
execute at @s[scores={oi=100}] run summon item ~ ~ ~ {Tags:["stick"],Item:{id:"minecraft:diamond_sword",Count:1b,tag:{CustomModelData:1,HideFlags:1b,fly:1,Enchantments:[{id:protection,lvl:3},{id:knockback,lvl:4},{id:loyalty,lvl:109}],Unbreakable:1,display:{Name:'{"text":"Infinity Blade","color":"aqua","italic":"false","bold":true}'}}}}
execute at @s[scores={oi=100}] run kill @s