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.
https://replay.pokemonshowdown.com/gen8oubeta-1010547231
The Max Lightnings that Toxtricity used turns 13-15 just straight up didn't do any damage, but it did set up the electric terrain