scoreboard objectives add inmine_zhs:clock dummy

## Titanium Arrows pickup
execute as @e[type=minecraft:arrow,tag=inmine_zhs.titanium_arrow] at @s if entity @p[r=3] run scriptevent inmine_zhs:titanium_arrow pickup



scoreboard players add inmine_zhs:armor_color inmine_zhs:clock 1
execute if score inmine_zhs:armor_color inmine_zhs:clock matches 10.. run function inmine/zhs/armor_color/update


scoreboard players add inmine_zhs:tit_potion_area inmine_zhs:clock 1
execute if score inmine_zhs:tit_potion_area inmine_zhs:clock matches 10.. run function inmine/zhs/medkits/update

