How to Make a Kills / Deaths Counter in Minecraft
ฝัง
- เผยแพร่เมื่อ 26 ส.ค. 2024
- In this video I will show you how to make a Kills / Deaths Counter in Minecraft Bedrock Edition.
titleraw @a actionbar {"rawtext":[{"text":"§6"},{"selector":"*"},{"text":"
§bKills: §f"},{"score":{"name":"*","objective":"Kills"}},{"text":"
§aDeaths: §f"},{"score":{"name":"*","objective":"Deaths"}}]}
replaceitem entity @a slot.inventory 8 apple 1 0 {"minecraft:item_lock":{ "mode": "lock_in_slot" }}
-------------KILL COUNTER-------------
execute at @e[type=item,name="Apple"] at @p run scoreboard players add @p[r=2] Kills 1
kill @e[type=item,name="Apple"]
-------------DEATH COUNTER-------------
tag @a add dead
tag @e[type=!player] remove dead
scoreboard players add @a[tag=dead,tag=!counted] Deaths 1
tag @a[tag=dead] add counted
tag @a[tag=!dead] remove counted
---------------------------------------------------------------------------------------------------------------------------
All of these commands are required, or the counters both will not work and there will be many errors happening inside your world. If you need any assistance be sure to comment what is happening down below in the description so I can assist you. Be sure to like and subscribe for more future content.
Hi im,blaketpblake
This helped so much 🙏
Thank you
The actual scoreboard is not showing for me, i have no idea why as i have spellchecked the commands multible times. Does it have to do with adding the objectives or some other external command that is separate from the command blocks.
@@maddog5284 im not sure make sure ypur scoreboards are correct i might be able to help you out sometime
What do you play on
@@Legendisawinner computer
what does failed to execute titleraw as [null] mean
that something is wrong and that it isn't working properly
It didnt work the death counter is at 2499 how can i fix it?
Go look again at the video yes I know he goes to fast
be sure u are doing everything correctly and you can pause the video whenever u need to
@@WardenStarI’ve done everything right including trying to put them on conditional it still doesn’t work can you please help?
Yo did you figure out the issue?
@@ewoker17gamingit’s not working for me either and I have rewatched the video many times
All of the command blocks say “no targets matched selector” do you know what’s wrong?
@@Legendisawinner that means that the command block cant find the target your looking for