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