Hey!
Sorry to hear that, seems you got pretty unlucky...
I think it would be bold to assume paid scripts will prevent you from getting caught - the primary advantages of paid scripts over free scripts is that they are normally better written, much better supported and more complex; a paid script is much less likely to get stuck. Furthermore, i'd recommend assuming all scripts, bots and macros are equally dangerous as they all break the ingame rules and as such all risk detection.
With that being said, running for 2 hours straight is already a little risky. Botting in 2018/19 is a lot harder than it used to be, to being extra cautious is paramount. I'd suggest keeping sessions short, using generous breaks, and playing legitimately between sessions.
Best
Apa