Ideally you need to contact the author of the script, as they need to update it to work with the latest versions if they wish. Otherwise you'll have to run the script on an older version for now.

Unfortunately this is the down side of using scripts you haven't written yourself. Sorry!

Often there are contact details for the author in the script's readme file.

Regards,