I need help asap
how do i fix this # play_guitar.mcfunction
Play the guitar sound for players who right-click with any wooden axe
execute as @a[nbt={SelectedItem:{id:"minecraft:wooden_axe"},scores={rightClick=1..}] run playsound namespace:guitar.ogg master @s ~ ~ ~ 1.0 1.0
Reset the rightClick score to prevent continuous playing
scoreboard players set @a[scores={rightClick=1..}] rightClick 0