If my player stands still on a sloped object, the character slowly slides down. Not only that, but if I go up or down a slope, I get launched up or down respectively. I tried to set my gravity to 0 when not moving to fix this, but that only fixes the first problem. I have no idea how I should solve this, so any help would be greatly appreciated.
Try to create a Physics 2D Material, apply it to your slope sprite and increase the friction to a very high number. Hope this helps.