And don't forget to report those cameras to the authorities, since in many countries it is completely illegal to film people without their consent (in private places).
"It may be illegal to use this script in the US."
There's no "may" about it. It is illegal:
https://www.fcc.gov/document/warning-wi-fi-blocking-prohibit...
Two wrongs really don't make a right. Without physically locating the camera you have no idea what is being deauthed. It could be a camera monitoring a locked (unavailable to the guest) room or even a neighbors camera. Not everyone out there is a perv and there are entirely legitimate and expected uses for WiFi cameras which are not creepy.
It would be better to locate the camera and if in a location where privacy is expected, simply call the police because who knows how many other victims there may have been and who knows how creepy the person who put it there is.