Nothing, they are unguided and not targetable. They have almost 0 military value as far as targeting goes. They're "lucky" if they hit something outside of Gaza. You can see them being used for distraction/confusion (like on the morning of oct 7 in a mass firing), or as reprisals for IDF massacres (for deterrence, not working very well at that either), or for "we targeted grouping of soldiers" in Gaza envelope (usually unsuccessfully). Only thing they ever target successfully is the hearts and minds of Palestinians horrendously victimized by Israel, some of whom can feel that something is being done, I guess.
They're certainly not used to target any specific buildings in Israel. Only thing with targeting capability that Hamas ever repeatedly showed successfully used in videos is their home made Yassin-105 RPG shell and other RPGs. And these are used as short range defensive weapons, pretty much.