When I was a kid we had candy you to slap on the table before eating it break up into pieces what is name of that candy?

The candy you're describing is most likely "slappers" or "candy slaps". They were flat, hard candies that you would indeed slap on the table to break them into smaller pieces.

Here are some other possibilities:

* "Rock candy": Although not traditionally "slapped", rock candy is hard enough to be broken by hand.

* "Lollipops": Some lollipops, especially the harder ones, could be broken by a good slap.

If you can remember any other details about the candy, like its shape, color, or flavor, it might help narrow down the possibilities.