Рет қаралды 3,425
execute at @e[type=minecraft:snowball] unless block ~ ~-1 ~ minecraft:air run summon minecraft:armor_stand ~ ~ ~ {Tags:["flash"],Invisible:1}
execute as @e[tag=flash] at @s run particle flash ~ ~ ~ 0 0 0 0 1 force
execute as @e[tag=flash] at @s as @e[distance=..5,tag=!flash] run tag @s add tar
scoreboard objectives add timer dummy
kill @e[tag=flash] 무조건적!
execute as @e[tag=tar] at @s run particle minecraft:end_rod ^ ^1.2 ^.5 .8 .8 .8 0 500 force @s
execute as @e[tag=tar] at @s run effect give @s minecraft:slowness 2 1 true
execute as @e[tag=tar] at @s run effect give @s minecraft:blindness 2 1 true
execute as @e[tag=tar] at @s run playsound minecraft:entity.arrow.hit_player master @s ~ ~ ~ 1 2
scoreboard players add @e timer 1
execute as @e[scores={timer=100..}] at @s run tag @s remove tar
scoreboard objectives remove timer