What command you have to enter in Minecraft that water kills you when you touch it?

ti
8

Does anyone know what command you have to enter in Minecraft that water kills you when you touch it?

Hu

That can be done with an order

Just put the block down somewhere and it goes.

/ give @p repeating_command_block {BlockEntityTag: {Command: "execute as @a at @s if block ~ ~ ~ water run kill @s", powered: 1b}} 1

gl
1

If you don't want to use the command from TheRsKing, then you can do it like this:

/ execute as @a at @s if block ~ ~ ~ water run kill @s

ti

Thank you👍

ti

Thank you👍

Hu

No problem.

Gu

The one that is working

Gu

now is glistening one.

Gu

I Want the for command for my mcpe map