execute unless score @s pay matches 300.. run return run function ws:store/interior/fail
scoreboard players remove @s pay 300
title @s title {"translate":"luxury.buysuccess","color":"green"}
give @s minecraft:polished_deepslate_slab[minecraft:custom_name='[{"translate":"interior.strictslate","italic":false}]']
execute at @s run playsound minecraft:entity.piglin.celebrate player @s ~ ~ ~