What's up guys! We're back with part 3 of the scoreboard series and today's video is going to be about how to use the /titleraw command to make a custom stats bar to display info such as kills, killstreaks, deaths, etc. Hope you enjoy the video and thanks for 60 subs!
Command used in video:
/execute as @a run titleraw @s actionbar {"rawtext":[{"text":"§b"},{"selector":"@s"},{"text":" \n\n§cKills: "},{"score":{"name":"*","objective":"kills"}}, {"text":"§g\nDeaths: "},{"score":{"name":"*","objective":"deaths"}},{"text":"§s\nKillstreak: "}, {"score":{"name":"*","objective":"killstreak"}},{"text":"§q\nPlayers Online: "}, {"score":{"name":"alivePlayers", "objective":"alivePlayers"}}]}
Link to formatting codes:
https://static.wikia.nocookie.net/min...