beginscript; label Start: if (GetState() != 0 && UnitDead() != 1) { SetFollowWaypoint(5,0,0); DisableAvoidanceTurn(1); SetFollowRange(0); label Wait1: if (GetState() == 0) { EndFrame(); goto WaitForRespawn; } EndFrame(); goto Wait1; } EndFrame(); goto Start; label WaitForRespawn: if (GetState() != 0 && UnitDead() != 1) { SetFollowWaypoint(7,0,0); EndFrame(); goto CheckEnd; } EndFrame(); goto WaitForRespawn; label CheckEnd: if (GetFollowMode() == 3) { SetFollowWaypoint(15,0,0); EndFrame(); goto Block; } EndFrame(); goto CheckEnd; label Block: if (GetGlobalVar(3) == 2) { //SetFollowWaypoint(126,0,0); EndFrame(); goto End; } EndFrame(); goto Block; label Wait: if (GetFollowMode() == 3) { SetGlobalVar(3, 3); SetVar (1, GetTime()+50); label TimeWait: if (GetVar(1) > GetTime()) { EndFrame(); goto TimeWait; } SetGlobalVar(3, 10); EndFrame(); goto End; } EndFrame(); goto Wait; label End: EndFrame(); goto End; endscript; $