What would probably happen if Israel does attack Iran?
What would Iran's response be?
Depends on the scale of the attack.
When Israel went and bombed Syria, destroying a garment factory they claimed was a nuclear site, Syria did not respond.
When Israel went and bombed Iraq, Israel was condemned by the UNSC but otherwise got away with it, though Iraq is still seeking compensation through the UN.
However Iran is a bigger and better armed country that has taken precautions by placing some of the nuclear works deep in mountains, largely due to 8 years of threats from Israel and its history of recklessly bombing other countries.
Iran is a NPT signatory, while Israel is not, so if this happens without war it will probably mark the end of the NPT, which could lead to other countries moving to secret nuclear developments. If war is started, the entire middle east will be alarmed, US forces will probably come under attack, oil shipments will be in serious danger, raising oil prices further and quite probably bringing on a full on depression. Israel is nuclear armed but doesn't have the manpower to take over Iran, while Iran has a large army but not the most recent weapons (unless Russia has been selling them weapons clandestinely). Iran has said it is preparing for a possible Israeli attack, so who knows how successfully it would go for either. Most likely it will involve countless of thousands of needless death, embolden the Iranian hardliners and further isolate Israel. It may set the Iranian nuclear industry back a few years but most likely they will continue. They've overcome Israeli/American assassinations of scientists and Israeli/American Stuxnet virus in their centerfuges.