Рет қаралды 6,882
execute as @a[nbt={Inventory:[{id:"minecraft:netherite_sword",Slot:-106b}]}] at @s run item replace entity @s weapon.offhand with air
execute as @p at @s run summon minecraft:armor_stand ~ ~ ~ {Tags:["spin"],Invisible:1}
give @p stick 1
execute as @e[tag=spin] at @s run tp @s ~ ~ ~ ~100 ~
execute as @e[tag=spin] at @s run particle minecraft:dust_color_transition 1 1 0 1 1 1 1 ^ ^1 ^1 0 0 0 0 10 force
execute as @e[tag=spin] at @s run particle minecraft:dust_color_transition 1 1 0 1 1 1 1 ^ ^1 ^1.5 0 0 0 0 10 force
execute as @e[tag=spin] at @s run particle minecraft:dust_color_transition 1 1 0 1 1 1 1 ^ ^1 ^2 0 0 0 0 10 force
execute as @e[tag=spin] at @s run particle minecraft:dust_color_transition 1 1 0 1 1 1 1 ^ ^1 ^2.5 0 0 0 0 10 force
execute as @p at @s run tp @e[tag=spin] ~ ~ ~
execute as @a[nbt={Inventory:[{id:"minecraft:stick",Slot:-106b}]}] at @s run item replace entity @s weapon.offhand with air
kill @e[tag=spin]
give @p netherite_sword
execute at @e[tag=spin] as @e[tag=!spin,name=!Uunsak,distance=..2.5] at @s run effect give @s minecraft:instant_damage 1 1 true