use both scrips for it to work. only use the scripts in sprite1
has only maybe a couple of bugs in it but I don't know how to fix them.