How to change the value of an item tag to that of a scoreboard

Ideally, I want to be able to use item modifiers to change the Damage tag and the Ammo tag of a given item.
Continue to help post