You can prepare some table with values and then iterate over it with some loop.This is only a little inspiration
Code:
pause = 14 -- seconds
statusGA = '1/1/1'
sequence = {
{grp = '1/2/3', val = 1 },
{grp = '1/2/6', val = 100 }
}
for _, scene in ipairs(sequence) do
grp.write(scene.grp, scene.val)
if grp.getvalue(statusGA) == false then break end
os.sleep(pause)
end