Considering the fact that you're using a community made script, without testing it, or even looking at the code to verify it's created correctly, I think this is your own fault.
Within 10 seconds of looking at the exact script you're referring to, I see loads of errors/ issues with the script.
The script network is only a tool to allow other users to use USER MADE scripts, and is not recommended to just press play and run without testing or investigating.
You have full capabilities to edit this script, and make it work properly, so the fact that you didn't is baffling to me, especially if you're botting on an account you did not want to lose.
I will run through the issues with this script real quick just to point out some key information to help you edit it on your own and make it work properly.
All method numbers should contain at minimum one check per action.
A line that is marked in yellow = a check (these are checked to see if the statement is true or false)
A line that is marked in green = an action (these will only run if the checks are all true)
Looking at method 2, there's a missing check to verify that you have prayer points. - This could be a bannable issue if your player is consistently clicking to enable prayer, while it has no prayer points.
Looking at method 3, this has ZERO checks attached to the actions, therefore, every script loop (or one game tick), it is running this method, which specifically is telling it to click a south position, sleep for EXACTLY 1 second, click on an east position, sleep for EXACTLY 1 second, click on a north position, sleep for EXACTLY 1 second. - This could be a bannable issue due to your player constantly clicking the exact same positions, while sleeping for the exact same amount of time between each click (consistent same clicks for 2 hours straight is pretty recognizable).
Looking at method 4, this also has ZERO checks attached to the actions, therefore, every script loop it is running this method, which specifically is telling it to click a north position, sleep for EXACTLY 500 milliseconds, click on an west position, sleep for EXACTLY 500 milliseconds.
Looking at method 6, this also has ZERO checks attached, and is forcing the script to drink a Ranging potion every script cycle, this is so obvious, as there's no checks applied, and you should have noticed this while running for 2 hours, as it chugged all of your potion in less than 30 seconds.
Looking at method 7, this also has ZERO checks attached to the actions, therefore, every script loop it is running this method, which specifically is telling it to click a north position, sleep for EXACTLY 750 milliseconds, click on an west position, sleep for EXACTLY 750 milliseconds.
Looking at method 8, this is picking up ground items, but is not checking to see if your inventory is full... I'd imagine, if you were using your prayer pots, and did not have the vial smashing on, you're probably trying to loot ground items without your inventory having any empty spaces, and voila, BAN CITY.....
Looking at method 9, it's ALWAYS drinking a prayer potion EXACTLY when your prayer drops below 43... Should have some randomization here with a timer, because guess what, this is also easily trackable and could cause a BAN!
Moral of the story, @kevthehustla do your due diligence when utilizing a FREE OPEN SOURCE SCRIPT! Especially if it's being used on your main account. If you would have taken less time than it took to launch the script, just to stare at the code, I'm sure you would have realized some issues with the script...
Please, don't try to take credit away from Script Factory as a whole, as this is obviously a user issue, rather than a Script issue...