execute unless score @s pay matches 5.. run return run tellraw @s {"translate":"metro.cashier.no"}
scoreboard players remove @s pay 5
tellraw @s {"translate":"metro.cashier.yes"}
give @s paper[minecraft:custom_data={metro:1,metroclear:1},minecraft:custom_name='[{"italic":false,"translate":"metro.ticket"}]']
scoreboard players add @s ticketbought 1