W - Forward S - Backward A - Left D - Right Mouse - Look around Up arrow - Up Down Arrow - Down Space - Jump
Take a look at the math and code. It runs very slowly on scratch, so toggle with the render distance, quality, and point/line mode to see what works best for your computer. On maximum everything, even a very fast computer will be unable to handle it. That's just how scratch is :/