Role Play replaces the user's Ability with the target's Ability.
Role Play bypasses accuracy checks to always hit, unless the target is in the semi-invulnerable turn of a move such as Dig or Fly. It is not affected by Protect, Detect, or Spiky Shield, but will fail if the target is protected by Crafty Shield. Role Play fails if the target's Ability is Trace.
Pokémon that learn Role Play
By leveling up