execute unless score @s pay matches 20000.. run return run function ws:store/carshop/business/fail
scoreboard players remove @s pay 20000
title @s title {"translate":"business.success","color":"light_purple","bold":true}
tag @s add carshop
execute at @s run playsound minecraft:custom.questpassed player @s ~ ~ ~
execute positioned -1998.64 42.13 -2038.59 run kill @e[type=minecraft:area_effect_cloud,limit=2,sort=nearest]
setblock -1999 42 -2039 air
scoreboard players set @s carshop.pending 0
scoreboard players add @s income 25
scoreboard players add @s businesscount 1
tellraw @s {"translate":"carshop.bonuses"}