scoreboard players add @s[scores={starterbonus.producer=1..}] pay 5
execute if score @s starterbonus.producer matches 1.. at @s run summon minecraft:area_effect_cloud ~ ~0.5 ~ {CustomName:'[{"color":"dark_green","text":"+5$"},{"text":" ("},{"translate":"starterbonus"},{"text":")"}]',CustomNameVisible:1b,Duration:40}
scoreboard players remove @s[scores={starterbonus.producer=0..}] starterbonus.producer 1
execute as @s[scores={starterbonus.producer=0}] run function ws:work/misc/endstarterbonus