playsound item.book.page_turn @s
execute as @s[hasitem={item=cubc_mo_en:book_page_0_1,location=slot.weapon.mainhand}] run scriptevent cubc_mo_en:delay 1 "/replaceitem entity @s[hasitem={item=cubc_mo_en:book_page_0_1,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 cubc_mo_en:book_page_12_13
execute as @s[hasitem={item=cubc_mo_en:book_page_2_3,location=slot.weapon.mainhand}] run scriptevent cubc_mo_en:delay 1 "/replaceitem entity @s[hasitem={item=cubc_mo_en:book_page_2_3,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 cubc_mo_en:book_page_0_1
execute as @s[hasitem={item=cubc_mo_en:book_page_4_5,location=slot.weapon.mainhand}] run scriptevent cubc_mo_en:delay 1 "/replaceitem entity @s[hasitem={item=cubc_mo_en:book_page_4_5,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 cubc_mo_en:book_page_2_3
execute as @s[hasitem={item=cubc_mo_en:book_page_6_7,location=slot.weapon.mainhand}] run scriptevent cubc_mo_en:delay 1 "/replaceitem entity @s[hasitem={item=cubc_mo_en:book_page_6_7,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 cubc_mo_en:book_page_4_5
execute as @s[hasitem={item=cubc_mo_en:book_page_8_9,location=slot.weapon.mainhand}] run scriptevent cubc_mo_en:delay 1 "/replaceitem entity @s[hasitem={item=cubc_mo_en:book_page_8_9,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 cubc_mo_en:book_page_6_7
execute as @s[hasitem={item=cubc_mo_en:book_page_10_11,location=slot.weapon.mainhand}] run scriptevent cubc_mo_en:delay 1 "/replaceitem entity @s[hasitem={item=cubc_mo_en:book_page_10_11,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 cubc_mo_en:book_page_8_9
execute as @s[hasitem={item=cubc_mo_en:book_page_12_13,location=slot.weapon.mainhand}] run scriptevent cubc_mo_en:delay 1 "/replaceitem entity @s[hasitem={item=cubc_mo_en:book_page_12_13,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 cubc_mo_en:book_page_10_11