Not to necro this thread, but I am finding myself having this same error. I have to click the refresh option each time it removes the slime effect so that I can run the script again.
You lose an effect: Coated in Slime (0)
Slime removal failed! You won't survive another turn!
Any suggestions?