if the movement stops working then turn off the script then on again
I made this by myself. this took 2 hours of my life that I will never get back.