How do I make a single player kill scoreboard in Minecraft?

Ba
7

Hi

I want a kill scoreboard that shows which player has made how many kills. (In 1.15) can someone help me?

Ri

Command

/ scoreboard objectives add Kills playerKillCount

second command

/ scoreboard objectives setdisplay sidebar kills

Then it is already done or activated when the next kill happens

Ba

So repeat commands or just chat?

Ri

Yes exactly, first the 1st and then the 2nd

Ba

Oh, ups…

Mo

/ scoreboard objectives add kills playerkillcount
/ scoreboard objectives set display sidebar kills

Should work like this, but I'm not quite sure.

Ba

Thanks

Ba

Can you count death too?