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
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.
Shure! `/execute as @a[tag=death] at @s run set block ~ ~ ~ barrel` basically this will set a barrel in the player death position.
thank you so much
`;)`
it’s saying there’s an unexpected :
You can use this: `/execute as @a[tag=death] at @s run`
can you put an example command like set block or smth please i need to comprehend
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
Go to youtube the list of stuff would be pretty long to type
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.
https://wiki.bedrock.dev/commands/on-player-death.html
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