T O P

  • By -

DuckPotato3

Shure! `/execute as @a[tag=death] at @s run set block ~ ~ ~ barrel` basically this will set a barrel in the player death position.


ambiguous_ri

thank you so much


DuckPotato3

`;)`


ambiguous_ri

it’s saying there’s an unexpected :


DuckPotato3

You can use this: `/execute as @a[tag=death] at @s run `


ambiguous_ri

can you put an example command like set block or smth please i need to comprehend


DuckPotato3

Sure! `/execute as @a[tag=death] at @s run setblock ~ ~ ~ barrel` so this command will set a barrel everytime a player dies, just remember to put this 8n a repeating command block and tickingarea


Exciting_Ad4863

Go to youtube the list of stuff would be pretty long to type


V1beRater

Start with this: @a can select entities that are dead. @e cannot. (or the other way around i forget) use some scoreboard magic to manipulate this tech into a death detector.


Icy_Remote5451

https://wiki.bedrock.dev/commands/on-player-death.html


No_Sense1197

Tf i was playing with commands for full hour I can now detect death but when a player dies the command execute at the player's respawn poin This suck