It works almost perfectly it's just that if it's a crowded world sometimes it won't realise that the crabs aren't agressive towards it anymore so it'll just stand on a crab for 5 seconds and someone else will come along and pop it up then it will just move over to another crab for 5 seconds and someone will pop it up and just keep repeating that, I timed how long it wasted and it took 8 minutes before the bot realised the crabs weren't agressive. Great script though apart from that I love it
Another option is to find out how long it takes for crabs to not be aggressive anymore (I think it's around 10 minutes?) and then just have the bot run back to the reset point every 10 minutes (or whatever it is) to avoid it aimlessly running around trying to reset crabs then realising 5 mins later they aren't agressive. Just an idea for more xp/h