execute store result storage ws:temp banker.pay int 1 run scoreboard players get @s banker.capital
function ws:work/misc/tier2/banker/aec with storage ws:temp banker
particle minecraft:happy_villager ~ ~2 ~ 0.1 0 0.1 0 10 normal
playsound minecraft:entity.arrow.hit_player player @s ~ ~ ~ 0.3 1
data remove storage ws:temp banker