scoreboard players add floor dungeon 1
function lobby:floor_sel/display_floor

scoreboard players remove mcoins shop 5

playsound custom.floor_selector ambient @a[distance=..4] ~ ~ ~

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
