tag @a remove KyuGive
data merge entity @s {PickupDelay:10}
#execute at @s run tag @p[gamemode=!spectator] add KyuGive
#execute in overworld run setblock 999984 127 999981 minecraft:redstone_block
#tag @s add Tree22

execute at @s run tag @p[gamemode=!spectator] add KyuGive
execute at @s positioned ~ ~500 ~ run function zzzzdonotuse:halfsec/raredroptable2
kill @s[type=item]

tag @a remove KyuGive

