The correct statement is:
Friction causes a transfer of electrons between the slide and you, making each of your like-charged hairs repel each other.
When you slide down the plastic slide, the friction between your body and the slide causes electrons to transfer. This process typically results in you becoming positively charged (if you lose electrons) and the slide becoming negatively charged. Because all of your hair strands become similarly charged, they repel each other, causing your hair to stand up.