Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Multi Hit Attacks like Tail Slap hit multiple times even if the attacker falls asleep due to Effect Spore. In my case, a Cinccino hit me with Tail Slap five times, but it fell asleep due to Vileplumes Effect Spore after the second hit.