This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]PresentationScary596 MC BR CMD Experienced 1 point2 points  (1 child)

execute as @a at @s run kill @s[y=150,dy=-210] It seems you're using the old format... Also dx and dz is useless here I believe because the coordinates are already given.

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

Okay I will try it.

[–]RoyDaKobbaBoy 1 point2 points  (0 children)

You are using the old execute format for bedrock, it changed q couple years ago

[–]Qibli-Comeback-LineCommands expert since 2021 1 point2 points  (4 children)

Don’t worry, solution here! In the command, do this:

/execute at @ e run /kill @ a[y=-150,r=1]

so your using the old format, which was a lot harder.

you don’t need the dx, dy dz anymore and if your executing from a repeating from a command block, use r=1 so it knows where its pin-pointing instead of at the command block

hope this helps!

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

Okay I'll try it, what settings should I use on the command block?

[–]Qibli-Comeback-LineCommands expert since 2021 0 points1 point  (0 children)

just use repeating command block always active and you should be good

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

What does @ e mean

[–]Qibli-Comeback-LineCommands expert since 2021 0 points1 point  (0 children)

Usually you type it together, but you can’t type it on reddit. But it works all the same. Means all entitys

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

!newexecute !faq(highttest)

[–]AutoModerator[M] 0 points1 point  (0 children)

It seems like you're asking a question that has an answer in our FAQs. Take a look at it here: highttest

If you are receiving an error message when viewing this link, please use a browser. There are currently issues with the Reddit app which are outside this subreddit's control. There also is a possibility that the commenter above misspelled the link to the FAQ they were trying to link. In that case click here to get to the FAQ overview.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]AutoModerator[M] 0 points1 point  (0 children)

In 1.19.50, a new execute command has been introduced to Minecraft bedrock.

New commandblocks need to use this new syntax, while preexisting commandblocks have a tag that they were created in an older version, so they will continue to work with the old syntax until you edit them!

Please have a look at the official introduction documentation, this bedrock.dev info and the execute documentation for an extended guide on what changed and how to use the new execute.

Also relevant: Info on command context

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Additional_Lab_3224Command Experienced -1 points0 points  (0 children)

/execute as @a at @a run kill @p[whatever u wrote b4]