# repeat 2
# ダウンロード　cool 

execute if score fin_cool b matches 1.. run scoreboard players remove fin_cool b 1


execute if score fin_cool b matches 15.. run titleraw @a actionbar { "rawtext": [{ "translate": "app_dl_fin.text", "with": ["\n"] }] }

# 初期値移動
execute if score fin_cool b matches 7 run tp @a 1 66 30 270 0
execute if score fin_cool b matches 15 run tp @e[tag=npc_1] -9 72 -9 315 0
execute if score fin_cool b matches 6 run stopsound @a
execute if score fin_cool b matches 5 run playsound random.toast @a
#
execute if score fin_cool b matches 2.. run inputpermission set @a movement disabled
execute if score fin_cool b matches 1 run inputpermission set @a movement enabled
execute if score fin_cool b matches 1 run scoreboard players set bgm_loop b 305
execute if score fin_cool b matches 1 run playsound c.vo1 @a

# execute if score fin_cool b matches 1 run tellraw @a { "rawtext": [{ "translate": "app_line.text", "with": ["\n"] }] }
execute if score fin_cool b matches 1 run titleraw @a title { "rawtext": [{ "translate": "app_dl_money.text" }] }
# execute if score fin_cool b matches 1 run tellraw @a { "rawtext": [{ "translate": "app_line.text", "with": ["\n"] }] }