Commands:
MAKE SURE CHAIN COMMANDS ARE CONDITIONAL AND ALWAYS ACTIVE
/scoreboard objectives add senbon minecraft.dropped:minecraft.pink_carpet
/execute at NAME anchored eyes positioned ^ ^ ^ if score NAME senbon matches 1 run summon area_effect_cloud ^ ^2 ^5 {Particle:"dust 1 0.6 0.75 3 1 1",Radius:0.5,Duration:3,Tags:["senbon"]}
/execute at NAME run particle dust 1 0.6 0.75 1 ~ ~1 ~ 0.5 0.5 0.5 1 2
/execute at NAME run effect give @e[distance=..1.5,name=!NAME] wither 1 1 true
/execute at @e[type=minecraft:area_effect_cloud,tag=senbon] run effect give @e[distance=..2] wither 1 1 true
Orange Command block pillaring up to chain commands
/give NAME minecraft:pink_carpet
/tag @e[type=minecraft:item,nbt={Item:{id:"minecraft:pink_carpet"}}] add sen
/kill @e[tag=sen]
/execute at NAME run summon minecraft:armor_stand ~ ~ ~ {Tags:["senbon"],ShowArms:1b,HandItems:[{id:"iron_sword",Count:1b}],Pose:{RightArm:[90.0f,90.0f,10.0f]},NoGravity:1b,Invisible:1b}
Sword moving commands
/execute at @e[tag=senbon,type=minecraft:armor_stand] run tp @e[tag=senbon,type=minecraft:armor_stand] ~ ~-0.125 ~
/kill @e[tag=senbon,type=minecraft:armor_stand]
Turning off commands:
/execute at NAME if score NAME senbon matches 2 run effect give NAME speed 1 0 true
/tag @e[type=minecraft:item,nbt={Item:{id:"minecraft:pink_carpet"}}] add sen
/kill @e[tag=sen]
/scoreboard players reset NAME senbon
/give NAME minecraft:pink_carpet