Why doesn't this command work? I have it set on another block and it works fine.
But an issue I'm having is the original command block doesn't trigger the kill once you get a certain distance away. I copied the code exactly into this new block to see if the distance was causing the issue, but the new one is giving me an error.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/Minecraft) if you have any questions or concerns.*
`execute as @e[y=125] run kill @s` note that your command will only kill as the entity crosses 125, not if they are above it. if you want it to do that you need something that looks like this `execute as @e[y=125,dy=400] run kill @s` the way you have it written now would cause anyone BELOW y 124 to die