execute as @s[tag=!filler] at @s run scoreboard players add @e[c=1,family=summon] atkExchange 1
execute as @s[tag=!filler] at @s run scoreboard players set @e[c=1,family=summon,scores={atkExchange=3..}] atkExchange 0
scoreboard players operation @s atkExchange = @e[c=1,family=summon] atkExchange
tag @s add filler
scoreboard players add @s projectileOutput 0
scoreboard players add @s petID 0
scoreboard players add @s hitboxRange 0
scoreboard players add @s applyBurn 0
scoreboard players add @s applyBleed 0
scoreboard players add @s applySad 0
scoreboard players add @s applyFragile 0
scoreboard players add @s applyShock 0

scoreboard players operation @s petID = @e[c=1,family=summon] petID
scoreboard players operation @s stunTime += @e[c=1,family=summon] stunTime
scoreboard players operation @s projectileOutput = @e[c=1,family=summon] projectileOutput