testPoints := GetTeleportTestCoords(); teleportColorMean := GetColors(testPoints).Mean(); teleportTimer.Init(Random(16000, 20000)); if WaitUntil(GetColors(testPoints).Mean() <> teleportColorMean, 150, teleportTimer.Length) then begin Result := true; end;