Need some help Summit's Gate (I am new to this and am not very good)

All of the sudden the code stops working. I have no clue why.

Also, I don’t have the subscription, and only 28 gems.

I see now hmmm yes. :laughing:

for friend in friends:
hero.command(friend, "attack", friend.findNearest(enemies))
hero.moveXY(93, 56)
hero.wait(0.7)
hero.moveXY(93, 35)
hero.wait(0.9)
hero.moveXY(85, 7)
hero.wait(0.7)
hero.moveXY(57, 29)

Shouldn’t that be like this :wink:

for friend in friends:
    hero.command(friend, "attack", friend.findNearest(enemies))
    hero.moveXY(93, 56)
    hero.wait(0.7)
    hero.moveXY(93, 35)
    hero.wait(0.9)
    hero.moveXY(85, 7)
    hero.wait(0.7)
    hero.moveXY(57, 29)

I don’t think so. Still doesn’t work. So what about it? I need to take on the catapults.

30%20AM
As you see

Does this code that you just posted work? (Mine is not like that :worried:)

I don’t know you try :wink:

Because I don’t know where you place your flags.

No doesn’t work. No indentation on front line.

Exactly what happened when I tested that. ( + i also appreciate you helping!)

Psst! you there???

44%20AM

:laughing:What is a frien?

I don’t have that in my code. :confounded::confounded::confounded::confounded::confounded::confounded:

I’ll check on this later. Bye.

What is that on the bottom :wink:

Ok. I’m back. Sorry for the rude “bye” . I didn’t mean to be disrespectful. Thank you for helping!!!