scoreboard players add @s homingloot_count 1 execute if score @s homingloot_count matches 20 run data remove entity @s Motion execute if score @s homingloot_count matches 20 run data modify entity @s NoGravity set value 1b execute if score @s homingloot_count matches 20.. run particle dust_color_transition 0.000 1.000 0.000 1 0.031 0.451 1.000 ~ ~ ~ 0 0 0 1 0 force @a[distance=..96] execute if score @s homingloot_count matches 20.. at @s run tp @s ^ ^ ^0.25 facing entity @p[gamemode=!spectator,distance=..96] feet execute if score @s homingloot_count matches 20.. at @s run tp @s ^ ^ ^0.25 facing entity @p[gamemode=!spectator,distance=..96] feet execute if score @s homingloot_count matches 30.. run particle dust_color_transition 0.000 1.000 0.000 1 1.000 1.000 1.000 ~ ~ ~ 0 0 0 1 0 force @a[distance=..96] execute if score @s homingloot_count matches 30.. at @s run tp @s ^ ^ ^0.30 facing entity @p[gamemode=!spectator,distance=..96] feet execute if score @s homingloot_count matches 30.. at @s run tp @s ^ ^ ^0.30 facing entity @p[gamemode=!spectator,distance=..96] feet