https://replay.pokemonshowdown.com/gen8ou-1280918934-57szzzqhwowj8xaanx5nteko389j140pw
In that replay on turn twenty eight, Regieleki used rapid spin and died due to barbs. How come the spin didn’t remove the spikes I set down?
Pleaselog inorregisterto add a comment.
If you die to rocky helmet/iron barbs, you don’t remove hazards.
Source
This is why. If a Pokemon faints due to Iron Barbs, Rough Skin, Rocky Helmet, etc. and uses Rapid Spin, hazards aren’t removed, only the target takes damage.
Bulbapedia says the same thing too:
Rapid Spin inflicts damage and then removes the effects of any binding moves and Leech Seed from the user, as well as entry hazards from the user’s side of the field(unless the user has fainted as a result of the move, such as from Rough Skin).
Hope this helps!