clear @s crossbow
loot give @s loot weapons:crossbow_loaded
clear @s arrow
loot give @s loot weapons:arrows
playsound entity.item.pickup player @s ~ ~ ~ 0.25 2
advancement revoke @s only tutorial:barrels/crossbow