function lobby:shop/on_off/visual/on
playsound custom.note_block.pling.no_subtitle ambient @a[distance=..4] ~ ~ ~

scoreboard players set active shop 1

execute if score generation state matches 10 run tellraw @a[distance=..4] ["",{"text":"[!] ","color":"gold","bold":true},{"translate":"msg.regenerate_floor","color":"gray"}]
scoreboard players set generation state 0
bossbar set generation visible false
