FYI: FOR THE FOLKS WHOSE SCOREBOARD KEEPS DISAPEARING- in the first repeating block of the second half the command is: /execute as @a[r=10] run /titleraw @s actionbar{"rawtext":[{"text":"§6"},{"selector":"@s"},{"text":" §aKills§f: "},{"score":{"name":"@s","objective":"kills"}},{"text":" §cDeaths§f: "},{"score":{"name":"@s","objective":"deaths"}}]} remove the [r=10] which is setting your display bar to a radius of 10 blocks from the command block. now it will work. Could someone also help me though, every time I kill it counts it as 43 or something kills. Did I mess up the commands and where?
@@TheyMightBeWhat the 47 deaths thing I haven’t typed it all in for the last chain command blocks and this is my first time using command blocks and it’s very complicated for me
kills count dosent work, I already changed it to what the comments suggested. I killed people right next to the command blocks and it still dosent work it says 0. it dosent say anything about errors on the command blocks. but it does say no targets matched selector and the tick circle is already fine.
Many thanks for your tutorials! They work very well on my own server.😃 I've had another idea: How could you introduce a bounty system in Minecraft, where a bounty is placed on a player and the player who kills him gets the money? Or in general, that a player gets the money of the player he has killed. I've tried around a bit, but haven't found a way to implement something like this yet. Do you have any ideas on how to do this?
The radius goes up to 68 blocks in one direction and 80 in the other one no matter what number you put. If somone knows a way to increase the radius let me know
@@gabedalai’m a new watcher too! i’m a coder on roblox games and wanted to try minecraft! i used your scoreboard tutorials and tested them with my friend! Right now i am working on a sword fighting server / world called sword craft! Everything from coding in minecraft with gui, like scoreboards and more i have all learned from you! Thanks for helping me out! You’re a great minecraft youtuber! Thanks! :D
@@gabedala Also, lots like impossible to find a bedrock youtuber too! You stand out :D Also, you should do a tutorial on how to use the camera feature, I saw a showcase of it and it was really cool! You should try it! its /camera. you can make security cameras too!
Hello brother, this tutorial is actually works. But when im far from those command blocks. The K/D is not showing. But when im go near to those command blocks, the K/D is showing. Why is it happen?
@@itsmehacked42o can it's be permanent? If yes, what is the command? I made those kd command blocks underground (Flat World). Im normally makes all underground, do you/you guys/Gabedala have the answer? Thanks
@@VeoSiaOfficialHD7867 / tickingarea The rest will basically auto fill. I'm not sure exactly but basically /tickingarea add circle ~ ~ ~ 4 any_name Can any_name into what ever if you have a space use _ not spaces.
It works thanks but for some reason when you kill someone there’s a chance that you get like 100 or 200 kills same with deaths u know what’s wrong I double checked everything
Hey this was a great tutorial! I tried to add the ticking area command and it for some reason isn’t working throughout the world. I was wondering, could you tell me what you think I’m doing wrong
question, how will the command block determine who actually made the kill? if for instance, the game is on deathmatch and a player with a bow killed someone a bit far away amongst other players who are nearer than the player who just died. will the bow player get the kill point or the players nearer to the player who died?
The video has the same command in both command blocks next to the comparator.. The command block list below has /execute at @e[type=arrow] run /testfor @e[type=player,r=10] listed but it is not in the video.
wow thanks but I have a question! Can a kill be defended by another player who is standing nearby or very close? Is this system suitable for multi-player games? I mean games with more than 10 or maybe 20 people...
Will it still count a kill if you are fighting someone but they die to something else? (ex. creeper explodes someone mid-fight, or you knock someone off a ledge and they die to fall dmg)
Hello, I am one of your new watchers, I have a question, For some reason if I move out of 10 blocks in range of the command blocks, the counter disappears and it doesn’t work. Is this normal or have I done something wrong? Please let me know.
bows arent the only ranged weapon tho. what about crossbows and tridents? could i just copy what i did for bows but just replace the name of the item with tridents and crossbows?
Repeat, Unconditional, Always Active /execute as @a[r=10] run /titleraw @s actionbar{"rawtext":[{"text":"§6"},{"selector":"@s"},{"text":" §aKills§f: "},{"score":{"name":"@s","objective":"kills"}},{"text":" §cDeaths§f: "},{"score":{"name":"@s","objective":"deaths"}}]}
@gabedala alright so this is what it gave me Command Blocks (connected) • Repeat, Unconditional, Always Active plaintext /scoreboard players set @a[scores={alive=!2}] alive 0 • Chain, Unconditional, Always Active plaintext /scoreboard players set @e[type=player] alive 1 • Chain, Unconditional, Always Active plaintext /execute at @a[scores={alive=0}] run scoreboard players add @p[r=5,rm=0.1] kills 1 • Chain, Unconditional, Needs Redstone plaintext /execute at @a[scores={alive=0}] run scoreboard players add @p[r=120,hasitem={location=slot.weapon.mainhand ,item=bow}] kills 1 • Repeat, Unconditional, Always Active plaintext /execute at @e[type=arrow] run testfor @e[type=player,r=10] • Chain, Unconditional, Always Active plaintext /scoreboard players add @a[scores={alive=0}] deaths 1 • Chain, Unconditional, Always Active plaintext /scoreboard players set @a[scores={alive=0}] alive 2 Additional Command Blocks for Potions To include splash potions, you need to detect when a player is killed by a potion effect. This can be done by checking for potion effects and attributing the kill to the player who threw the potion. • Repeat, Unconditional, Always Active plaintext /execute at @e[type=area_effect_cloud] run testfor @e[type=player,r=10] • Chain, Unconditional, Always Active plaintext /execute at @a[scores={alive=0}] run scoreboard players add @p[r=10,hasitem={location=slot.weapon.mainhand,item=splash_potion}] kills 1 Command Blocks (all separate) • Repeat, Unconditional, Always Active plaintext /execute as @a[r=10] run titleraw @s actionbar {"rawtext":[{"text":"§6"}, {"selector":"@s"},{"text":" §aKills§f: "},{"score":{"name":"@s","objective":"kills"}},{"text":" §cDeaths§f: "},{"score":{"name":"@s","objective":"deaths"}}]} • Repeat, Unconditional, Always Active plaintext /scoreboard players add @a deaths 0 • Repeat, Unconditional, Always Active plaintext /scoreboard players add @a kills 0 Summary By adding the additional command blocks to detect area effect clouds (which are created by splash potions) and attributing kills to the player who threw the potion, you can ensure that kills by splash potions are also tracked. This should make your kill/death tracking system more comprehensive and include indirect kills caused by potions
Double check again, there might be 1 error and it also is VERY easy to miss something. It also depends what the syntax error says. The command block kinda tells you where the mess up is
Its working pretty good but i have only one issues because when im going to for adventure my death and kills didn't not show up even though im using tikingaarea 10
Not sure tbh. You’d have to make sure a player always spawns in with an item (like a glass block) so you’d need a command to make sure they have that and when it drops have another command where you can add a point when you pick it up
FYI: FOR THE FOLKS WHOSE SCOREBOARD KEEPS DISAPEARING- in the first repeating block of the second half the command is: /execute as @a[r=10] run /titleraw @s actionbar{"rawtext":[{"text":"§6"},{"selector":"@s"},{"text":"
§aKills§f: "},{"score":{"name":"@s","objective":"kills"}},{"text":"
§cDeaths§f: "},{"score":{"name":"@s","objective":"deaths"}}]}
remove the [r=10] which is setting your display bar to a radius of 10 blocks from the command block. now it will work.
Could someone also help me though, every time I kill it counts it as 43 or something kills. Did I mess up the commands and where?
Pinned comment because I didn’t even know I had the radius in there LOL
Lol I gotchu. I was wondering why so many peeps were having that issue 😂@@gabedala
So how do you fix it
@@Destoroyah-sj7iu Which issue?
@@TheyMightBeWhat the 47 deaths thing I haven’t typed it all in for the last chain command blocks and this is my first time using command blocks and it’s very complicated for me
Gabe I honestly with all my heart love your channel I love your enthusiasm for your viewers don’t know how your not really popular also here b4 10k
Woo! Glad you’re here before 10k! And thank you!
This is why I’m subscribed
Ayeee
/execute at @a[scores={alive=0}] run scoreboard players add @p[r=120,hasitem={Location=slot.weapon.mainhand.item=bow}] Kills 1
cant get this code to work i get syntax at slot.weapon.mainhand........
/execute at @a[scores={alive=0}] run scoreboard players add @p[r=120,hasitem=[{location=slot.weapon.mainhand,item=bow}]] kills 1
Try this
@@N8GHXTMXRX legend thank youuuu
@@GrimmPeeperr no problem his/her command is just missing some command/words/idk
SICCKKK!!! Like the pinned comment said, what if you could sell your kills? Like 1 kill could be sold for like 200$? (Yes death is worth 200$ 😂)
Idk if you can sell kills 😂
@@gabedala I'm still gonna try 😉
@@onwingdyeah u probably can if u make a system where it tests for 1 kill then removes a kill and adds the money
@@S3BSK1only downside is that friends can use eachother to get infinite money 😅
@@onwingd I'm trying to do something similar where you buy abilitys using kills. Wish me luck lol
Well this is amazing for my game
Glad to hear it!
This worked so well for my pvp realm! tysm!
YESS THANK YOU SO MUCH
Anytime!!
Thank you so much bro,love your vids❤
thx for helping me :)
with my kill counter in my skygen
kills count dosent work, I already changed it to what the comments suggested. I killed people right next to the command blocks and it still dosent work it says 0. it dosent say anything about errors on the command blocks. but it does say no targets matched selector and the tick circle is already fine.
Cmd Block Kill Counters are messy and not reliable, Behavior Packs is what you're looking for when needing an exact counter
Many thanks for your tutorials! They work very well on my own server.😃
I've had another idea: How could you introduce a bounty system in Minecraft, where a bounty is placed on a player and the player who kills him gets the money? Or in general, that a player gets the money of the player he has killed. I've tried around a bit, but haven't found a way to implement something like this yet.
Do you have any ideas on how to do this?
I tried to make it, but when I died death counter was going crazy 47 deaths when I died once
You just took my Kit Gen server to another level!
I typed everything in 5:29 but it won’t work its says Syntax error: Unexpected “”:””: at “,{selector>>”:”
Me to man
Maske type "text"
Everything worked my deaths went up
The scoreboard showed and updated however the kills never increased no matter what I killed or where I killed them
/title @a actionbar {“rawtext”:{“text”:”Money: “},{“score”:{“name”:”*”,”objective”:”(your Money scoreboard name)”}},{“text”:”$”},{“text”:”
Player Name: “},{“selector”:”*”},{“text”:”UA-cam: (your UA-cam channel name)”}]}
❤
this is good but..... I BEEN HERE FOR 4 HOURS TRYING TO GET THE LONGEST COMMAND RIGHT!!!!!!!!!
you can copy and paste it from the description if youre on pc or mobile
You should learn how to do the commands your self it’s really useful for skygens, servers, and more
The radius goes up to 68 blocks in one direction and 80 in the other one no matter what number you put.
If somone knows a way to increase the radius let me know
For. Some reason the thing at the bottom never popped up and in the command blocks it doesn’t say there’s any errors let alone anything at all
YOO TYSM IT WORKED
Thanks sooooo much🎉🎉🎉
No problem!! 🫡
@@gabedala When I did the commands they didn’t pop up the board did I do something wrong?
@@TheJVR ya same
TYSM LEGEND
Hello Gabe I'm a new watcher of your video but boy am I loving your content it helps me a lot, thank you so much, I am so glad I saw your channel
I'm so glad you enjoy them! Thank you!
@@gabedalai’m a new watcher too! i’m a coder on roblox games and wanted to try minecraft! i used your scoreboard tutorials and tested them with my friend! Right now i am working on a sword fighting server / world called sword craft! Everything from coding in minecraft with gui, like scoreboards and more i have all learned from you! Thanks for helping me out! You’re a great minecraft youtuber! Thanks! :D
@@ThatMagicalGuy1 that’s awesome and thanks for watching and I’m glad the videos helped!
@@gabedala Also, lots like impossible to find a bedrock youtuber too! You stand out :D Also, you should do a tutorial on how to use the camera feature, I saw a showcase of it and it was really cool! You should try it! its /camera. you can make security cameras too!
@@gabedalathe commands do t work for me
Sometimes when you kill someone the kills double how do i fix that
best youtuber for tutorials
Thank you
i combined this video with your kit shop tutorial and made a map out of it (1 kill=100 money to purchase kits), huge thanks for the videos
Was confused on how my friend did and found this, THANK THE FREAKING LORD I FOUND IT! Thank you
Haha! Glad you did!
If your actionbar isn’t showing up try making the D from deaths capital or not capital and same with the a from alive and k from kills
Yes, it all depends on how each person setup their objective
Thanks
No problem!!
How do i make it so i can actually see the counter?
5:26
Hello brother, this tutorial is actually works. But when im far from those command blocks. The K/D is not showing. But when im go near to those command blocks, the K/D is showing. Why is it happen?
You need to add a ticking area on/near the blocks
Stand in the middle of the command blocks and type in chat the ticking area circle radius 4
@@itsmehacked42o can it's be permanent? If yes, what is the command? I made those kd command blocks underground (Flat World). Im normally makes all underground, do you/you guys/Gabedala have the answer? Thanks
@@VeoSiaOfficialHD7867 / tickingarea
The rest will basically auto fill. I'm not sure exactly but basically
/tickingarea add circle ~ ~ ~ 4 any_name
Can any_name into what ever if you have a space use _ not spaces.
@@VeoSiaOfficialHD7867i have the same problem, ticking area isn’t doing anything
@@schmingit yeah, i recommend the scoreboard one. This one is not working.
It works thanks but for some reason when you kill someone there’s a chance that you get like 100 or 200 kills same with deaths u know what’s wrong I double checked everything
Hey this was a great tutorial! I tried to add the ticking area command and it for some reason isn’t working throughout the world. I was wondering, could you tell me what you think I’m doing wrong
Not sure exactly, I’ve had people say the same thing which is weird because it’s a command block and adding a ticking area should solve the issue
@@gabedala I copy and pasted all the commands in the description
I'm having the same issue, it disappears if I move more than 10-ish blocks away
@@scarlpirearts2168 yeah it’s super weird
To make a full world ticking area put /tickingarea add ~ ~ ~ then your cords then the other stuff and that will make it work
How do i adjust the commands without using soft symbols, because im on xbox one s typing these out bc copy and pasting wont work
And im getting syntax errors
Syntax error for the repeater commandblock next to the comparator
remove the ss symbol and the letter after it and remove the unnecessary spaces, if you haven’t done that already
question, how will the command block determine who actually made the kill? if for instance, the game is on deathmatch and a player with a bow killed someone a bit far away amongst other players who are nearer than the player who just died. will the bow player get the kill point or the players nearer to the player who died?
THANK YOU FOR HELPING ME NOW MY SERVERS ARE NOT THAT BAD ANYMORE 😂
Every time when i go like 20 blocks away from the commandblocks the K/D bar fades away 😢
Add a ticking area
@@gabedala Hello mr youtuber what should I put for the ticking area if I want it to be throughout the entire world?
The death counter is soo use ful on my mini game world with my friends
It says syntax error:Unexpected "":"": at "@s"},{text"":"
kill Pls help
Means you messed up something in the command
@@gabedalait says “failed to execute ‘titleraw’ as **my minecraft user** idk what to do D:
The video has the same command in both command blocks next to the comparator.. The command block list below has /execute at @e[type=arrow] run /testfor @e[type=player,r=10] listed but it is not in the video.
my hero?
Just a quick question, Does this reset whenever players leave and rejoin??
No
@gabedala Thanks a lot. However, is there a way in which I am able to make it reset upon leaving??
wow thanks but I have a question! Can a kill be defended by another player who is standing nearby or very close?
Is this system suitable for multi-player games?
I mean games with more than 10 or maybe 20 people...
Yes it should work with multiple people
Will it still count a kill if you are fighting someone but they die to something else? (ex. creeper explodes someone mid-fight, or you knock someone off a ledge and they die to fall dmg)
No I don’t believe so?
Actually it might
Yessss finally
In the description u put the repeat as the chain on num 4 chain command block
Everytime i die it increases my death by 4-5 for some reason
Hello, I am one of your new watchers, I have a question, For some reason if I move out of 10 blocks in range of the command blocks, the counter disappears and it doesn’t work. Is this normal or have I done something wrong? Please let me know.
You need to add a ticking area to extend the range for the command block
@@gabedala Thank you!
@@gabedala I did the ticking area and it still wont work
@@gabedalahow do i extend it
Got it working but how do you make the radius huge?
how did you get the whole multiple kills for one thing to work?
How can I change it so that it works anywhere in the server instead of only right next to the command blocks?
Add a ticking area
@@carstenbuentello6267i did too
@@carstenbuentello6267still doesnt work
@@18reasons_CC for the ticking area, add a circle with a radius of 4, and if you want a big area to be constantly running, add multiple ticking areas
Can you also sell the kills/points?
How do you fix the spacing between the "Deaths:" or "Kills:" And the corresponding numbers to them?
Remove the spaces from the command
Does this work with modded weapons such as guns?
Does it work on bedrock???
All my videos are on bedrock
Quick question, does it work on realms when on and offline
Yes
Its says for me failed to execute ‘titleraw’ as AltCookies
Sameee
@gabedala the titleraw command block says failed to execute 'titleraw' as (my minecraft username) ive triple checked everything, any advice?
I don’t think you tripled checked everything, but it is case sensitive. It’s easy to miss something
@@gabedala I've checked again, everything is the same, I'll try rebooting the game to see if it fixes anything, if not, then I'll redo the commands
@@syncvibez8811 if it doesn’t work, send me a dm on discord
is there a way to reset the stuff for everyone ?
Thanks I’m subbing
I appreciate it!
....... It wont show if your far away from the command blocks, how do i fix that
Add a ticking area
@@gabedala I did, I'm not sure if it's to small orr
@@SoloMangoVRdelete the [r=10] meaning radius is 10 from the block i THINK
Yes
How do you make the bow kills count to the scoreboard
This should work with bow kills as long as you get rid of the r=25 in the video
bows arent the only ranged weapon tho. what about crossbows and tridents? could i just copy what i did for bows but just replace the name of the item with tridents and crossbows?
I believe you can
Repeat, Unconditional, Always Active
/execute as @a[r=10] run /titleraw @s actionbar{"rawtext":[{"text":"§6"},{"selector":"@s"},{"text":"
§aKills§f: "},{"score":{"name":"@s","objective":"kills"}},{"text":"
§cDeaths§f: "},{"score":{"name":"@s","objective":"deaths"}}]}
My actionbar display isn’t showing and it says something about line 1 column 54 can someone please help?
Hey, i was wondering if this works with potions on other players, and if not, how i could add it so it works with every splash potion?
Potions would be different, you’d use the commmand /effect
@@gabedala could you give an example if you could?
@@juanmares6452 I couldn’t off the top of my head. I know the /effect gives people an effect whatever you want it to be
@@gabedala lemme ask ai real quick
@gabedala alright so this is what it gave me
Command Blocks (connected)
• Repeat, Unconditional, Always Active
plaintext
/scoreboard players set @a[scores={alive=!2}] alive 0
• Chain, Unconditional, Always Active
plaintext
/scoreboard players set @e[type=player] alive 1
• Chain, Unconditional, Always Active
plaintext
/execute at @a[scores={alive=0}] run scoreboard players add @p[r=5,rm=0.1] kills 1
• Chain, Unconditional, Needs Redstone
plaintext
/execute at @a[scores={alive=0}] run scoreboard players add @p[r=120,hasitem={location=slot.weapon.mainhand ,item=bow}] kills 1
• Repeat, Unconditional, Always Active
plaintext
/execute at @e[type=arrow] run testfor @e[type=player,r=10]
• Chain, Unconditional, Always Active
plaintext
/scoreboard players add @a[scores={alive=0}] deaths 1
• Chain, Unconditional, Always Active
plaintext
/scoreboard players set @a[scores={alive=0}] alive 2
Additional Command Blocks for Potions
To include splash potions, you need to detect when a player is killed by a potion effect. This can be done by checking for potion effects and attributing the kill to the player who threw the potion.
• Repeat, Unconditional, Always Active
plaintext
/execute at @e[type=area_effect_cloud] run testfor @e[type=player,r=10]
• Chain, Unconditional, Always Active
plaintext
/execute at @a[scores={alive=0}] run scoreboard players add @p[r=10,hasitem={location=slot.weapon.mainhand,item=splash_potion}] kills 1
Command Blocks (all separate)
• Repeat, Unconditional, Always Active
plaintext
/execute as @a[r=10] run titleraw @s actionbar {"rawtext":[{"text":"§6"}, {"selector":"@s"},{"text":"
§aKills§f: "},{"score":{"name":"@s","objective":"kills"}},{"text":"
§cDeaths§f: "},{"score":{"name":"@s","objective":"deaths"}}]}
• Repeat, Unconditional, Always Active
plaintext
/scoreboard players add @a deaths 0
• Repeat, Unconditional, Always Active
plaintext
/scoreboard players add @a kills 0
Summary
By adding the additional command blocks to detect area effect clouds (which are created by splash potions) and attributing kills to the player who threw the potion, you can ensure that kills by splash potions are also tracked. This should make your kill/death tracking system more comprehensive and include indirect kills caused by potions
Can anyone help with this? Every time i die the deaths go up rapidly even with instant respawn it goes up by 3
the command isnt showing, it it because everyone is in creative?
It gives me 3 kills when i kill someone and 3 deaths when i die, i followed all steps in the video
im having issues witht he command I did everything and the killboard/deathboard goes off and on in the middle of my screen
That’s weird, add a ticking area
Ty but whenever i go far it disappears can u solve it please??
@@فيصلتركي-ل8ه get rid of the r= and the number in the command
@@gabedala witch command??
Every command block exept the first one says syntax error. Idk what im doing wrong because i checked and have done it correct
Double check again, there might be 1 error and it also is VERY easy to miss something. It also depends what the syntax error says. The command block kinda tells you where the mess up is
Is there a way to add a money counter when you kill Someone?
I will be making a video on this
/scoreboard players add @a[score={alive=0}] deaths 1
Can you make toturial using tpa where if you drop a certain item players can tp on it?
Yeah a lot of people have requested this I will be making a tutorial on this soon!
It disappears when you get to far?
Add a ticking area
@@gabedala thank you, i had to change the radius. but is there a way to add money to this?
@TKProjectz-vz9cm I don’t remember. Look at other comments I got it from them
I have some syntax error and I'm on Nintendo Switch, it's normal?
/scoreboard players set @a[scores={alive=0}] alive 2
Its working pretty good but i have only one issues because when im going to for adventure my death and kills didn't not show up even though im using tikingaarea 10
Remove the r=number in the command. That is the radius so get rid of that and it should fix the issue
i have the problem its only show when i stand next to cb, i have tickingarea
Should work no matter how far, try removing the ticking area and redoing it
@@gabedala is doesnt i have the same problem
I have the same problem, not sure how to fix it
I know why there ist a Radius in the command, increase the Radius IT worked for me
Mine keeps glitching out
The scoreboard disappears when I walk away and I have already done the tickingarea, what do I do? please help
Remove the r= in the command. That means it has a radius. Or you can bump up the radius to like 50 or 100
So does this command only execute to whoever is closest? Cause what if a kill a guy but someone else is closer to him?
No it should be everyone
scoreboard players set @a[scores={alive=0}] alive 2
The kill counter won't stop going upppp
Im trying to make a kitpvp *When you run away from the command blocks the scoreboard disappears* how do i fix this
Add a ticking area
@@gabedala i did but it still dissolves off my screen after around 10 blocks
@@gabedala may i know the exact command? The one in the video is not working
Mine is broken when i died once it said i died 22 times nd when i killed my alt twice it said i had 332 klls
It's not showing the amount of deaths or kills I have
Is there like a way to reset the counter
Wheres yhe description at
How do you use UA-cam and not know where the description of a video is?
When I go a like 50 blocks away the scoreboard disappears off my screen do you know how to fix
Add a ticking area!
It didn't work for me but I might of just done it wrong
GREAT VID,Everyting worked,but my name didnt show, how do i fix this
I only got the problem where I don’t get a kill for bow kills
Will this work on bedrock?
All my videos are bedrock
The scoreboard one does not work
?
Can you make it so all players are on the sideboard or below name.
How to make it only update kills when you collect a specific item? I'm trying to make a "Kill Confirmed"mini game
Not sure tbh. You’d have to make sure a player always spawns in with an item (like a glass block) so you’d need a command to make sure they have that and when it drops have another command where you can add a point when you pick it up
is there a way to make this a bigger radius?
Add a ticking area