First you would create an explosion, then probably use instance.new to create the different parts, then you would put random velocity values into the part which will make the part slightly shoot out of the wall.
If you don’t know what velocity is then you might want to check out some tutorials or this?