If you want to use this in one of your projects, then look inside first, it will tell you how it works. Sorry if it takes a while to load the water, Just pretend that the water is poring.
They have a water texture in Unity, so I made one for Scratch. Here's an example of 1.0 version of my water texture. https://scratch.mit.edu/projects/663345848