this is called make rainbows as its in a rainbow colored order, all you have to do is: If you want red click 1 if you want orange click 2 if you want yellow click 3 if you want green click 4 if you want blue click 5 if you want indigo click 6 if you want violet click 7. to make that particular bottle spin click on space and hold. in the beginning your bottle is red though the spilled colour before clicking on any number is cyan.
this was done with the help of my Toppr Coding class teacher.