why is this script not working

  1. use code tags Using code tags properly
  2. What is not working? Not moving? Moving too fast? Something else?
  3. Put debug.logs in the OnMovement script to see when it runs and what values it gives
  4. Did you follow any guide?