scoreboard players add @s[scores={starterbonus.builder=1..}] builder.capital 1
scoreboard players remove @s[scores={starterbonus.builder=0..}] starterbonus.builder 1
execute as @s[scores={starterbonus.builder=0}] run function ws:work/misc/endstarterbonus