tp @e[type=block_display,tag=main_menu] 62 -58 7 -180 0

kill @e[type=text_display,tag=archer_arrow_reset]
kill @e[type=interaction,tag=archer_arrow_reset]

execute if entity @a[tag=archer_arrow_reset] at @a run playsound entity.arrow.shoot master @a ~ ~ ~ 10 0.8
execute if entity @a[tag=archer_arrow_reset] run summon interaction ^-1 ^1 ^4 {width:3f,height:0.25f,response:1b,Tags:["button","setting","archer_arrow_reset_on","archer_arrow_reset"],Passengers:[{id:"minecraft:text_display",teleport_duration:1,Rotation:[0F,0F],alignment:"center",Tags:["button","setting","text","archer_arrow_reset_on","archer_arrow_reset"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.25f,1.5f],scale:[0.75f,0.75f,0.75f]},text:'[{"color":"yellow","text":"Archer Arrow Reset: "},{"color":"green","text":"[On]","bold":true}]',background:7566195}]}

execute if entity @a[tag=!archer_arrow_reset] at @a run playsound entity.arrow.shoot master @a ~ ~ ~ 10 0.5
execute if entity @a[tag=!archer_arrow_reset] run summon interaction ^-1 ^1 ^4 {width:3f,height:0.25f,response:1b,Tags:["button","setting","archer_arrow_reset_off","archer_arrow_reset"],Passengers:[{id:"minecraft:text_display",teleport_duration:1,Rotation:[0F,0F],alignment:"center",Tags:["button","setting","text","archer_arrow_reset_off","archer_arrow_reset"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.25f,1.5f],scale:[0.75f,0.75f,0.75f]},text:'[{"color":"yellow","text":"Archer Arrow Reset: "},{"color":"red","text":"[Off]","bold":true}]',background:7566195}]}