execute unless score @s pay matches 5000.. run return run function ws:store/bar/fail
scoreboard players remove @s pay 5000
title @s title {"translate":"business.success","color":"light_purple","bold":true}
tag @s add bar
execute at @s run playsound minecraft:custom.questpassed player @s ~ ~ ~
execute positioned -1912 42 -2008 run kill @e[type=minecraft:area_effect_cloud,limit=2,sort=nearest]
setblock -1912 42 -2008 air
scoreboard players add @s income 7
scoreboard players add @s businesscount 1
tellraw @s {"translate":"bar.bonuses"}