You will have to do this with events. When such slope is detected in front, change Player position directly, or apply VectorY+VectorX, or temporarily disable Platform behavior and move the character up the slope with MoveTo.
Look for the examples of ladder implementation in platformer games, it should be pretty similar.
Here is a simple example, but you can try other methods depending on your game.