Hi, I want to make so that if a player dies, he automatically joins a scoreboard team. So I've come up with this command: /execute @a[score_deathCount=1] ~ ~ ~ scoreboard teams join infected @a[score_deathCount=1], but it doesn't work, I don't know why, please help.
P.S. Also sorry for my English, it's my second language.
Hi, I want to make so that if a player dies, he automatically joins a scoreboard team. So I've come up with this command: /execute @a[score_deathCount=1] ~ ~ ~ scoreboard teams join infected @a[score_deathCount=1], but it doesn't work, I don't know why, please help.
P.S. Also sorry for my English, it's my second language.
Hi, I want to make so that if a player dies, he automatically joins a scoreboard team. So I've come up with this command: /execute @a[score_deathCount=1] ~ ~ ~ scoreboard teams join infected @a[score_deathCount=1], but it doesn't work, I don't know why, please help.
P.S. Also sorry for my English, it's my second language.
I hope you're in 1.13+.
/team join infected @a[scores={deathCount=1..},team=]
PS: No worries, English is not my 2nd language either. If I can understand, it means your English is not bad.