tag @p[sort=nearest,limit=1] add knifer
schedule function template:kill_armor_stands 14t
execute at @p[sort=nearest,limit=1] run summon minecraft:armor_stand ^ ^ ^2 {ShowArms:1b,Invisible:1b,CustomName:'knife',CustomNameVisible:0b,equipment:{mainhand:{id:"minecraft:stone_sword",count:1,components:{"minecraft:item_model":"template:knife"}}}}
advancement revoke @s only template:throw_knife