Actually I am aiming for a different game but then realized it wasn't good so I restarted and made this ,so due to time constraint i took the same PlayerMove scripts thus this issue.