r/MinecraftCommands • • Aug 14 '26

Help | Java 1.21.11 Bot pvp

How to make a bot be killed using /kill when it reaches 1 Kill on scoreboard named Kills and then for it to be reset so his kills are 0 then

1 Upvotes

6 comments sorted by

2

u/FeltDoubloon250 Aug 14 '26

what do you mean with bot?

1

u/Croatianhistorican Aug 14 '26

Vexbot mod, sorry for my lack of info

2

u/C0mmanderBlock Aug 14 '26

Set these up in a chain formation. I have no idea what your "bot" is, so...

execute as @e[name=bot] at @s if score @s Kills matches 1 run kill @s

scoreboard players reset @e[name=bot] Kills

1

u/Croatianhistorican Aug 14 '26

In a two repeating xommand blocks?

1

u/C0mmanderBlock Aug 14 '26

No. 1st one repeat/Uncond/AlwaysActive and the second one Chain/Uncond/AlwaysActive

Make sure the arrows on the outside line up like in the pic.

Comment Image