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