scoreboard objectives add primarybattery dummy
scoreboard objectives add primary_cd dummy
scoreboard objectives add secondarybattery dummy
scoreboard objectives add secondary_cd dummy
scoreboard objectives add antiairbattery dummy
scoreboard objectives add antiair_cd dummy
scoreboard objectives add torpedobattery dummy
scoreboard objectives add torpedo_cd dummy
scoreboard players add @s primarybattery 0
scoreboard players add @s primary_cd 0
scoreboard players add @s secondarybattery 0
scoreboard players add @s secondary_cd 0
scoreboard players add @s antiairbattery 0
scoreboard players add @s antiair_cd 0
scoreboard players add @s torpedobattery 0
scoreboard players add @s torpedo_cd 0