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.
http://replay.pokemonshowdown.com/gen71v1-489830632 it seems like once you get hit once you lose when the perish song hits 0 its happen to me every time.