This is the down side of using comparators. NOT MP friendly. When one player enters, the command block is already triggered.
Solution 1:
This will constantly re-apply the perk to anyone in range.
Setup:
/scoreboard objectives add inRange dummy
Clock(20tps Fill Clock)
/scoreboard players set @a inRange 0
/scoreboard players set @a[x=<X>,y=<Y>,z=<Z>,r=<Range>] inRange 1
Run commands that will give the perks using the player selector @a[score_inRange_min = 1]
Solution 2:
Simpler version of Solution 1
Clock(20tps Fill Clock)
Run commands that will give the perks using the player selector @a[x=<X>,y=<Y>,z=<Z>,r=<Range>
Solution 3:
Give perk upon entering range.
Setup:
/scoreboard objective add inRange dummy
Clock(20tps Fill Clock)
Run Commands that will give the perks using the player selector @a[x=<X>,y=<Y>,z=<Z>,r=<Range>,score_inRange = 0]
/scoreboard players set @a inRange 0
/scoreboard players set @a[x=<X>,y=<Y>,z=<Z>,r=<Range>] inRange 1
Explanation:
Solution 1:
First reset the score of all players. Then mark all players within range on a scoreboard, and finally run a command on all marked players.
Solution 2:
Straight up run a command on all players within range
Solution 3:
Run a command on all players that are in range but have not been marked aka. just entered the range. Then reset the score and mark all players in range.
Best Answer
Hitting the block (Left mouse button) makes it play. Activating it (right mouse button) changes the note- this also plays the new note as a preview. When you're playing your song, only use the left mouse button- this will keep the notes the same.
You can also activate note blocks with redstone, using buttons or pressure plates. This can allow you to play several notes at once or even play a tune automatically. Playing the note with redstone is the same as hitting the block- the note will never change.