walk animation from old tutorial

Hi I based my walk animation off this tutorial on the MakeCode site and at this point

the walking animation does not work. I searched around and found this post that said “use a truncate block” which I tried but that did not work, as well. Any easy way to create a simple walking animation? Thanks for any help.