Help with looping gif overlay

You could try this:

@overlay VBAT 1 create and overlay VBAT 1 shifts to 24 263 in zone 3 and overlay VBAT 1 scales to 0.131 0.131 and overlay VBAT 1 to layer 3
@overlay VBAT 2 create and overlay VBAT 2 shifts to 24 263 in zone 3 and overlay VBAT 2 scales to 0.131 0.131 and overlay VBAT 2 to layer 3
@overlay VBAT 3 create and overlay VBAT 3 shifts to 24 263 in zone 3 and overlay VBAT 3 scales to 0.131 0.131 and overlay VBAT 3 to layer 3
@overlay VBAT 4 create and overlay VBAT 4 shifts to 24 263 in zone 3 and overlay VBAT 4 scales to 0.131 0.131 and overlay VBAT 4 to layer 3
@overlay VBAT 5 create and overlay VBAT 5 shifts to 24 263 in zone 3 and overlay VBAT 5 scales to 0.131 0.131 and overlay VBAT 5 to layer 3

&overlay VBAT 1 shifts to 135 255 in zone 2 in 2 and overlay VBAT 2 shifts to 135 255 in zone 2 in 2 and overlay VBAT 3 shifts to 135 255 in zone 2 in 2 and overlay VBAT 4 shifts to 135 255 in zone 2 in 2 and overlay VBAT 5 shifts to 135 255 in zone 2 in 2
&overlay VBAT 1 opacity 1 in 0.1 then overlay VBAT 5 opacity 0 then overlay VBAT 2 opacity 1 in 0.1 then overlay VBAT 1 opacity 0 then overlay VBAT 3 opacity 1 in 0.1 then overlay VBAT 2 opacity 0 then overlay VBAT 4 opacity 1 in 0.1 then overlay VBAT 3 opacity 0 then overlay VBAT 5 opacity 1 in 0.1 then overlay VBAT 4 opacity 0 loop infinite times