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