execute if score @n[tag=banker.investment] banker.price >= @n[tag=banker.current] banker.price run return run function ws:work/misc/tier2/banker/bad
scoreboard players remove @s[scores={banker.patience=1..9}] banker.patience 1
particle minecraft:happy_villager ~ ~ ~ 0.1 0.1 0.1 1 3
playsound minecraft:block.note_block.flute player @a ~ ~ ~ 1 1.3
tellraw @s {"translate":"banker.good","color":"green"}
scoreboard players operation @s banker.getinvestment = @n[tag=banker.investment] banker.price
scoreboard players operation @s banker.getcurrent = @n[tag=banker.current] banker.price
scoreboard players add @s banker.getinvestment 500
scoreboard players add @s banker.getcurrent 500
scoreboard players operation @s banker.capital = @s banker.getcurrent
scoreboard players operation @s banker.capital -= @s banker.getinvestment
scoreboard players set @s banker.getinvestment 4
scoreboard players operation @s banker.capital /= @s banker.getinvestment