For level 5 in the original Factory Balls, the sequence is: green, pump, blue, pump, green.
For level 5 in Factory Balls 2, it's: yellow, black spray twice, hat on, green, hat off.