execute at @s run function ws:work/misc/tier2/banker/recursion
data merge entity @s {interpolation_duration:5,start_interpolation:-1}
$execute store result score @s banker.price.add run random value $(left_border)..$(right_border)
execute store result entity @s transformation.scale[1] float 0.01 store result entity @s transformation.translation[1] float -0.00072 run scoreboard players operation @s banker.price += @s banker.price.add
execute if score @s banker.price matches 501.. store result entity @s transformation.scale[1] float 0.01 store result entity @s transformation.translation[1] float -0.00072 run scoreboard players set @s banker.price 500
execute if score @s banker.price matches ..-501 store result entity @s transformation.scale[1] float 0.01 store result entity @s transformation.translation[1] float -0.00072 run scoreboard players set @s banker.price -500
execute if score @s banker.price matches ..-1 run return run function ws:work/misc/tier2/banker/negative
data modify entity @s transformation.left_rotation set value [0.0f,0.707f,0.0f,0.707f]
data modify entity @s text set value '{"text":"|","color":"green"}'
data modify entity @s transformation.translation[2] set value 0.0f