Robot Simulator/ Testing Code

Is it a hardware or software problem? Is it crashing? Check using robot simulator to run code on a computer:

https://1drv.ms/v/s!AmCQfr6PGyrigr4v1PqY2eIOurVmog?e=38tgYp

Another video:

Video explaining how to use the robot simulator (skip past the pneumatics stuff)

https://youtu.be/52HhOHwS1X8