#パスワードチェック
# limit 条件
execute if entity @e[type=item,name="2738",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 1 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="3893",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 2 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="5567",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 3 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="9012",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 4 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="7623",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 5 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="2380",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 6 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="1568",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 7 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="4269",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 8 run scoreboard players set lock_7 b 1
execute if entity @e[type=item,name="8145",r=2,x=~,y=~2,z=~] if score onetime_limit b matches 1.. if score onetime_pass b matches 9 run scoreboard players set lock_7 b 1
#クリア
execute unless score app_7 b matches 2.. if score lock_7 b matches 1 run function app/btn/7/pass
