W or Up Arrow and S or Down Arrow to move forwards and backwards, A and D to sidestep, and Left and Right Arrow Keys to rotate. Space to scope in, space to unscope. G to shoot!
To make this, I used @Griffpatch 's tutorial to make the raycaster, but I already had made a test one that kinda sucked before.(https://scratch.mit.edu/projects/601639024/)