Files
mc_datapack/music_quiz/data/mq/function/commands/start.mcfunction

13 lines
345 B
MCFunction

execute if score init main matches 10 run return run function mq:tellraw {"text":"퀴즈가 완전히 종료된후 시작해주세요.","color":"red","msg":""}
setblock ~ ~ ~ minecraft:air
stopsound @a weather
$scoreboard players set max_index main $(max_index)
scoreboard players set init main 1
# say 게임시작
dialog show @a mq:page1