What kind of scripts do you mean? The automated dice betting directly at the casino or a private developed script? The betting automaton at a casino are definitely not a scam, they are save to use. As for privately sold scripts online it's hard to say. I would expect that there are atleast some scammers trying to make easy money from unexperienced gamblers. Like in every area of the Internet we should be cautious.
Even with a bought cript you are in safe. Most of casinos are centralized, and has 2FA, so i doubt that script will be able to bypass such protection. The only way i see is to launch .exe file which will dump all needed information from your system or ask you to insert private key or something like that. But again, there is no big sense because we are talking about centralized casino, which has all sensitive information in cold storage.
I think that people who selling such scripts just want to get some easy money, like 50-100 dollars from person.