title @p[tag=getting_stand,sort=nearest,limit=1] actionbar "I will make you a master of the sword. No one is stronger than you... use me and kill!"
tag @p[tag=getting_stand,sort=nearest,limit=1] remove spp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove scp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove mrp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove sunp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove setp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove hgp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove tohthp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove hps
tag @p[tag=getting_stand,sort=nearest,limit=1] remove togp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove hp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove tfp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove dbmp
tag @p[tag=getting_stand,sort=nearest,limit=1] remove cmp
tag @p[sort=nearest,limit=1] add anubisp
item replace entity @a[tag=anubisp] container.8 with minecraft:netherite_sword[minecraft:item_model="template:anubis",minecraft:custom_name=Anubis,custom_data={anubis:true},minecraft:swing_animation={type:"stab",duration:3},minecraft:blocks_attacks={},minecraft:unbreakable={}] 1
function template:anubis/dummy