Thank you! You were correct. I changed it so that the bot using this script is on the first tab and now it works.
Hello, Thanks for the script, it's amazing. However today I have had a problem. It doesn't seem to recognize nearby enemies. I have tried several areas with different types of enemies. "Rock golem (level-0)" is the only constant enemy in the list. I have refreshed multiple times