My problem is that I want to give every player on the same height as an area_effect_cloud within a radius of 25 blocks a scoreboard called 'stunned'.
The command for that would look something like this:
/execute @e[type=area_effect_cloud] ~ ~ ~ /scoreboard players set @a[y=~,r=25] stunned 1
But the only problem is that the
y=~ is not a thing in Minecraft, does anyone have a solution to this, that isn't 1 or more command block for every height?