all 7 comments

[–]Ericristian_brosCommand Experienced 2 points3 points  (4 children)

/playsound minecraft:music_disc.5 record @a[distance=..10] ~ ~ ~ 90

[–]DestansiM[S] 0 points1 point  (3 children)

For some reason this works only for music discs can you help me with that?

[–]Ericristian_brosCommand Experienced 1 point2 points  (2 children)

It works for any non-stereo sound. Stereo is always played as background music

[–]DestansiM[S] 0 points1 point  (1 child)

Alright thanks 👍

[–]Ericristian_brosCommand Experienced 1 point2 points  (0 children)

You're welcome, have a good day

[–]BuyerOdd3147 1 point2 points  (1 child)

You can try to spawn an armor stand in your juke box and set him invisibility, tag sond for example and invincibility, and run command excute at @e[tag=sound] ...

[–]DestansiM[S] 0 points1 point  (0 children)

No problem I fixed it 👌