It's working for me now. At least this time.
On another note, could you update the script so it doesn't go and wait in between the brazier and the tree? It looks a little bit suspicious standing there on the exact same tile evertime while everbody else is at the tree/brazier.
The script is a bit slow for me. It isn't even capable of getting 500 points in a full game. Seems like it reacts very slowly and for example, when brazier lits up it waits around 5 seconds before reacting to it.