This coin bag has a random integer amount of coins between 10 and 100.
Currency can be easily changed on this item in the YML.

Includes playerPlaySound actions and chat formatting.
(1.16 version includes custom color fonts as seen in examples.)

Requires an economy plugin. (Vault/EssentialsX).

Used by RIGHT CLICK in main hand.

Image Example:
[img] tag
[img] tag