execute as @s[scores={magGlock=0..4,9mm=0}] at @s run title @s actionbar [{"text":""},{"color":"red","score":{"objective":"magGlock","name":"@s"}},{"text":"/","color":"gray"},{"text":"17","color":"white"},{"text":" "},{"text":"///","color":"dark_gray"},{"text":" "},{"color":"dark_red","score":{"objective":"9mm","name":"@s"}}]
execute as @s[scores={magGlock=5..8,9mm=0}] at @s run title @s actionbar [{"text":""},{"color":"gold","score":{"objective":"magGlock","name":"@s"}},{"text":"/","color":"gray"},{"text":"17","color":"white"},{"text":" "},{"text":"///","color":"dark_gray"},{"text":" "},{"color":"dark_red","score":{"objective":"9mm","name":"@s"}}]
execute as @s[scores={magGlock=9..17,9mm=0}] at @s run title @s actionbar [{"text":""},{"color":"dark_green","score":{"objective":"magGlock","name":"@s"}},{"text":"/","color":"gray"},{"text":"17","color":"white"},{"text":" "},{"text":"///","color":"dark_gray"},{"text":" "},{"color":"dark_red","score":{"objective":"9mm","name":"@s"}}]
execute as @s[scores={magGlock=0..4,9mm=1..}] at @s run title @s actionbar [{"text":""},{"color":"red","score":{"objective":"magGlock","name":"@s"}},{"text":"/","color":"gray"},{"text":"17","color":"white"},{"text":" "},{"text":"///","color":"dark_gray"},{"text":" "},{"color":"green","score":{"objective":"9mm","name":"@s"}}]
execute as @s[scores={magGlock=5..8,9mm=1..}] at @s run title @s actionbar [{"text":""},{"color":"gold","score":{"objective":"magGlock","name":"@s"}},{"text":"/","color":"gray"},{"text":"17","color":"white"},{"text":" "},{"text":"///","color":"dark_gray"},{"text":" "},{"color":"green","score":{"objective":"9mm","name":"@s"}}]
execute as @s[scores={magGlock=9..17,9mm=1..}] at @s run title @s actionbar [{"text":""},{"color":"dark_green","score":{"objective":"magGlock","name":"@s"}},{"text":"/","color":"gray"},{"text":"17","color":"white"},{"text":" "},{"text":"///","color":"dark_gray"},{"text":" "},{"color":"green","score":{"objective":"9mm","name":"@s"}}]