I updated the ladder movement by updating my player script and adding a platform with platform effector 2D. I also attached a script to it so that you can freely go down