@overlay GREEN BABY SWADDLE opacity 0.3 in 0.5 then overlay GREEN BABY SWADDLE opacity 0.9 in 0.5 loop INFINITE times
Is this the part where you get stuck at?
Because in order for an overlay animation to infinite loop, you’re gonna have to use a & instead of @.
An @ waits for the command to be finished before it moves on to the next line, whereas & executes the line and moves to the next line automatically.
By putting an @, you’re pretty much making the script wait til the command is over, but because you then tell the animation to loop in that line, it’ll do that over and over again, and because it’s infinite and there is no end, you would be stuck watching that forever.