The problem is not the scripts, I just realized that the consumption occurs when the character is stopped, the game is logged off and when you enter the script is stuck. and begins to consume more the processor, bringing it to 100%. Some time ago something similar happened with the osbot and an update you did.