execute unless score @s pay matches 50.. run return run function ws:store/objorka/fail
scoreboard players remove @s pay 50
title @s title {"translate":"luxury.buysuccess","color":"green"}
give @s baked_potato 48
execute at @s run playsound minecraft:entity.player.levelup player @s ~ ~ ~ 0.1 2