[Help] Leave it to cleaver

For some reason every time I put in the code it will say: Error with your code, failed, or to slow. Need Help, Please Reply. I have realized that other people have had this problem. I use python and I have even looked it up on YouTube and it didn’t work so please help.

There are many people here that are willing to help, but we can’t troubleshoot your code if you don’t post it. Please remember to use the </> button or we can’t see the format.

4 Likes

To post your code, either do a screenshot(mac: command-shift-4) or copy and paste it. To format your code, put three of ` above your code. In the final box, It will show your code formated.

Example:


loop:
    enemy = hero.findNearest(hero.findEnemies())
    if enemy:
        hero.attack(enemy)

It should look like this when you are done.