The World Cup's new high tech balls

A few years ago, an arrogant  friend of mine claimed his ball has a sensor inside it, so i kicked it as hard as i could, just treating it like you would a normal soccer ball, and he got pretty mad too, so here i was thinking, why would there be a sensor inside a soccer ball if it's just gonna get kicked around, and might damage the sensor at the same time.