execute if score @s farmer.buffer matches 3.. run return run tellraw @s {"translate":"farmer.maxupgrade"}
execute unless score @s pay matches 50.. run return run tellraw @s [{"text":"> "},{"translate":"business.notsuccess"}]
scoreboard players add @s farmer.buffer 1
scoreboard players set @s farmer.buffer.timer 400
scoreboard players remove @s pay 50
execute at @s run playsound minecraft:block.enchantment_table.use player @s ~ ~ ~ 1