WASD to move arrow keys to change the direction of your head the rest is in the project itself explained :) I definitely recommend using turbowarp, it's faster, looks better, and has High Quality pen! https://turbowarp.org/753571720
I used a script from BamBozzle which is used to fill up a triangle with the pen extension the rest of all the code is made by me