--// Local auxiliary functions - - - - - - - - - - - - - - - - - - - - - - - -

--// 1.	rename:					" -> '
--// 2. comment root composition routine "createComposition018_back002 = function()"
--// 3. add auxiliaru routines for managing animations: 
--		auxPlayAncientTeleportLogicAnimation(), 
--		auxGetAncientTeleportLogicAnimation(), 
--		auxCreateAncientTeleportLogicAnimations()
--// 4. replace CreateCompositionElement() with auxCreateCompositionElement() for some corrections ...

------------------------------------------------------------------------------
--
function auxPlayAncientTeleportLogicAnimation(compositionName)
    local composition = auxGetAncientTeleportLogicAnimation(compositionName);
    composition:SetVisible(true);
    composition:Play();
end

------------------------------------------------------------------------------
--
function auxHideAncientTeleportLogicAnimation(compositionName)
    local composition = auxGetAncientTeleportLogicAnimation(compositionName);
    composition:Stop();
    composition:SetVisible(false);
end

------------------------------------------------------------------------------
--
function auxGetAncientTeleportLogicAnimation(compositionName)
    assert(ancientTeleportLogicCompositions ~= nil and compositionName ~= nil);
	assert(ancientTeleportLogicCompositions[compositionName] ~= nil and 'Composition with specified name not exists !');

    return ancientTeleportLogicCompositions[compositionName];
end

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--

function CreateComposition(parent, compositionRoutine, name, x,y,z, hotSpotX,hotSpotY, duration, isCyclic)
    assert(parent ~= nil and compositionRoutine ~= nil and name ~= nil and z ~= nil and duration ~= nil);

    local element = compositionRoutine();
    element:SetName(name);
    element:SetHotSpot(hotSpotX,hotSpotY);
    element:SetXY(x, y);
    assert(z - parent:GetZ());
    element:SetZ(z - parent:GetZ());
    element:AttachTo(parent);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0);
    element:SetOpacity(1);
    
    if (isCyclic == true) then
        element:SetDuration(duration);
        element:SetCyclic(true);
	else
		element:SetDestroysOnEnd(false);
    end
	element:Stop();
    element:SetVisible(false);
    element:AssignClippingRect(parent);
	element:SetConsiderParentOpacity(true);

	return element;
end

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function auxCreateCompositionElement(resourceName)
	local element = CreateCompositionElement(resourceName);
    local texName = string.sub(resourceName, string.len('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/') + 1);

    --// set up bugs animation
	if (texName == 'BUG_[00-06].png') then
		local anim = element:GetTexture();
		anim:Stop();
		anim:SetTextureRect(0,0, 22,30);
		anim:SetFrames(30);
		anim:SetFrame(0);
		anim:SetSpeed(1.0);
		anim:SetMode(HGEANIM_FWD + HGEANIM_LOOP);
		anim:Play();
    end
    --// set up blend mode for sprites with additive blending
	if (texName == 'EF_DLamp5_01.jpg' or
        texName == 'EF_Dust_02.jpg' or
        texName == 'EF_Light02.jpg' or
        texName == 'EF_Light03.jpg' or
        texName == 'EF_Lightning01.jpg' or
        texName == 'EF_Lightning02.jpg' or
        texName == 'Lazer5_01.jpg') then
--		element:GetTexture():SetColor('0xBBFFFFFF');
        element:GetTexture():SetBlendMode(0);
    end

	return element;
end

------------------------------------------------------------------------------
--
function auxCreateAncientTeleportLogicAnimations(parent)
    assert(parent ~= nil);
    ancientTeleportLogicCompositions = {};
    local CreateAndRegisterComposition = function (parent, compositionRoutine, name, x,y,z, hotSpotX,hotSpotY, duration, isCyclic)
        local element = CreateComposition(parent, compositionRoutine, name, x,y,z, hotSpotX,hotSpotY, duration, isCyclic);
        ancientTeleportLogicCompositions[element:GetName()] = element;
    end
    
    CreateAndRegisterComposition(parent, createCompositionEnv,  			'Env', 		0,0,108.0, 512,384, 10, true);
    CreateAndRegisterComposition(parent, createCompositionBUG_1,			'Bug1', 	0,0,106.0, 512,384, 10, false);
    CreateAndRegisterComposition(parent, createCompositionBUG_2,			'Bug2', 	0,0,106.0, 512,384, 10, false);
    CreateAndRegisterComposition(parent, createCompositionCherepahi_eyes,	'EyesGlow', 0,0,105.0, 512,384, 10, true);
    CreateAndRegisterComposition(parent, createCompositionEF_lightning1,  	'Lightning',0,0,100.0, 512,384, 10, true);
    CreateAndRegisterComposition(parent, createCompositionStonesFall,  		'StoneFall',0,0,101.0, 512,384, 10, false);
end

------------------------------------------------------------------------------
--
--createComposition018_back002 = function()
--
--    local composition018_back002 = CreateCompositionSequence();
--    local compositionDuration = 10;
--    composition018_back002:SetDuration(compositionDuration);
--
--
--    -- Layer Layer_1
--    local element = createCompositionEnv();
--    element:SetName('Layer_1');
--    composition018_back002:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(composition018_back002);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_2
--    local element = createCompositionBUG_1();
--    element:SetName('Layer_2');
--    composition018_back002:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(composition018_back002);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_3
--    local element = createCompositionBUG_2();
--    element:SetName('Layer_3');
--    composition018_back002:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(composition018_back002);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_4
--    local element = createCompositionCherepahi_eyes();
--    element:SetName('Layer_4');
--    composition018_back002:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(composition018_back002);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_5
--    local element = createCompositionEF_lightning1();
--    element:SetName('Layer_5');
--    composition018_back002:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(composition018_back002);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_6
--    local element = createCompositionStonesFall();
--    element:SetName('Layer_6');
--    composition018_back002:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(composition018_back002);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer BG
--    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/018_back002.jpg');
--    element:SetName('BG');
--    composition018_back002:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(composition018_back002);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--    composition018_back002:Play();
--
--    return composition018_back002;
--end

createCompositionBUG_1 = function()

    local compositionBUG_1 = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionBUG_1:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/BUG_[00-06].png');
    element:SetName('Layer_1');
    compositionBUG_1:AddElement(element);
    element:SetHotSpot(11, 15);
    element:SetParentElement(compositionBUG_1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 8.36);

    effector:SetKey(_TRACK_X, 0, 768.596633911133);
    effector:SetKey(_TRACK_Y, 0, 504.18098449707);
    effector:SetKey(_TRACK_X, 0.12, 768.096633911133);
    effector:SetKey(_TRACK_Y, 0.12, 507.93098449707);
    effector:SetKey(_TRACK_X, 0.24, 766.596633911133);
    effector:SetKey(_TRACK_Y, 0.24, 508.93098449707);
    effector:SetKey(_TRACK_X, 0.32, 765.346633911133);
    effector:SetKey(_TRACK_Y, 0.32, 515.43098449707);
    effector:SetKey(_TRACK_X, 0.44, 765.096633911133);
    effector:SetKey(_TRACK_Y, 0.44, 521.43098449707);
    effector:SetKey(_TRACK_X, 0.56, 765.096633911133);
    effector:SetKey(_TRACK_Y, 0.56, 526.43098449707);
    effector:SetKey(_TRACK_X, 0.64, 765.096633911133);
    effector:SetKey(_TRACK_Y, 0.64, 527.93098449707);
    effector:SetKey(_TRACK_X, 0.68, 764.346633911133);
    effector:SetKey(_TRACK_Y, 0.68, 528.93098449707);
    effector:SetKey(_TRACK_X, 0.76, 760.846633911133);
    effector:SetKey(_TRACK_Y, 0.76, 532.43098449707);
    effector:SetKey(_TRACK_X, 0.84, 756.346633911133);
    effector:SetKey(_TRACK_Y, 0.84, 535.68098449707);
    effector:SetKey(_TRACK_X, 0.92, 754.596633911133);
    effector:SetKey(_TRACK_Y, 0.92, 537.18098449707);
    effector:SetKey(_TRACK_X, 1, 753.846633911133);
    effector:SetKey(_TRACK_Y, 1, 543.18098449707);
    effector:SetKey(_TRACK_X, 1.08, 754.596633911133);
    effector:SetKey(_TRACK_Y, 1.08, 551.43098449707);
    effector:SetKey(_TRACK_X, 1.12, 753.846633911133);
    effector:SetKey(_TRACK_Y, 1.12, 552.93098449707);
    effector:SetKey(_TRACK_X, 1.2, 750.346633911133);
    effector:SetKey(_TRACK_Y, 1.2, 555.68098449707);
    effector:SetKey(_TRACK_X, 1.32, 744.846633911133);
    effector:SetKey(_TRACK_Y, 1.32, 559.18098449707);
    effector:SetKey(_TRACK_X, 1.44, 739.346633911133);
    effector:SetKey(_TRACK_Y, 1.44, 563.68098449707);
    effector:SetKey(_TRACK_X, 1.56, 732.846633911133);
    effector:SetKey(_TRACK_Y, 1.56, 568.43098449707);
    effector:SetKey(_TRACK_X, 1.64, 731.096633911133);
    effector:SetKey(_TRACK_Y, 1.64, 575.18098449707);
    effector:SetKey(_TRACK_X, 1.68, 728.846633911133);
    effector:SetKey(_TRACK_Y, 1.68, 579.68098449707);
    effector:SetKey(_TRACK_X, 1.72, 727.596633911133);
    effector:SetKey(_TRACK_Y, 1.72, 580.43098449707);
    effector:SetKey(_TRACK_X, 2.4, 728.096633911133);
    effector:SetKey(_TRACK_Y, 2.4, 583.43098449707);
    effector:SetKey(_TRACK_X, 2.44, 729.596633911133);
    effector:SetKey(_TRACK_Y, 2.44, 585.68098449707);
    effector:SetKey(_TRACK_X, 2.52, 734.096633911133);
    effector:SetKey(_TRACK_Y, 2.52, 588.93098449707);
    effector:SetKey(_TRACK_X, 2.6, 738.096633911133);
    effector:SetKey(_TRACK_Y, 2.6, 593.43098449707);
    effector:SetKey(_TRACK_X, 2.68, 740.096633911133);
    effector:SetKey(_TRACK_Y, 2.68, 599.43098449707);
    effector:SetKey(_TRACK_X, 2.72, 740.346633911133);
    effector:SetKey(_TRACK_Y, 2.72, 605.43098449707);
    effector:SetKey(_TRACK_X, 2.76, 738.096633911133);
    effector:SetKey(_TRACK_Y, 2.76, 607.93098449707);
    effector:SetKey(_TRACK_X, 2.84, 735.596633911133);
    effector:SetKey(_TRACK_Y, 2.84, 612.93098449707);
    effector:SetKey(_TRACK_X, 2.92, 735.096633911133);
    effector:SetKey(_TRACK_Y, 2.92, 622.93098449707);
    effector:SetKey(_TRACK_X, 3, 733.096633911133);
    effector:SetKey(_TRACK_Y, 3, 629.43098449707);
    effector:SetKey(_TRACK_X, 3.08, 730.596633911133);
    effector:SetKey(_TRACK_Y, 3.08, 634.43098449707);
    effector:SetKey(_TRACK_X, 3.16, 722.846633911133);
    effector:SetKey(_TRACK_Y, 3.16, 642.43098449707);
    effector:SetKey(_TRACK_X, 3.24, 721.096633911133);
    effector:SetKey(_TRACK_Y, 3.24, 652.68098449707);
    effector:SetKey(_TRACK_X, 4.04, 721.096633911133);
    effector:SetKey(_TRACK_Y, 4.04, 652.68098449707);
    effector:SetKey(_TRACK_X, 4.08, 722.596633911133);
    effector:SetKey(_TRACK_Y, 4.08, 653.43098449707);
    effector:SetKey(_TRACK_X, 4.12, 727.346633911133);
    effector:SetKey(_TRACK_Y, 4.12, 659.68098449707);
    effector:SetKey(_TRACK_X, 4.2, 738.846633911133);
    effector:SetKey(_TRACK_Y, 4.2, 667.18098449707);
    effector:SetKey(_TRACK_X, 4.32, 753.346633911133);
    effector:SetKey(_TRACK_Y, 4.32, 677.43098449707);
    effector:SetKey(_TRACK_X, 4.52, 773.096633911133);
    effector:SetKey(_TRACK_Y, 4.52, 698.68098449707);
    effector:SetKey(_TRACK_X, 4.72, 789.346633911133);
    effector:SetKey(_TRACK_Y, 4.72, 719.93098449707);
    effector:SetKey(_TRACK_X, 4.88, 814.096633911133);
    effector:SetKey(_TRACK_Y, 4.88, 736.43098449707);
    effector:SetKey(_TRACK_X, 5.04, 836.596633911133);
    effector:SetKey(_TRACK_Y, 5.04, 745.43098449707);
    effector:SetKey(_TRACK_X, 5.16, 858.846633911133);
    effector:SetKey(_TRACK_Y, 5.16, 746.43098449707);
    effector:SetKey(_TRACK_X, 5.32, 885.596633911133);
    effector:SetKey(_TRACK_Y, 5.32, 741.68098449707);
    effector:SetKey(_TRACK_X, 5.44, 905.096633911133);
    effector:SetKey(_TRACK_Y, 5.44, 731.68098449707);
    effector:SetKey(_TRACK_X, 5.6, 914.596633911133);
    effector:SetKey(_TRACK_Y, 5.6, 712.43098449707);
    effector:SetKey(_TRACK_X, 5.72, 913.596633911133);
    effector:SetKey(_TRACK_Y, 5.72, 692.68098449707);
    effector:SetKey(_TRACK_X, 5.84, 901.346633911133);
    effector:SetKey(_TRACK_Y, 5.84, 675.43098449707);
    effector:SetKey(_TRACK_X, 5.96, 882.846633911133);
    effector:SetKey(_TRACK_Y, 5.96, 668.68098449707);
    effector:SetKey(_TRACK_X, 6.08, 862.096633911133);
    effector:SetKey(_TRACK_Y, 6.08, 668.18098449707);
    effector:SetKey(_TRACK_X, 6.2, 842.346633911133);
    effector:SetKey(_TRACK_Y, 6.2, 672.68098449707);
    effector:SetKey(_TRACK_X, 6.32, 828.346633911133);
    effector:SetKey(_TRACK_Y, 6.32, 684.68098449707);
    effector:SetKey(_TRACK_X, 6.48, 820.846633911133);
    effector:SetKey(_TRACK_Y, 6.48, 699.18098449707);
    effector:SetKey(_TRACK_X, 6.6, 819.346633911133);
    effector:SetKey(_TRACK_Y, 6.6, 715.43098449707);
    effector:SetKey(_TRACK_X, 6.72, 814.846633911133);
    effector:SetKey(_TRACK_Y, 6.72, 733.18098449707);
    effector:SetKey(_TRACK_X, 6.84, 800.096633911133);
    effector:SetKey(_TRACK_Y, 6.84, 745.68098449707);
    effector:SetKey(_TRACK_X, 6.96, 776.096633911133);
    effector:SetKey(_TRACK_Y, 6.96, 748.68098449707);
    effector:SetKey(_TRACK_X, 7.08, 754.096633911133);
    effector:SetKey(_TRACK_Y, 7.08, 742.18098449707);
    effector:SetKey(_TRACK_X, 7.2, 736.596633911133);
    effector:SetKey(_TRACK_Y, 7.2, 729.68098449707);
    effector:SetKey(_TRACK_X, 7.32, 724.096633911133);
    effector:SetKey(_TRACK_Y, 7.32, 721.68098449707);
    effector:SetKey(_TRACK_X, 7.44, 702.096633911133);
    effector:SetKey(_TRACK_Y, 7.44, 720.68098449707);
    effector:SetKey(_TRACK_X, 7.56, 684.096633911133);
    effector:SetKey(_TRACK_Y, 7.56, 725.68098449707);
    effector:SetKey(_TRACK_X, 7.68, 668.596633911133);
    effector:SetKey(_TRACK_Y, 7.68, 736.68098449707);
    effector:SetKey(_TRACK_X, 7.8, 651.596633911133);
    effector:SetKey(_TRACK_Y, 7.8, 745.18098449707);
    effector:SetKey(_TRACK_X, 7.92, 635.596633911133);
    effector:SetKey(_TRACK_Y, 7.92, 755.68098449707);
    effector:SetKey(_TRACK_X, 8.04, 617.096633911133);
    effector:SetKey(_TRACK_Y, 8.04, 771.68098449707);
    effector:SetKey(_TRACK_X, 8.16, 600.596633911133);
    effector:SetKey(_TRACK_Y, 8.16, 795.68098449707);
    effector:SetKey(_TRACK_SX, 0, 0.54817725834199);
    effector:SetKey(_TRACK_SY, 0, 0.39475036766418);
    effector:SetKey(_TRACK_SX, 0.12, 0.63967315451152);
    effector:SetKey(_TRACK_SY, 0.12, 0.57097054079465);
    effector:SetKey(_TRACK_SX, 0.64, 0.63967315451152);
    effector:SetKey(_TRACK_SY, 0.64, 0.57097054079465);
    effector:SetKey(_TRACK_SX, 0.68, 0.58311577034085);
    effector:SetKey(_TRACK_SY, 0.68, 0.39161425059379);
    effector:SetKey(_TRACK_SX, 0.76, 0.5760385699513);
    effector:SetKey(_TRACK_SY, 0.76, 0.518437653646);
    effector:SetKey(_TRACK_SX, 1.08, 0.5760385699513);
    effector:SetKey(_TRACK_SY, 1.08, 0.518437653646);
    effector:SetKey(_TRACK_SX, 1.12, 0.6999526440143);
    effector:SetKey(_TRACK_SY, 1.12, 0.41945209752475);
    effector:SetKey(_TRACK_SX, 1.2, 0.68245694199904);
    effector:SetKey(_TRACK_SY, 1.2, 0.59849848443459);
    effector:SetKey(_TRACK_SX, 2.4, 0.68245694199904);
    effector:SetKey(_TRACK_SY, 2.4, 0.59849848443459);
    effector:SetKey(_TRACK_SX, 2.44, 0.78891733524886);
    effector:SetKey(_TRACK_SY, 2.44, 0.68519356554485);
    effector:SetKey(_TRACK_SX, 2.72, 0.84703621396);
    effector:SetKey(_TRACK_SY, 2.72, 0.83745482797696);
    effector:SetKey(_TRACK_SX, 2.76, 0.89064281137609);
    effector:SetKey(_TRACK_SY, 2.76, 0.9144083268961);
    effector:SetKey(_TRACK_SX, 3, 0.94997436238685);
    effector:SetKey(_TRACK_SY, 3, 0.75266021251776);
    effector:SetKey(_TRACK_SX, 3.08, 0.98168049309882);
    effector:SetKey(_TRACK_SY, 3.08, 0.94117697549361);
    effector:SetKey(_TRACK_SX, 4.04, 1.21811562322896);
    effector:SetKey(_TRACK_SY, 4.04, 0.80703923636647);
    effector:SetKey(_TRACK_SX, 4.12, 1.14811717257455);
    effector:SetKey(_TRACK_SY, 4.12, 1.10308447499376);
    effector:SetKey(_TRACK_SX, 4.88, 1.22);
    effector:SetKey(_TRACK_SY, 4.88, 1.17214783616087);
    effector:SetKey(_TRACK_SX, 5.28, 1.14943414269584);
    effector:SetKey(_TRACK_SY, 5.28, 1.22579174991875);
    effector:SetKey(_TRACK_SX, 5.68, 1.14114697427534);
    effector:SetKey(_TRACK_SY, 5.68, 1.05593311505384);
    effector:SetKey(_TRACK_SX, 5.84, 1.00726382858327);
    effector:SetKey(_TRACK_SY, 5.84, 1.01757157764687);
    effector:SetKey(_TRACK_SX, 6.4, 1.21666747518263);
    effector:SetKey(_TRACK_SY, 6.4, 1.0823503000691);
    effector:SetKey(_TRACK_SX, 6.76, 1.1934942905919);
    effector:SetKey(_TRACK_SY, 6.76, 1.22274693544231);
    effector:SetKey(_TRACK_SX, 7.16, 1.1881793822562);
    effector:SetKey(_TRACK_SY, 7.16, 1.14831331216551);
    effector:SetKey(_TRACK_SX, 7.52, 1.14898462994606);
    effector:SetKey(_TRACK_SY, 7.52, 1.03161586216284);
    effector:SetKey(_TRACK_SX, 8.24, 1.45440076953623);
    effector:SetKey(_TRACK_SY, 8.24, 1.28073197773074);
    effector:SetKey(_TRACK_A, 0, -2.72000244626033);
    effector:SetKey(_TRACK_A, 0.12, -2.78471127322815);
    effector:SetKey(_TRACK_A, 0.32, -3.00500112463476);
    effector:SetKey(_TRACK_A, 0.64, -3.00500112463476);
    effector:SetKey(_TRACK_A, 0.68, -2.77760067126656);
    effector:SetKey(_TRACK_A, 0.76, -2.24478192980564);
    effector:SetKey(_TRACK_A, 0.88, -2.24478192980564);
    effector:SetKey(_TRACK_A, 0.92, -2.6706268525736);
    effector:SetKey(_TRACK_A, 1, -3.03181615612175);
    effector:SetKey(_TRACK_A, 1.08, -3.03181615612175);
    effector:SetKey(_TRACK_A, 1.12, -2.83262241769878);
    effector:SetKey(_TRACK_A, 1.2, -2.64272007953942);
    effector:SetKey(_TRACK_A, 1.28, -2.31612269082615);
    effector:SetKey(_TRACK_A, 1.4, -2.36040602638996);
    effector:SetKey(_TRACK_A, 1.56, -2.59853002617421);
    effector:SetKey(_TRACK_A, 1.64, -3.19559754402558);
    effector:SetKey(_TRACK_A, 2.4, -3.87469688420362);
    effector:SetKey(_TRACK_A, 2.44, -3.99132742099045);
    effector:SetKey(_TRACK_A, 2.64, -3.56603026633349);
    effector:SetKey(_TRACK_A, 2.72, -3.09277380233485);
    effector:SetKey(_TRACK_A, 2.76, -2.60813830231779);
    effector:SetKey(_TRACK_A, 2.84, -3.25680562128644);
    effector:SetKey(_TRACK_A, 3, -2.97848428506013);
    effector:SetKey(_TRACK_A, 3.08, -2.34103679150256);
    effector:SetKey(_TRACK_A, 3.16, -2.60393337062798);
    effector:SetKey(_TRACK_A, 4.04, -3.95270029595682);
    effector:SetKey(_TRACK_A, 4.12, -3.81434640106117);
    effector:SetKey(_TRACK_A, 4.2, -4.18129623719096);
    effector:SetKey(_TRACK_A, 4.32, -4.13201655634231);
    effector:SetKey(_TRACK_A, 4.36, -3.87598316948922);
    effector:SetKey(_TRACK_A, 4.52, -3.96179610277585);
    effector:SetKey(_TRACK_A, 4.68, -3.69233241679692);
    effector:SetKey(_TRACK_A, 4.88, -4.15894334843328);
    effector:SetKey(_TRACK_A, 5, -4.32043943469803);
    effector:SetKey(_TRACK_A, 5.16, -4.66514681668903);
    effector:SetKey(_TRACK_A, 5.28, -5.05212391363487);
    effector:SetKey(_TRACK_A, 5.36, -5.14964955678873);
    effector:SetKey(_TRACK_A, 5.56, -5.83609334417008);
    effector:SetKey(_TRACK_A, 5.68, -6.44481779295613);
    effector:SetKey(_TRACK_A, 5.84, -7.15974784099595);
    effector:SetKey(_TRACK_A, 5.96, -7.70909552701016);
    effector:SetKey(_TRACK_A, 6.12, -8.15245851154033);
    effector:SetKey(_TRACK_A, 6.28, -8.70112177111395);
    effector:SetKey(_TRACK_A, 6.44, -9.13374308410758);
    effector:SetKey(_TRACK_A, 6.64, -9.35550014189692);
    effector:SetKey(_TRACK_A, 6.76, -8.75983424436614);
    effector:SetKey(_TRACK_A, 6.92, -8.03091310425381);
    effector:SetKey(_TRACK_A, 7.08, -7.28859928661463);
    effector:SetKey(_TRACK_A, 7.28, -7.41214700001811);
    effector:SetKey(_TRACK_A, 7.44, -7.95699175322659);
    effector:SetKey(_TRACK_A, 7.56, -8.32223766553308);
    effector:SetKey(_TRACK_A, 7.72, -8.47783732591321);
    effector:SetKey(_TRACK_A, 7.88, -8.36857191143258);
    effector:SetKey(_TRACK_A, 8.04, -8.73320655964553);
    effector:SetKey(_TRACK_A, 8.16, -8.79214774961292);
    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.12, 1);
    effector:SetKey(_TRACK_O, 1.64, 1);
    effector:SetKey(_TRACK_O, 1.72, 0);
    effector:SetKey(_TRACK_O, 2.4, 0);
    effector:SetKey(_TRACK_O, 2.44, 1);
    effector:SetKey(_TRACK_O, 3.16, 1);
    effector:SetKey(_TRACK_O, 3.2, 0);
    effector:SetKey(_TRACK_O, 4.04, 0);
    effector:SetKey(_TRACK_O, 4.08, 1);

    effector:Play();

    compositionBUG_1:Play();

    return compositionBUG_1;
end

createCompositionBUG_2 = function()

    local compositionBUG_2 = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionBUG_2:SetDuration(compositionDuration);


    -- Layer  
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/BUG_[00-06].png');
    element:SetName(' ');
    compositionBUG_2:AddElement(element);
    element:SetHotSpot(11, 15);
    element:SetParentElement(compositionBUG_2);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.24);

    effector:SetKey(_TRACK_X, 0, 268.141098022461);
    effector:SetKey(_TRACK_Y, 0, 787.374221801758);
    effector:SetKey(_TRACK_X, 0.24, 274.141098022461);
    effector:SetKey(_TRACK_Y, 0.24, 752.374221801758);
    effector:SetKey(_TRACK_X, 0.44, 288.641098022461);
    effector:SetKey(_TRACK_Y, 0.44, 735.374221801758);
    effector:SetKey(_TRACK_X, 0.68, 295.641098022461);
    effector:SetKey(_TRACK_Y, 0.68, 718.874221801758);
    effector:SetKey(_TRACK_X, 0.88, 293.141098022461);
    effector:SetKey(_TRACK_Y, 0.88, 705.374221801758);
    effector:SetKey(_TRACK_X, 1.08, 284.141098022461);
    effector:SetKey(_TRACK_Y, 1.08, 689.874221801758);
    effector:SetKey(_TRACK_X, 1.24, 267.641098022461);
    effector:SetKey(_TRACK_Y, 1.24, 678.874221801758);
    effector:SetKey(_TRACK_X, 1.4, 252.141098022461);
    effector:SetKey(_TRACK_Y, 1.4, 671.874221801758);
    effector:SetKey(_TRACK_X, 1.56, 241.641098022461);
    effector:SetKey(_TRACK_Y, 1.56, 657.374221801758);
    effector:SetKey(_TRACK_X, 1.72, 243.641098022461);
    effector:SetKey(_TRACK_Y, 1.72, 644.874221801758);
    effector:SetKey(_TRACK_X, 1.88, 254.641098022461);
    effector:SetKey(_TRACK_Y, 1.88, 636.874221801758);
    effector:SetKey(_TRACK_X, 2.04, 269.141098022461);
    effector:SetKey(_TRACK_Y, 2.04, 629.374221801758);
    effector:SetKey(_TRACK_X, 2.2, 278.141098022461);
    effector:SetKey(_TRACK_Y, 2.2, 619.874221801758);
    effector:SetKey(_TRACK_X, 2.36, 280.641098022461);
    effector:SetKey(_TRACK_Y, 2.36, 609.874221801758);
    effector:SetKey(_TRACK_X, 2.48, 274.641098022461);
    effector:SetKey(_TRACK_Y, 2.48, 604.374221801758);
    effector:SetKey(_TRACK_X, 2.68, 259.641098022461);
    effector:SetKey(_TRACK_Y, 2.68, 605.374221801758);
    effector:SetKey(_TRACK_X, 2.88, 246.141098022461);
    effector:SetKey(_TRACK_Y, 2.88, 603.374221801758);
    effector:SetKey(_TRACK_SX, 0, 1);
    effector:SetKey(_TRACK_SY, 0, 1);
    effector:SetKey(_TRACK_SX, 1.08, 0.8);
    effector:SetKey(_TRACK_SY, 1.08, 0.8);
    effector:SetKey(_TRACK_SX, 2.88, 0.6);
    effector:SetKey(_TRACK_SY, 2.88, 0.6);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.28, 0.33694888471153);
    effector:SetKey(_TRACK_A, 0.44, 0.64160481739976);
    effector:SetKey(_TRACK_A, 0.68, -0.17307972284071);
    effector:SetKey(_TRACK_A, 1.08, -0.49065918703942);
    effector:SetKey(_TRACK_A, 1.24, -0.97021172927093);
    effector:SetKey(_TRACK_A, 1.56, -0.51552058913462);
    effector:SetKey(_TRACK_A, 1.72, 0.25994175954369);
    effector:SetKey(_TRACK_A, 1.88, 0.80011309982642);
    effector:SetKey(_TRACK_A, 2.04, 0.92943089067918);
    effector:SetKey(_TRACK_A, 2.2, 0.77963877649831);
    effector:SetKey(_TRACK_A, 2.36, 0.03777132227063);
    effector:SetKey(_TRACK_A, 2.48, -1.35140462642301);
    effector:SetKey(_TRACK_A, 2.68, -1.5558767695449);
    effector:SetKey(_TRACK_A, 2.88, -1.32339714280531);
    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 2.84, 1);
    effector:SetKey(_TRACK_O, 2.88, 0);

    effector:Play();

    compositionBUG_2:Play();

    return compositionBUG_2;
end

createCompositionCherepahi_eyes = function()

    local compositionCherepahi_eyes = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionCherepahi_eyes:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_Lightning02.jpg');
    element:SetName('Layer_1');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(25.5, 133);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(662, 326);

    element:SetAngle(-1.01076970218156);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_SX, 0, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 0, 0.82650971745748);
    effector:SetKey(_TRACK_SX, 0.1519921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 0.1519921875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 0.3039453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 0.3039453125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 0.5319140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 0.5319140625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 0.6838671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 0.6838671875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 0.835859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 0.835859375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 0.9878515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 0.9878515625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 1.1398046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 1.1398046875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 1.291796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 1.291796875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 1.44375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 1.44375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 1.67171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 1.67171875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 1.7476953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 1.7476953125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 1.8996875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 1.8996875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 2.051640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 2.051640625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 2.16, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 2.16, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 2.3119921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 2.3119921875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 2.4639453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 2.4639453125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 2.6919140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 2.6919140625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 2.8438671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 2.8438671875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 2.995859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 2.995859375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 3.1478515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 3.1478515625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 3.2998046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 3.2998046875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 3.451796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 3.451796875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 3.60375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 3.60375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 3.83171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 3.83171875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 3.9076953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 3.9076953125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 4.0596875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 4.0596875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 4.211640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 4.211640625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 4.32, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 4.32, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 4.4719921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 4.4719921875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 4.6239453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 4.6239453125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 4.8519140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 4.8519140625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 5.0038671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 5.0038671875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 5.155859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 5.155859375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 5.3078515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 5.3078515625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 5.4598046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 5.4598046875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 5.611796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 5.611796875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 5.76375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 5.76375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 5.99171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 5.99171875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 6.0676953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 6.0676953125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 6.2196875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 6.2196875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 6.371640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 6.371640625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 6.52, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 6.52, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 6.6719921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 6.6719921875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 6.8239453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 6.8239453125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 7.0519140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 7.0519140625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 7.2038671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 7.2038671875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 7.355859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 7.355859375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 7.5078515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 7.5078515625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 7.6598046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 7.6598046875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 7.811796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 7.811796875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 7.96375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 7.96375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 8.19171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 8.19171875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 8.2676953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 8.2676953125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 8.4196875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 8.4196875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 8.571640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 8.571640625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 8.80375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 8.80375, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 9.03171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 9.03171875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 9.1076953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 9.1076953125, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 9.2596875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 9.2596875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 9.411640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 9.411640625, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 9.6160546875, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 9.6160546875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 9.768046875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 9.768046875, 0.7970347352816);
    effector:SetKey(_TRACK_SX, 9.92, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 9.92, 0.7970347352816);
    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 0.04, 0);
    effector:SetKey(_TRACK_O, 0.08, 0.8);
    effector:SetKey(_TRACK_O, 0.2, 0);
    effector:SetKey(_TRACK_O, 0.28, 0.8);
    effector:SetKey(_TRACK_O, 0.4, 0);
    effector:SetKey(_TRACK_O, 0.52, 1);
    effector:SetKey(_TRACK_O, 0.6, 0);
    effector:SetKey(_TRACK_O, 0.68, 1);
    effector:SetKey(_TRACK_O, 0.84, 0.4);
    effector:SetKey(_TRACK_O, 0.92, 0.8);
    effector:SetKey(_TRACK_O, 1.04, 0);
    effector:SetKey(_TRACK_O, 1.12, 1);
    effector:SetKey(_TRACK_O, 1.2, 0);
    effector:SetKey(_TRACK_O, 1.28, 1);
    effector:SetKey(_TRACK_O, 1.36, 0);
    effector:SetKey(_TRACK_O, 1.44, 1);
    effector:SetKey(_TRACK_O, 1.6, 0.4);
    effector:SetKey(_TRACK_O, 1.68, 0);
    effector:SetKey(_TRACK_O, 1.76, 1);
    effector:SetKey(_TRACK_O, 1.96, 0);
    effector:SetKey(_TRACK_O, 2.08, 1);
    effector:SetKey(_TRACK_O, 2.16, 1);
    effector:SetKey(_TRACK_O, 2.2, 0);
    effector:SetKey(_TRACK_O, 2.24, 0.8);
    effector:SetKey(_TRACK_O, 2.36, 0);
    effector:SetKey(_TRACK_O, 2.44, 0.8);
    effector:SetKey(_TRACK_O, 2.56, 0);
    effector:SetKey(_TRACK_O, 2.68, 1);
    effector:SetKey(_TRACK_O, 2.76, 0);
    effector:SetKey(_TRACK_O, 2.84, 1);
    effector:SetKey(_TRACK_O, 3, 0.4);
    effector:SetKey(_TRACK_O, 3.08, 0.8);
    effector:SetKey(_TRACK_O, 3.2, 0);
    effector:SetKey(_TRACK_O, 3.28, 1);
    effector:SetKey(_TRACK_O, 3.36, 0);
    effector:SetKey(_TRACK_O, 3.44, 1);
    effector:SetKey(_TRACK_O, 3.52, 0);
    effector:SetKey(_TRACK_O, 3.6, 1);
    effector:SetKey(_TRACK_O, 3.76, 0.4);
    effector:SetKey(_TRACK_O, 3.84, 0);
    effector:SetKey(_TRACK_O, 3.92, 1);
    effector:SetKey(_TRACK_O, 4.12, 0);
    effector:SetKey(_TRACK_O, 4.24, 1);
    effector:SetKey(_TRACK_O, 4.32, 1);
    effector:SetKey(_TRACK_O, 4.36, 0);
    effector:SetKey(_TRACK_O, 4.4, 0.8);
    effector:SetKey(_TRACK_O, 4.52, 0);
    effector:SetKey(_TRACK_O, 4.6, 0.8);
    effector:SetKey(_TRACK_O, 4.72, 0);
    effector:SetKey(_TRACK_O, 4.84, 1);
    effector:SetKey(_TRACK_O, 4.92, 0);
    effector:SetKey(_TRACK_O, 5, 1);
    effector:SetKey(_TRACK_O, 5.16, 0.4);
    effector:SetKey(_TRACK_O, 5.24, 0.8);
    effector:SetKey(_TRACK_O, 5.36, 0);
    effector:SetKey(_TRACK_O, 5.44, 1);
    effector:SetKey(_TRACK_O, 5.52, 0);
    effector:SetKey(_TRACK_O, 5.6, 1);
    effector:SetKey(_TRACK_O, 5.68, 0);
    effector:SetKey(_TRACK_O, 5.76, 1);
    effector:SetKey(_TRACK_O, 5.92, 0.4);
    effector:SetKey(_TRACK_O, 6, 0);
    effector:SetKey(_TRACK_O, 6.08, 1);
    effector:SetKey(_TRACK_O, 6.28, 0);
    effector:SetKey(_TRACK_O, 6.4, 1);
    effector:SetKey(_TRACK_O, 6.52, 1);
    effector:SetKey(_TRACK_O, 6.56, 0);
    effector:SetKey(_TRACK_O, 6.6, 0.8);
    effector:SetKey(_TRACK_O, 6.72, 0);
    effector:SetKey(_TRACK_O, 6.8, 0.8);
    effector:SetKey(_TRACK_O, 6.92, 0);
    effector:SetKey(_TRACK_O, 7.04, 1);
    effector:SetKey(_TRACK_O, 7.12, 0);
    effector:SetKey(_TRACK_O, 7.2, 1);
    effector:SetKey(_TRACK_O, 7.36, 0.4);
    effector:SetKey(_TRACK_O, 7.44, 0.8);
    effector:SetKey(_TRACK_O, 7.56, 0);
    effector:SetKey(_TRACK_O, 7.64, 1);
    effector:SetKey(_TRACK_O, 7.72, 0);
    effector:SetKey(_TRACK_O, 7.8, 1);
    effector:SetKey(_TRACK_O, 7.88, 0);
    effector:SetKey(_TRACK_O, 7.96, 1);
    effector:SetKey(_TRACK_O, 8.12, 0.4);
    effector:SetKey(_TRACK_O, 8.2, 0);
    effector:SetKey(_TRACK_O, 8.28, 1);
    effector:SetKey(_TRACK_O, 8.48, 0);
    effector:SetKey(_TRACK_O, 8.6, 1);
    effector:SetKey(_TRACK_O, 8.72, 0);
    effector:SetKey(_TRACK_O, 8.8, 1);
    effector:SetKey(_TRACK_O, 8.96, 0.4);
    effector:SetKey(_TRACK_O, 9.04, 0);
    effector:SetKey(_TRACK_O, 9.12, 1);
    effector:SetKey(_TRACK_O, 9.32, 0);
    effector:SetKey(_TRACK_O, 9.44, 1);
    effector:SetKey(_TRACK_O, 9.628359375, 1);
    effector:SetKey(_TRACK_O, 9.828359375, 0);
    effector:SetKey(_TRACK_O, 9.948359375, 1);

    effector:Play();


    -- Layer Layer_2
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_Lightning02.jpg');
    element:SetName('Layer_2');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(25.5, 133);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(323, 339);

    element:SetAngle(0.73786701166586);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_SX, 0, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 0, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 0.1519921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 0.1519921875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 0.3039453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 0.3039453125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 0.5319140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 0.5319140625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 0.6838671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 0.6838671875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 0.835859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 0.835859375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 0.9878515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 0.9878515625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 1.1398046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 1.1398046875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 1.291796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 1.291796875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 1.44375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 1.44375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 1.67171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 1.67171875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 1.7476953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 1.7476953125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 1.8996875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 1.8996875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 2.051640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 2.051640625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 2.16, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 2.16, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 2.3119921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 2.3119921875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 2.4639453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 2.4639453125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 2.6919140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 2.6919140625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 2.8438671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 2.8438671875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 2.995859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 2.995859375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 3.1478515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 3.1478515625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 3.2998046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 3.2998046875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 3.451796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 3.451796875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 3.60375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 3.60375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 3.83171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 3.83171875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 3.9076953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 3.9076953125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 4.0596875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 4.0596875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 4.211640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 4.211640625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 4.32, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 4.32, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 4.4719921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 4.4719921875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 4.6239453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 4.6239453125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 4.8519140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 4.8519140625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 5.0038671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 5.0038671875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 5.155859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 5.155859375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 5.3078515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 5.3078515625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 5.4598046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 5.4598046875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 5.611796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 5.611796875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 5.76375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 5.76375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 5.99171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 5.99171875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 6.0676953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 6.0676953125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 6.2196875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 6.2196875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 6.371640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 6.371640625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 6.52, 0.87607699679215);
    effector:SetKey(_TRACK_SY, 6.52, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 6.6719921875, -0.62564444196243);
    effector:SetKey(_TRACK_SY, 6.6719921875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 6.8239453125, 0.85843783281347);
    effector:SetKey(_TRACK_SY, 6.8239453125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 7.0519140625, -0.72865576330671);
    effector:SetKey(_TRACK_SY, 7.0519140625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 7.2038671875, 1.12540320943182);
    effector:SetKey(_TRACK_SY, 7.2038671875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 7.355859375, 0.75332670238494);
    effector:SetKey(_TRACK_SY, 7.355859375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 7.5078515625, 1.08545856634466);
    effector:SetKey(_TRACK_SY, 7.5078515625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 7.6598046875, -0.82746746648247);
    effector:SetKey(_TRACK_SY, 7.6598046875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 7.811796875, 0.81849318972633);
    effector:SetKey(_TRACK_SY, 7.811796875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 7.96375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 7.96375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 8.19171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 8.19171875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 8.2676953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 8.2676953125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 8.4196875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 8.4196875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 8.571640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 8.571640625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 8.80375, -0.67401245662972);
    effector:SetKey(_TRACK_SY, 8.80375, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 9.03171875, -0.47431337643704);
    effector:SetKey(_TRACK_SY, 9.03171875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 9.1076953125, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 9.1076953125, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 9.2596875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 9.2596875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 9.411640625, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 9.411640625, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 9.6160546875, 0.62719334587068);
    effector:SetKey(_TRACK_SY, 9.6160546875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 9.768046875, 0.91098133040621);
    effector:SetKey(_TRACK_SY, 9.768046875, 0.74683118583816);
    effector:SetKey(_TRACK_SX, 9.92, -0.75810136097255);
    effector:SetKey(_TRACK_SY, 9.92, 0.74683118583816);
    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 0.04, 0);
    effector:SetKey(_TRACK_O, 0.08, 0.8);
    effector:SetKey(_TRACK_O, 0.2, 0);
    effector:SetKey(_TRACK_O, 0.28, 0.8);
    effector:SetKey(_TRACK_O, 0.4, 0);
    effector:SetKey(_TRACK_O, 0.52, 1);
    effector:SetKey(_TRACK_O, 0.6, 0);
    effector:SetKey(_TRACK_O, 0.68, 1);
    effector:SetKey(_TRACK_O, 0.84, 0.4);
    effector:SetKey(_TRACK_O, 0.92, 0.8);
    effector:SetKey(_TRACK_O, 1.04, 0);
    effector:SetKey(_TRACK_O, 1.12, 1);
    effector:SetKey(_TRACK_O, 1.2, 0);
    effector:SetKey(_TRACK_O, 1.28, 1);
    effector:SetKey(_TRACK_O, 1.36, 0);
    effector:SetKey(_TRACK_O, 1.44, 1);
    effector:SetKey(_TRACK_O, 1.6, 0.4);
    effector:SetKey(_TRACK_O, 1.68, 0);
    effector:SetKey(_TRACK_O, 1.76, 1);
    effector:SetKey(_TRACK_O, 1.96, 0);
    effector:SetKey(_TRACK_O, 2.08, 1);
    effector:SetKey(_TRACK_O, 2.16, 1);
    effector:SetKey(_TRACK_O, 2.2, 0);
    effector:SetKey(_TRACK_O, 2.24, 0.8);
    effector:SetKey(_TRACK_O, 2.36, 0);
    effector:SetKey(_TRACK_O, 2.44, 0.8);
    effector:SetKey(_TRACK_O, 2.56, 0);
    effector:SetKey(_TRACK_O, 2.68, 1);
    effector:SetKey(_TRACK_O, 2.76, 0);
    effector:SetKey(_TRACK_O, 2.84, 1);
    effector:SetKey(_TRACK_O, 3, 0.4);
    effector:SetKey(_TRACK_O, 3.08, 0.8);
    effector:SetKey(_TRACK_O, 3.2, 0);
    effector:SetKey(_TRACK_O, 3.28, 1);
    effector:SetKey(_TRACK_O, 3.36, 0);
    effector:SetKey(_TRACK_O, 3.44, 1);
    effector:SetKey(_TRACK_O, 3.52, 0);
    effector:SetKey(_TRACK_O, 3.6, 1);
    effector:SetKey(_TRACK_O, 3.76, 0.4);
    effector:SetKey(_TRACK_O, 3.84, 0);
    effector:SetKey(_TRACK_O, 3.92, 1);
    effector:SetKey(_TRACK_O, 4.12, 0);
    effector:SetKey(_TRACK_O, 4.24, 1);
    effector:SetKey(_TRACK_O, 4.32, 1);
    effector:SetKey(_TRACK_O, 4.36, 0);
    effector:SetKey(_TRACK_O, 4.4, 0.8);
    effector:SetKey(_TRACK_O, 4.52, 0);
    effector:SetKey(_TRACK_O, 4.6, 0.8);
    effector:SetKey(_TRACK_O, 4.72, 0);
    effector:SetKey(_TRACK_O, 4.84, 1);
    effector:SetKey(_TRACK_O, 4.92, 0);
    effector:SetKey(_TRACK_O, 5, 1);
    effector:SetKey(_TRACK_O, 5.16, 0.4);
    effector:SetKey(_TRACK_O, 5.24, 0.8);
    effector:SetKey(_TRACK_O, 5.36, 0);
    effector:SetKey(_TRACK_O, 5.44, 1);
    effector:SetKey(_TRACK_O, 5.52, 0);
    effector:SetKey(_TRACK_O, 5.6, 1);
    effector:SetKey(_TRACK_O, 5.68, 0);
    effector:SetKey(_TRACK_O, 5.76, 1);
    effector:SetKey(_TRACK_O, 5.92, 0.4);
    effector:SetKey(_TRACK_O, 6, 0);
    effector:SetKey(_TRACK_O, 6.08, 1);
    effector:SetKey(_TRACK_O, 6.28, 0);
    effector:SetKey(_TRACK_O, 6.4, 1);
    effector:SetKey(_TRACK_O, 6.52, 1);
    effector:SetKey(_TRACK_O, 6.56, 0);
    effector:SetKey(_TRACK_O, 6.6, 0.8);
    effector:SetKey(_TRACK_O, 6.72, 0);
    effector:SetKey(_TRACK_O, 6.8, 0.8);
    effector:SetKey(_TRACK_O, 6.92, 0);
    effector:SetKey(_TRACK_O, 7.04, 1);
    effector:SetKey(_TRACK_O, 7.12, 0);
    effector:SetKey(_TRACK_O, 7.2, 1);
    effector:SetKey(_TRACK_O, 7.36, 0.4);
    effector:SetKey(_TRACK_O, 7.44, 0.8);
    effector:SetKey(_TRACK_O, 7.56, 0);
    effector:SetKey(_TRACK_O, 7.64, 1);
    effector:SetKey(_TRACK_O, 7.72, 0);
    effector:SetKey(_TRACK_O, 7.8, 1);
    effector:SetKey(_TRACK_O, 7.88, 0);
    effector:SetKey(_TRACK_O, 7.96, 1);
    effector:SetKey(_TRACK_O, 8.12, 0.4);
    effector:SetKey(_TRACK_O, 8.2, 0);
    effector:SetKey(_TRACK_O, 8.28, 1);
    effector:SetKey(_TRACK_O, 8.48, 0);
    effector:SetKey(_TRACK_O, 8.6, 1);
    effector:SetKey(_TRACK_O, 8.72, 0);
    effector:SetKey(_TRACK_O, 8.8, 1);
    effector:SetKey(_TRACK_O, 8.96, 0.4);
    effector:SetKey(_TRACK_O, 9.04, 0);
    effector:SetKey(_TRACK_O, 9.12, 1);
    effector:SetKey(_TRACK_O, 9.32, 0);
    effector:SetKey(_TRACK_O, 9.44, 1);
    effector:SetKey(_TRACK_O, 9.628359375, 1);
    effector:SetKey(_TRACK_O, 9.828359375, 0);
    effector:SetKey(_TRACK_O, 9.948359375, 1);

    effector:Play();


    -- Layer Layer_3
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/Lazer5_01.jpg');
    element:SetName('Layer_3');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(27, 129);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(659.631927490234, 321.570556640625);

    element:SetScaleX(0.9);
    element:SetScaleY(0.85343044216819);
    element:SetAngle(-1.04691230721382);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 0.04, 0.4);
    effector:SetKey(_TRACK_O, 0.12, 1);
    effector:SetKey(_TRACK_O, 0.28, 1);
    effector:SetKey(_TRACK_O, 0.32, 0.6);
    effector:SetKey(_TRACK_O, 0.4, 1);
    effector:SetKey(_TRACK_O, 0.48, 1);
    effector:SetKey(_TRACK_O, 0.52, 0.4);
    effector:SetKey(_TRACK_O, 0.6, 1);
    effector:SetKey(_TRACK_O, 0.68, 0.4);
    effector:SetKey(_TRACK_O, 0.8, 1);
    effector:SetKey(_TRACK_O, 0.96, 0.8);
    effector:SetKey(_TRACK_O, 1.04, 1);
    effector:SetKey(_TRACK_O, 1.08, 0.6);
    effector:SetKey(_TRACK_O, 1.16, 1);
    effector:SetKey(_TRACK_O, 1.2, 1);
    effector:SetKey(_TRACK_O, 1.28, 0.4);
    effector:SetKey(_TRACK_O, 1.36, 1);
    effector:SetKey(_TRACK_O, 1.44, 0.4);
    effector:SetKey(_TRACK_O, 1.56, 1);
    effector:SetKey(_TRACK_O, 1.64, 0.8);
    effector:SetKey(_TRACK_O, 1.8, 1);
    effector:SetKey(_TRACK_O, 1.84, 0.6);
    effector:SetKey(_TRACK_O, 1.92, 1);
    effector:SetKey(_TRACK_O, 1.96, 1);
    effector:SetKey(_TRACK_O, 2, 0.4);
    effector:SetKey(_TRACK_O, 2.08, 1);
    effector:SetKey(_TRACK_O, 2.16, 0.4);
    effector:SetKey(_TRACK_O, 2.28, 1);
    effector:SetKey(_TRACK_O, 2.44, 0.8);
    effector:SetKey(_TRACK_O, 2.52, 1);
    effector:SetKey(_TRACK_O, 2.56, 0.6);
    effector:SetKey(_TRACK_O, 2.64, 1);
    effector:SetKey(_TRACK_O, 2.68, 1);
    effector:SetKey(_TRACK_O, 2.76, 0.4);
    effector:SetKey(_TRACK_O, 2.84, 1);
    effector:SetKey(_TRACK_O, 2.92, 0.4);
    effector:SetKey(_TRACK_O, 3.04, 1);
    effector:SetKey(_TRACK_O, 3.12, 0.8);
    effector:SetKey(_TRACK_O, 3.28, 1);
    effector:SetKey(_TRACK_O, 3.32, 0.6);
    effector:SetKey(_TRACK_O, 3.4, 1);
    effector:SetKey(_TRACK_O, 3.52, 1);
    effector:SetKey(_TRACK_O, 3.56, 0.4);
    effector:SetKey(_TRACK_O, 3.64, 1);
    effector:SetKey(_TRACK_O, 3.72, 0.4);
    effector:SetKey(_TRACK_O, 3.84, 1);
    effector:SetKey(_TRACK_O, 4, 0.8);
    effector:SetKey(_TRACK_O, 4.08, 1);
    effector:SetKey(_TRACK_O, 4.12, 0.6);
    effector:SetKey(_TRACK_O, 4.2, 1);
    effector:SetKey(_TRACK_O, 4.24, 1);
    effector:SetKey(_TRACK_O, 4.32, 0.4);
    effector:SetKey(_TRACK_O, 4.4, 1);
    effector:SetKey(_TRACK_O, 4.48, 0.4);
    effector:SetKey(_TRACK_O, 4.6, 1);
    effector:SetKey(_TRACK_O, 4.68, 0.8);
    effector:SetKey(_TRACK_O, 4.84, 1);
    effector:SetKey(_TRACK_O, 4.88, 0.6);
    effector:SetKey(_TRACK_O, 4.96, 1);
    effector:SetKey(_TRACK_O, 5.08, 1);
    effector:SetKey(_TRACK_O, 5.12, 0.4);
    effector:SetKey(_TRACK_O, 5.2, 1);
    effector:SetKey(_TRACK_O, 5.28, 0.4);
    effector:SetKey(_TRACK_O, 5.4, 1);
    effector:SetKey(_TRACK_O, 5.56, 0.8);
    effector:SetKey(_TRACK_O, 5.64, 1);
    effector:SetKey(_TRACK_O, 5.68, 0.6);
    effector:SetKey(_TRACK_O, 5.76, 1);
    effector:SetKey(_TRACK_O, 5.8, 1);
    effector:SetKey(_TRACK_O, 5.88, 0.4);
    effector:SetKey(_TRACK_O, 5.96, 1);
    effector:SetKey(_TRACK_O, 6.04, 0.4);
    effector:SetKey(_TRACK_O, 6.16, 1);
    effector:SetKey(_TRACK_O, 6.24, 0.8);
    effector:SetKey(_TRACK_O, 6.4, 1);
    effector:SetKey(_TRACK_O, 6.44, 0.6);
    effector:SetKey(_TRACK_O, 6.52, 1);
    effector:SetKey(_TRACK_O, 6.68, 1);
    effector:SetKey(_TRACK_O, 6.72, 0.4);
    effector:SetKey(_TRACK_O, 6.8, 1);
    effector:SetKey(_TRACK_O, 6.88, 0.4);
    effector:SetKey(_TRACK_O, 7, 1);
    effector:SetKey(_TRACK_O, 7.16, 0.8);
    effector:SetKey(_TRACK_O, 7.24, 1);
    effector:SetKey(_TRACK_O, 7.28, 0.6);
    effector:SetKey(_TRACK_O, 7.36, 1);
    effector:SetKey(_TRACK_O, 7.4, 1);
    effector:SetKey(_TRACK_O, 7.48, 0.4);
    effector:SetKey(_TRACK_O, 7.56, 1);
    effector:SetKey(_TRACK_O, 7.64, 0.4);
    effector:SetKey(_TRACK_O, 7.76, 1);
    effector:SetKey(_TRACK_O, 7.84, 0.8);
    effector:SetKey(_TRACK_O, 8, 1);
    effector:SetKey(_TRACK_O, 8.04, 0.6);
    effector:SetKey(_TRACK_O, 8.12, 1);
    effector:SetKey(_TRACK_O, 8.24, 0.6);
    effector:SetKey(_TRACK_O, 8.32, 0.8);
    effector:SetKey(_TRACK_O, 8.4, 0.4);
    effector:SetKey(_TRACK_O, 8.48, 1);
    effector:SetKey(_TRACK_O, 8.56, 0.6);
    effector:SetKey(_TRACK_O, 8.72, 0.4);
    effector:SetKey(_TRACK_O, 8.84, 1);
    effector:SetKey(_TRACK_O, 8.88, 0.6);
    effector:SetKey(_TRACK_O, 8.96, 1);
    effector:SetKey(_TRACK_O, 9, 1);
    effector:SetKey(_TRACK_O, 9.04, 0.4);
    effector:SetKey(_TRACK_O, 9.12, 1);
    effector:SetKey(_TRACK_O, 9.2, 0.4);
    effector:SetKey(_TRACK_O, 9.4, 1);
    effector:SetKey(_TRACK_O, 9.44, 0.6);
    effector:SetKey(_TRACK_O, 9.52, 1);
    effector:SetKey(_TRACK_O, 9.56, 1);
    effector:SetKey(_TRACK_O, 9.6, 0.4);
    effector:SetKey(_TRACK_O, 9.68, 1);
    effector:SetKey(_TRACK_O, 9.76, 0.4);
    effector:SetKey(_TRACK_O, 9.96, 1);

    effector:Play();


    -- Layer Layer_4
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/Lazer5_01.jpg');
    element:SetName('Layer_4');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(27, 129);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(328.638061523438, 335.705520629883);

    element:SetScaleX(0.9);
    element:SetScaleY(0.75804752650406);
    element:SetAngle(0.74894397723723);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 0.04, 0.4);
    effector:SetKey(_TRACK_O, 0.12, 1);
    effector:SetKey(_TRACK_O, 0.2, 0.4);
    effector:SetKey(_TRACK_O, 0.32, 1);
    effector:SetKey(_TRACK_O, 0.48, 0.8);
    effector:SetKey(_TRACK_O, 0.56, 1);
    effector:SetKey(_TRACK_O, 0.6, 0.6);
    effector:SetKey(_TRACK_O, 0.68, 1);
    effector:SetKey(_TRACK_O, 0.72, 1);
    effector:SetKey(_TRACK_O, 0.8, 0.4);
    effector:SetKey(_TRACK_O, 0.88, 1);
    effector:SetKey(_TRACK_O, 0.96, 0.4);
    effector:SetKey(_TRACK_O, 1.08, 1);
    effector:SetKey(_TRACK_O, 1.16, 0.8);
    effector:SetKey(_TRACK_O, 1.32, 1);
    effector:SetKey(_TRACK_O, 1.36, 0.6);
    effector:SetKey(_TRACK_O, 1.44, 1);
    effector:SetKey(_TRACK_O, 1.52, 1);
    effector:SetKey(_TRACK_O, 1.56, 0.4);
    effector:SetKey(_TRACK_O, 1.64, 1);
    effector:SetKey(_TRACK_O, 1.72, 0.4);
    effector:SetKey(_TRACK_O, 1.84, 1);
    effector:SetKey(_TRACK_O, 2, 0.8);
    effector:SetKey(_TRACK_O, 2.08, 1);
    effector:SetKey(_TRACK_O, 2.12, 0.6);
    effector:SetKey(_TRACK_O, 2.2, 1);
    effector:SetKey(_TRACK_O, 2.24, 1);
    effector:SetKey(_TRACK_O, 2.32, 0.4);
    effector:SetKey(_TRACK_O, 2.4, 1);
    effector:SetKey(_TRACK_O, 2.48, 0.4);
    effector:SetKey(_TRACK_O, 2.6, 1);
    effector:SetKey(_TRACK_O, 2.68, 0.8);
    effector:SetKey(_TRACK_O, 2.84, 1);
    effector:SetKey(_TRACK_O, 2.88, 0.6);
    effector:SetKey(_TRACK_O, 2.96, 1);
    effector:SetKey(_TRACK_O, 3, 1);
    effector:SetKey(_TRACK_O, 3.04, 0.4);
    effector:SetKey(_TRACK_O, 3.12, 1);
    effector:SetKey(_TRACK_O, 3.2, 0.4);
    effector:SetKey(_TRACK_O, 3.32, 1);
    effector:SetKey(_TRACK_O, 3.48, 0.8);
    effector:SetKey(_TRACK_O, 3.56, 1);
    effector:SetKey(_TRACK_O, 3.6, 0.6);
    effector:SetKey(_TRACK_O, 3.68, 1);
    effector:SetKey(_TRACK_O, 3.72, 1);
    effector:SetKey(_TRACK_O, 3.8, 0.4);
    effector:SetKey(_TRACK_O, 3.88, 1);
    effector:SetKey(_TRACK_O, 3.96, 0.4);
    effector:SetKey(_TRACK_O, 4.08, 1);
    effector:SetKey(_TRACK_O, 4.16, 0.8);
    effector:SetKey(_TRACK_O, 4.32, 1);
    effector:SetKey(_TRACK_O, 4.36, 0.6);
    effector:SetKey(_TRACK_O, 4.44, 1);
    effector:SetKey(_TRACK_O, 4.56, 1);
    effector:SetKey(_TRACK_O, 4.6, 0.4);
    effector:SetKey(_TRACK_O, 4.68, 1);
    effector:SetKey(_TRACK_O, 4.76, 0.4);
    effector:SetKey(_TRACK_O, 4.88, 1);
    effector:SetKey(_TRACK_O, 5.04, 0.8);
    effector:SetKey(_TRACK_O, 5.12, 1);
    effector:SetKey(_TRACK_O, 5.16, 0.6);
    effector:SetKey(_TRACK_O, 5.24, 1);
    effector:SetKey(_TRACK_O, 5.28, 1);
    effector:SetKey(_TRACK_O, 5.36, 0.4);
    effector:SetKey(_TRACK_O, 5.44, 1);
    effector:SetKey(_TRACK_O, 5.52, 0.4);
    effector:SetKey(_TRACK_O, 5.64, 1);
    effector:SetKey(_TRACK_O, 5.72, 0.8);
    effector:SetKey(_TRACK_O, 5.88, 1);
    effector:SetKey(_TRACK_O, 5.92, 0.6);
    effector:SetKey(_TRACK_O, 6, 1);
    effector:SetKey(_TRACK_O, 6.12, 1);
    effector:SetKey(_TRACK_O, 6.16, 0.4);
    effector:SetKey(_TRACK_O, 6.24, 1);
    effector:SetKey(_TRACK_O, 6.32, 0.4);
    effector:SetKey(_TRACK_O, 6.44, 1);
    effector:SetKey(_TRACK_O, 6.6, 0.8);
    effector:SetKey(_TRACK_O, 6.68, 1);
    effector:SetKey(_TRACK_O, 6.72, 0.6);
    effector:SetKey(_TRACK_O, 6.8, 1);
    effector:SetKey(_TRACK_O, 6.84, 1);
    effector:SetKey(_TRACK_O, 6.92, 0.4);
    effector:SetKey(_TRACK_O, 7, 1);
    effector:SetKey(_TRACK_O, 7.08, 0.4);
    effector:SetKey(_TRACK_O, 7.2, 1);
    effector:SetKey(_TRACK_O, 7.28, 0.8);
    effector:SetKey(_TRACK_O, 7.44, 1);
    effector:SetKey(_TRACK_O, 7.48, 0.6);
    effector:SetKey(_TRACK_O, 7.56, 1);
    effector:SetKey(_TRACK_O, 7.72, 1);
    effector:SetKey(_TRACK_O, 7.76, 0.4);
    effector:SetKey(_TRACK_O, 7.84, 1);
    effector:SetKey(_TRACK_O, 7.92, 0.4);
    effector:SetKey(_TRACK_O, 8.04, 1);
    effector:SetKey(_TRACK_O, 8.2, 0.8);
    effector:SetKey(_TRACK_O, 8.28, 1);
    effector:SetKey(_TRACK_O, 8.32, 0.6);
    effector:SetKey(_TRACK_O, 8.4, 1);
    effector:SetKey(_TRACK_O, 8.44, 1);
    effector:SetKey(_TRACK_O, 8.52, 0.4);
    effector:SetKey(_TRACK_O, 8.6, 1);
    effector:SetKey(_TRACK_O, 8.68, 0.4);
    effector:SetKey(_TRACK_O, 8.8, 1);
    effector:SetKey(_TRACK_O, 8.88, 0.8);
    effector:SetKey(_TRACK_O, 9.04, 1);
    effector:SetKey(_TRACK_O, 9.08, 0.6);
    effector:SetKey(_TRACK_O, 9.16, 1);
    effector:SetKey(_TRACK_O, 9.28, 0.6);
    effector:SetKey(_TRACK_O, 9.36, 0.8);
    effector:SetKey(_TRACK_O, 9.44, 0.4);
    effector:SetKey(_TRACK_O, 9.52, 1);
    effector:SetKey(_TRACK_O, 9.6, 0.6);
    effector:SetKey(_TRACK_O, 9.76, 0.4);
    effector:SetKey(_TRACK_O, 9.96, 1);

    effector:Play();


    -- Layer Layer_5
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_DLamp5_01.jpg');
    element:SetName('Layer_5');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(16, 16);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(745, 369);

    element:SetScaleX(3.6875);
    element:SetScaleY(3.5);
    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.16, 0.8);
    effector:SetKey(_TRACK_O, 0.32, 0.4);
    effector:SetKey(_TRACK_O, 0.6, 0.8);
    effector:SetKey(_TRACK_O, 0.84, 1);
    effector:SetKey(_TRACK_O, 1.16, 0.8);
    effector:SetKey(_TRACK_O, 1.36, 1);
    effector:SetKey(_TRACK_O, 1.68, 0.2);
    effector:SetKey(_TRACK_O, 1.92, 0.8);
    effector:SetKey(_TRACK_O, 2.28, 0.4);
    effector:SetKey(_TRACK_O, 2.68, 0.2);
    effector:SetKey(_TRACK_O, 2.88, 1);
    effector:SetKey(_TRACK_O, 3.16, 0.4);
    effector:SetKey(_TRACK_O, 3.48, 0.8);
    effector:SetKey(_TRACK_O, 3.72, 0.4);
    effector:SetKey(_TRACK_O, 3.96, 1);
    effector:SetKey(_TRACK_O, 4.2, 0.4);
    effector:SetKey(_TRACK_O, 4.44, 0.8);
    effector:SetKey(_TRACK_O, 4.72, 0.2);
    effector:SetKey(_TRACK_O, 5.08, 1);
    effector:SetKey(_TRACK_O, 5.36, 0.2);
    effector:SetKey(_TRACK_O, 5.68, 0.8);
    effector:SetKey(_TRACK_O, 5.92, 0.2);
    effector:SetKey(_TRACK_O, 6.32, 1);
    effector:SetKey(_TRACK_O, 6.68, 0.6);
    effector:SetKey(_TRACK_O, 7, 0.4);
    effector:SetKey(_TRACK_O, 7.4, 0.8);
    effector:SetKey(_TRACK_O, 7.72, 0.4);
    effector:SetKey(_TRACK_O, 8.12, 1);
    effector:SetKey(_TRACK_O, 8.48, 0.4);
    effector:SetKey(_TRACK_O, 8.8, 1);
    effector:SetKey(_TRACK_O, 9.12, 0.4);
    effector:SetKey(_TRACK_O, 9.4, 0.6);
    effector:SetKey(_TRACK_O, 9.64, 0.4);
    effector:SetKey(_TRACK_O, 9.88, 0.5);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();


    -- Layer Layer_6
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_DLamp5_01.jpg');
    element:SetName('Layer_6');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(16, 16);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(270, 402);

    element:SetScaleX(3.6875);
    element:SetScaleY(3.5);
    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.16, 0.8);
    effector:SetKey(_TRACK_O, 0.32, 0.4);
    effector:SetKey(_TRACK_O, 0.6, 0.8);
    effector:SetKey(_TRACK_O, 0.84, 1);
    effector:SetKey(_TRACK_O, 1.16, 0.8);
    effector:SetKey(_TRACK_O, 1.36, 1);
    effector:SetKey(_TRACK_O, 1.68, 0.2);
    effector:SetKey(_TRACK_O, 1.92, 0.8);
    effector:SetKey(_TRACK_O, 2.28, 0.4);
    effector:SetKey(_TRACK_O, 2.68, 0.2);
    effector:SetKey(_TRACK_O, 2.88, 1);
    effector:SetKey(_TRACK_O, 3.16, 0.4);
    effector:SetKey(_TRACK_O, 3.48, 0.8);
    effector:SetKey(_TRACK_O, 3.72, 0.4);
    effector:SetKey(_TRACK_O, 3.96, 1);
    effector:SetKey(_TRACK_O, 4.2, 0.4);
    effector:SetKey(_TRACK_O, 4.44, 0.8);
    effector:SetKey(_TRACK_O, 4.72, 0.2);
    effector:SetKey(_TRACK_O, 5.08, 1);
    effector:SetKey(_TRACK_O, 5.36, 0.2);
    effector:SetKey(_TRACK_O, 5.68, 0.8);
    effector:SetKey(_TRACK_O, 5.92, 0.2);
    effector:SetKey(_TRACK_O, 6.32, 1);
    effector:SetKey(_TRACK_O, 6.68, 0.6);
    effector:SetKey(_TRACK_O, 7, 0.4);
    effector:SetKey(_TRACK_O, 7.4, 0.8);
    effector:SetKey(_TRACK_O, 7.72, 0.4);
    effector:SetKey(_TRACK_O, 8.12, 1);
    effector:SetKey(_TRACK_O, 8.48, 0.4);
    effector:SetKey(_TRACK_O, 8.8, 1);
    effector:SetKey(_TRACK_O, 9.12, 0.4);
    effector:SetKey(_TRACK_O, 9.4, 0.6);
    effector:SetKey(_TRACK_O, 9.64, 0.4);
    effector:SetKey(_TRACK_O, 9.88, 0.5);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();


    -- Layer Layer_7
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_DLamp5_01.jpg');
    element:SetName('Layer_7');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(16, 16);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(763, 372);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.16, 0.8);
    effector:SetKey(_TRACK_O, 0.32, 0.4);
    effector:SetKey(_TRACK_O, 0.6, 0.8);
    effector:SetKey(_TRACK_O, 0.84, 1);
    effector:SetKey(_TRACK_O, 1.16, 0.8);
    effector:SetKey(_TRACK_O, 1.36, 1);
    effector:SetKey(_TRACK_O, 1.68, 0.2);
    effector:SetKey(_TRACK_O, 1.92, 0.8);
    effector:SetKey(_TRACK_O, 2.28, 0.4);
    effector:SetKey(_TRACK_O, 2.68, 0.2);
    effector:SetKey(_TRACK_O, 2.88, 1);
    effector:SetKey(_TRACK_O, 3.16, 0.4);
    effector:SetKey(_TRACK_O, 3.48, 0.8);
    effector:SetKey(_TRACK_O, 3.72, 0.4);
    effector:SetKey(_TRACK_O, 3.96, 1);
    effector:SetKey(_TRACK_O, 4.2, 0.4);
    effector:SetKey(_TRACK_O, 4.44, 0.8);
    effector:SetKey(_TRACK_O, 4.72, 0.2);
    effector:SetKey(_TRACK_O, 5.08, 1);
    effector:SetKey(_TRACK_O, 5.36, 0.2);
    effector:SetKey(_TRACK_O, 5.68, 0.8);
    effector:SetKey(_TRACK_O, 5.92, 0.2);
    effector:SetKey(_TRACK_O, 6.32, 1);
    effector:SetKey(_TRACK_O, 6.68, 0.6);
    effector:SetKey(_TRACK_O, 7, 0.4);
    effector:SetKey(_TRACK_O, 7.4, 0.8);
    effector:SetKey(_TRACK_O, 7.72, 0.4);
    effector:SetKey(_TRACK_O, 8.12, 1);
    effector:SetKey(_TRACK_O, 8.48, 0.4);
    effector:SetKey(_TRACK_O, 8.8, 1);
    effector:SetKey(_TRACK_O, 9.12, 0.4);
    effector:SetKey(_TRACK_O, 9.4, 0.6);
    effector:SetKey(_TRACK_O, 9.64, 0.4);
    effector:SetKey(_TRACK_O, 9.88, 0.5);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();


    -- Layer Layer_8
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_DLamp5_01.jpg');
    element:SetName('Layer_8');
    compositionCherepahi_eyes:AddElement(element);
    element:SetHotSpot(16, 16);
    element:SetParentElement(compositionCherepahi_eyes);
    element:SetXY(253, 413);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.12, 0.8);
    effector:SetKey(_TRACK_O, 0.28, 0.4);
    effector:SetKey(_TRACK_O, 0.56, 0.8);
    effector:SetKey(_TRACK_O, 0.84, 1);
    effector:SetKey(_TRACK_O, 1.16, 0.8);
    effector:SetKey(_TRACK_O, 1.36, 1);
    effector:SetKey(_TRACK_O, 1.68, 0.2);
    effector:SetKey(_TRACK_O, 1.88, 0.8);
    effector:SetKey(_TRACK_O, 2.4, 0.4);
    effector:SetKey(_TRACK_O, 2.8, 0.2);
    effector:SetKey(_TRACK_O, 3, 1);
    effector:SetKey(_TRACK_O, 3.28, 0.4);
    effector:SetKey(_TRACK_O, 3.6, 0.8);
    effector:SetKey(_TRACK_O, 3.84, 0.4);
    effector:SetKey(_TRACK_O, 4.08, 1);
    effector:SetKey(_TRACK_O, 4.32, 0.4);
    effector:SetKey(_TRACK_O, 4.56, 0.8);
    effector:SetKey(_TRACK_O, 4.84, 0.2);
    effector:SetKey(_TRACK_O, 5.2, 1);
    effector:SetKey(_TRACK_O, 5.48, 0.2);
    effector:SetKey(_TRACK_O, 5.8, 0.8);
    effector:SetKey(_TRACK_O, 6.04, 0.2);
    effector:SetKey(_TRACK_O, 6.28, 1);
    effector:SetKey(_TRACK_O, 6.64, 0.6);
    effector:SetKey(_TRACK_O, 6.96, 0.4);
    effector:SetKey(_TRACK_O, 7.36, 0.8);
    effector:SetKey(_TRACK_O, 7.68, 0.4);
    effector:SetKey(_TRACK_O, 8.08, 1);
    effector:SetKey(_TRACK_O, 8.44, 0.4);
    effector:SetKey(_TRACK_O, 8.76, 1);
    effector:SetKey(_TRACK_O, 9.08, 0.4);
    effector:SetKey(_TRACK_O, 9.36, 0.6);
    effector:SetKey(_TRACK_O, 9.6, 0.4);
    effector:SetKey(_TRACK_O, 9.84, 0.5);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();

    compositionCherepahi_eyes:Play();

    return compositionCherepahi_eyes;
end

createCompositionEF_lightning1 = function()

    local compositionEF_lightning1 = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionEF_lightning1:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_Lightning01.jpg');
    element:SetName('Layer_1');
    compositionEF_lightning1:AddElement(element);
    element:SetHotSpot(64.5, 147);
    element:SetParentElement(compositionEF_lightning1);
    element:SetXY(421, 234);

    element:SetScaleX(0.79172111255026);
    element:SetScaleY(0.62790284784621);
    element:SetAngle(-2.3122534059013);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.08, 0.8);
    effector:SetKey(_TRACK_O, 0.2, 0);
    effector:SetKey(_TRACK_O, 1, 0);
    effector:SetKey(_TRACK_O, 1.08, 0.8);
    effector:SetKey(_TRACK_O, 1.2, 0.4);
    effector:SetKey(_TRACK_O, 1.28, 1);
    effector:SetKey(_TRACK_O, 1.4, 0);
    effector:SetKey(_TRACK_O, 1.96, 0);
    effector:SetKey(_TRACK_O, 2.04, 0.8);
    effector:SetKey(_TRACK_O, 2.16, 0);
    effector:SetKey(_TRACK_O, 3.64, 0);
    effector:SetKey(_TRACK_O, 3.72, 0.8);
    effector:SetKey(_TRACK_O, 3.84, 0.4);
    effector:SetKey(_TRACK_O, 3.92, 1);
    effector:SetKey(_TRACK_O, 4.04, 0);
    effector:SetKey(_TRACK_O, 4.6, 0);
    effector:SetKey(_TRACK_O, 4.68, 0.8);
    effector:SetKey(_TRACK_O, 4.8, 0.4);
    effector:SetKey(_TRACK_O, 4.88, 1);
    effector:SetKey(_TRACK_O, 5, 0);
    effector:SetKey(_TRACK_O, 6.28, 0);
    effector:SetKey(_TRACK_O, 6.36, 0.8);
    effector:SetKey(_TRACK_O, 6.48, 0);
    effector:SetKey(_TRACK_O, 8.04, 0);
    effector:SetKey(_TRACK_O, 8.12, 0.8);
    effector:SetKey(_TRACK_O, 8.24, 0.4);
    effector:SetKey(_TRACK_O, 8.32, 1);
    effector:SetKey(_TRACK_O, 8.44, 0);
    effector:SetKey(_TRACK_O, 8.92, 0);
    effector:SetKey(_TRACK_O, 9, 0.8);
    effector:SetKey(_TRACK_O, 9.12, 0);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();


    -- Layer Layer_2
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_Lightning01.jpg');
    element:SetName('Layer_2');
    compositionEF_lightning1:AddElement(element);
    element:SetHotSpot(64.5, 147);
    element:SetParentElement(compositionEF_lightning1);
    element:SetXY(546, 235);

    element:SetScaleX(0.82245198515001);
    element:SetScaleY(0.5812675006918);
    element:SetAngle(-1.08069630874729);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.08, 0.8);
    effector:SetKey(_TRACK_O, 0.2, 0);
    effector:SetKey(_TRACK_O, 0.68, 0);
    effector:SetKey(_TRACK_O, 0.76, 0.8);
    effector:SetKey(_TRACK_O, 0.88, 0.4);
    effector:SetKey(_TRACK_O, 0.96, 1);
    effector:SetKey(_TRACK_O, 1.08, 0);
    effector:SetKey(_TRACK_O, 2.08, 0);
    effector:SetKey(_TRACK_O, 2.16, 0.8);
    effector:SetKey(_TRACK_O, 2.28, 0);
    effector:SetKey(_TRACK_O, 3.76, 0);
    effector:SetKey(_TRACK_O, 3.84, 0.8);
    effector:SetKey(_TRACK_O, 3.96, 0.4);
    effector:SetKey(_TRACK_O, 4.04, 1);
    effector:SetKey(_TRACK_O, 4.16, 0);
    effector:SetKey(_TRACK_O, 4.28, 0);
    effector:SetKey(_TRACK_O, 4.36, 0.8);
    effector:SetKey(_TRACK_O, 4.48, 0.4);
    effector:SetKey(_TRACK_O, 4.56, 1);
    effector:SetKey(_TRACK_O, 4.68, 0);
    effector:SetKey(_TRACK_O, 6.16, 0);
    effector:SetKey(_TRACK_O, 6.24, 0.8);
    effector:SetKey(_TRACK_O, 6.36, 0);
    effector:SetKey(_TRACK_O, 8.24, 0);
    effector:SetKey(_TRACK_O, 8.32, 0.8);
    effector:SetKey(_TRACK_O, 8.44, 0.4);
    effector:SetKey(_TRACK_O, 8.52, 1);
    effector:SetKey(_TRACK_O, 8.64, 0);
    effector:SetKey(_TRACK_O, 8.92, 0);
    effector:SetKey(_TRACK_O, 9, 0.8);
    effector:SetKey(_TRACK_O, 9.12, 0);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();


    -- Layer Layer_3
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_Light03.jpg');
    element:SetName('Layer_3');
    compositionEF_lightning1:AddElement(element);
    element:SetHotSpot(193.5, 159);
    element:SetParentElement(compositionEF_lightning1);
    element:SetXY(491.243240356445, 241.009017944336);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.08, 0.42110085475927);
    effector:SetKey(_TRACK_O, 0.2, 0);
    effector:SetKey(_TRACK_O, 0.68, 0);
    effector:SetKey(_TRACK_O, 0.76, 0.28884904898303);
    effector:SetKey(_TRACK_O, 0.88, 0.15659724320679);
    effector:SetKey(_TRACK_O, 0.96, 0.42110085475927);
    effector:SetKey(_TRACK_O, 1.04, 0.02434543743055);
    effector:SetKey(_TRACK_O, 1.08, 0.28884904898303);
    effector:SetKey(_TRACK_O, 1.2, 0.02434543743055);
    effector:SetKey(_TRACK_O, 1.28, 0.42110085475927);
    effector:SetKey(_TRACK_O, 1.4, 0);
    effector:SetKey(_TRACK_O, 1.96, 0);
    effector:SetKey(_TRACK_O, 2.04, 0.42110085475927);
    effector:SetKey(_TRACK_O, 2.12, 0.15659724320679);
    effector:SetKey(_TRACK_O, 2.16, 0.42110085475927);
    effector:SetKey(_TRACK_O, 2.28, 0);
    effector:SetKey(_TRACK_O, 3.64, 0);
    effector:SetKey(_TRACK_O, 3.72, 0.42110085475927);
    effector:SetKey(_TRACK_O, 3.8, 0.15659724320679);
    effector:SetKey(_TRACK_O, 3.84, 0.42110085475927);
    effector:SetKey(_TRACK_O, 3.88, 0.02434543743055);
    effector:SetKey(_TRACK_O, 3.92, 0.42110085475927);
    effector:SetKey(_TRACK_O, 4, 0.15659724320679);
    effector:SetKey(_TRACK_O, 4.04, 0.42110085475927);
    effector:SetKey(_TRACK_O, 4.16, 0);
    effector:SetKey(_TRACK_O, 4.28, 0);
    effector:SetKey(_TRACK_O, 4.36, 0.42110085475927);
    effector:SetKey(_TRACK_O, 4.48, 0.15659724320679);
    effector:SetKey(_TRACK_O, 4.56, 0.42110085475927);
    effector:SetKey(_TRACK_O, 4.64, 0.15659724320679);
    effector:SetKey(_TRACK_O, 4.68, 0.42110085475927);
    effector:SetKey(_TRACK_O, 4.8, 0.02434543743055);
    effector:SetKey(_TRACK_O, 4.88, 0.42110085475927);
    effector:SetKey(_TRACK_O, 5, 0);
    effector:SetKey(_TRACK_O, 6.16, 0);
    effector:SetKey(_TRACK_O, 6.24, 0.42110085475927);
    effector:SetKey(_TRACK_O, 6.28, 0.15659724320679);
    effector:SetKey(_TRACK_O, 6.32, 0.02434543743055);
    effector:SetKey(_TRACK_O, 6.36, 0.42110085475927);
    effector:SetKey(_TRACK_O, 6.48, 0);
    effector:SetKey(_TRACK_O, 8.04, 0);
    effector:SetKey(_TRACK_O, 8.12, 0.42110085475927);
    effector:SetKey(_TRACK_O, 8.24, 0.02434543743055);
    effector:SetKey(_TRACK_O, 8.32, 0.42110085475927);
    effector:SetKey(_TRACK_O, 8.4, 0.15659724320679);
    effector:SetKey(_TRACK_O, 8.48, 0.42110085475927);
    effector:SetKey(_TRACK_O, 8.6, 0.15659724320679);
    effector:SetKey(_TRACK_O, 8.68, 0);
    effector:SetKey(_TRACK_O, 8.92, 0);
    effector:SetKey(_TRACK_O, 9, 0.42110085475927);
    effector:SetKey(_TRACK_O, 9.12, 0);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();

    compositionEF_lightning1:Play();

    return compositionEF_lightning1;
end

createCompositionEnv = function()

    local compositionEnv = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionEnv:SetDuration(compositionDuration);


    -- Layer Light
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_Light02.jpg');
    element:SetName('Light');
    compositionEnv:AddElement(element);
    element:SetHotSpot(64, 113);
    element:SetParentElement(compositionEnv);
    element:SetXY(623, 9);

    element:SetScaleX(9.97026769929356);
    element:SetScaleY(6.34045125162619);
    element:SetAngle(0.30450980749546);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0.2);
    effector:SetKey(_TRACK_O, 0.6, 0.65255117416382);
    effector:SetKey(_TRACK_O, 1.64, 0.13607873916626);
    effector:SetKey(_TRACK_O, 2.52, 0.4803936958313);
    effector:SetKey(_TRACK_O, 2.96, 0.13607873916626);
    effector:SetKey(_TRACK_O, 3.68, 0.56647243499756);
    effector:SetKey(_TRACK_O, 4.6, 0.05);
    effector:SetKey(_TRACK_O, 5.32, 0.30823621749878);
    effector:SetKey(_TRACK_O, 5.88, 0.39431495666504);
    effector:SetKey(_TRACK_O, 6.36, 0.05);
    effector:SetKey(_TRACK_O, 7.12, 0.4803936958313);
    effector:SetKey(_TRACK_O, 7.84, 0.22215747833252);
    effector:SetKey(_TRACK_O, 8.36, 0.39431495666504);
    effector:SetKey(_TRACK_O, 8.84, 0.05);
    effector:SetKey(_TRACK_O, 9.32, 0.39431495666504);
    effector:SetKey(_TRACK_O, 9.96, 0.2);

    effector:Play();


    -- Layer dust
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/EF_Dust_02.jpg');
    element:SetName('dust');
    compositionEnv:AddElement(element);
    element:SetHotSpot(130.5, 131);
    element:SetParentElement(compositionEnv);
    element:SetScaleX(1.5);
    element:SetScaleY(1.5);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 160.196319580078);
    effector:SetKey(_TRACK_Y, 0, 295.656463623047);
    effector:SetKey(_TRACK_X, 9.96, 173.153381347656);
    effector:SetKey(_TRACK_Y, 9.96, 58.8957214355469);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 9.96, -0.7853981625);
    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.56, 0.4);
    effector:SetKey(_TRACK_O, 1.12, 0.2);
    effector:SetKey(_TRACK_O, 1.68, 0.8);
    effector:SetKey(_TRACK_O, 2.04, 0.2);
    effector:SetKey(_TRACK_O, 2.52, 0.4);
    effector:SetKey(_TRACK_O, 2.88, 0.2);
    effector:SetKey(_TRACK_O, 3.36, 0.8);
    effector:SetKey(_TRACK_O, 3.76, 0.2);
    effector:SetKey(_TRACK_O, 4.2, 0.4);
    effector:SetKey(_TRACK_O, 4.6, 0.2);
    effector:SetKey(_TRACK_O, 5.12, 0.8);
    effector:SetKey(_TRACK_O, 5.64, 0.4);
    effector:SetKey(_TRACK_O, 6.08, 0.8);
    effector:SetKey(_TRACK_O, 6.64, 0.2);
    effector:SetKey(_TRACK_O, 7.24, 0);
    effector:SetKey(_TRACK_O, 7.8, 0.8);
    effector:SetKey(_TRACK_O, 8.4, 0.2);
    effector:SetKey(_TRACK_O, 8.72, 0.4);
    effector:SetKey(_TRACK_O, 9.24, 0.2);
    effector:SetKey(_TRACK_O, 9.96, 0);

    effector:Play();

    compositionEnv:Play();

    return compositionEnv;
end

createCompositionLazers = function()

    local compositionLazers = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionLazers:SetDuration(compositionDuration);

    compositionLazers:Play();

    return compositionLazers;
end

createCompositionStonesFall = function()

    local compositionStonesFall = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionStonesFall:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/dust_fall01.png');
    element:SetName('Layer_1');
    compositionStonesFall:AddElement(element);
    element:SetHotSpot(32, 32);
    element:SetParentElement(compositionStonesFall);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 390);
    effector:SetKey(_TRACK_Y, 0, -50);
    effector:SetKey(_TRACK_X, 0.7595703125, 394.5);
    effector:SetKey(_TRACK_Y, 0.7595703125, 14);
    effector:SetKey(_TRACK_X, 1.4241796875, 398.5);
    effector:SetKey(_TRACK_Y, 1.4241796875, 44);
    effector:SetKey(_TRACK_X, 1.993828125, 414.5);
    effector:SetKey(_TRACK_Y, 1.993828125, 73.5);
    effector:SetKey(_TRACK_SX, 0, 1.34375);
    effector:SetKey(_TRACK_SY, 0, 1.421875);
    effector:SetKey(_TRACK_SX, 1.993828125, 3.0625);
    effector:SetKey(_TRACK_SY, 1.993828125, 2.60065406976744);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.993828125, 0.7853981625);
    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 1.993828125, 0);

    effector:Play();


    -- Layer Layer_2
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/Stone1_01.png');
    element:SetName('Layer_2');
    compositionStonesFall:AddElement(element);
    element:SetHotSpot(8, 8);
    element:SetParentElement(compositionStonesFall);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 392.873870849609);
    effector:SetKey(_TRACK_Y, 0, -17.4369354248047);
    effector:SetKey(_TRACK_X, 0.8, 392.873870849609);
    effector:SetKey(_TRACK_Y, 0.8, -17.4369354248047);
    effector:SetKey(_TRACK_X, 1, 391.373870849609);
    effector:SetKey(_TRACK_Y, 1, 45.3130645751953);
    effector:SetKey(_TRACK_X, 1.12, 383.873870849609);
    effector:SetKey(_TRACK_Y, 1.12, 42.8130645751953);
    effector:SetKey(_TRACK_X, 1.2, 370.373870849609);
    effector:SetKey(_TRACK_Y, 1.2, 43.8130645751953);
    effector:SetKey(_TRACK_X, 1.28, 358.873870849609);
    effector:SetKey(_TRACK_Y, 1.28, 53.5630645751953);
    effector:SetKey(_TRACK_X, 1.36, 348.873870849609);
    effector:SetKey(_TRACK_Y, 1.36, 68.8130645751953);
    effector:SetKey(_TRACK_X, 1.44, 362.623870849609);
    effector:SetKey(_TRACK_Y, 1.44, 82.3130645751953);
    effector:SetKey(_TRACK_X, 1.48, 371.873870849609);
    effector:SetKey(_TRACK_Y, 1.48, 93.3130645751953);
    effector:SetKey(_TRACK_X, 1.56, 380.123870849609);
    effector:SetKey(_TRACK_Y, 1.56, 111.313064575195);
    effector:SetKey(_TRACK_X, 1.64, 384.373870849609);
    effector:SetKey(_TRACK_Y, 1.64, 132.563064575195);
    effector:SetKey(_TRACK_X, 1.72, 386.123870849609);
    effector:SetKey(_TRACK_Y, 1.72, 158.313064575195);
    effector:SetKey(_TRACK_X, 1.8, 376.123870849609);
    effector:SetKey(_TRACK_Y, 1.8, 151.313064575195);
    effector:SetKey(_TRACK_X, 1.88, 361.123870849609);
    effector:SetKey(_TRACK_Y, 1.88, 147.313064575195);
    effector:SetKey(_TRACK_X, 1.96, 345.873870849609);
    effector:SetKey(_TRACK_Y, 1.96, 150.813064575195);
    effector:SetKey(_TRACK_X, 2.04, 337.373870849609);
    effector:SetKey(_TRACK_Y, 2.04, 158.063064575195);
    effector:SetKey(_TRACK_X, 2.12, 338.123870849609);
    effector:SetKey(_TRACK_Y, 2.12, 171.313064575195);
    effector:SetKey(_TRACK_X, 2.2, 344.623870849609);
    effector:SetKey(_TRACK_Y, 2.2, 183.063064575195);
    effector:SetKey(_TRACK_X, 2.24, 349.623870849609);
    effector:SetKey(_TRACK_Y, 2.24, 195.063064575195);
    effector:SetKey(_TRACK_X, 2.32, 351.873870849609);
    effector:SetKey(_TRACK_Y, 2.32, 207.563064575195);
    effector:SetKey(_TRACK_X, 2.4, 360.373870849609);
    effector:SetKey(_TRACK_Y, 2.4, 218.063064575195);
    effector:SetKey(_TRACK_X, 2.48, 371.123870849609);
    effector:SetKey(_TRACK_Y, 2.48, 224.563064575195);
    effector:SetKey(_TRACK_X, 2.56, 373.248870849609);
    effector:SetKey(_TRACK_Y, 2.56, 239.938064575195);
    effector:SetKey(_TRACK_X, 2.64, 371.498870849609);
    effector:SetKey(_TRACK_Y, 2.64, 265.688064575195);
    effector:SetKey(_TRACK_X, 2.72, 370.998870849609);
    effector:SetKey(_TRACK_Y, 2.72, 287.188064575195);
    effector:SetKey(_TRACK_X, 2.8, 369.498870849609);
    effector:SetKey(_TRACK_Y, 2.8, 311.438064575195);
    effector:SetKey(_TRACK_X, 2.88, 357.498870849609);
    effector:SetKey(_TRACK_Y, 2.88, 302.938064575195);
    effector:SetKey(_TRACK_X, 2.96, 342.998870849609);
    effector:SetKey(_TRACK_Y, 2.96, 299.188064575195);
    effector:SetKey(_TRACK_X, 3.04, 319.498870849609);
    effector:SetKey(_TRACK_Y, 3.04, 299.188064575195);
    effector:SetKey(_TRACK_X, 3.12, 292.998870849609);
    effector:SetKey(_TRACK_Y, 3.12, 306.188064575195);
    effector:SetKey(_TRACK_X, 3.2, 266.748870849609);
    effector:SetKey(_TRACK_Y, 3.2, 322.938064575195);
    effector:SetKey(_TRACK_X, 3.28, 248.498870849609);
    effector:SetKey(_TRACK_Y, 3.28, 342.188064575195);
    effector:SetKey(_TRACK_X, 3.36, 236.373870849609);
    effector:SetKey(_TRACK_Y, 3.36, 363.813064575195);
    effector:SetKey(_TRACK_X, 3.44, 229.123870849609);
    effector:SetKey(_TRACK_Y, 3.44, 380.563064575195);
    effector:SetKey(_TRACK_X, 3.48, 226.748870849609);
    effector:SetKey(_TRACK_Y, 3.48, 390.938064575195);
    effector:SetKey(_TRACK_SX, 0, 0.4);
    effector:SetKey(_TRACK_SY, 0, 0.4);
    effector:SetKey(_TRACK_SX, 0.8, 0.4);
    effector:SetKey(_TRACK_SY, 0.8, 0.4);
    effector:SetKey(_TRACK_SX, 1.04, 0.5);
    effector:SetKey(_TRACK_SY, 1.04, 0.5);
    effector:SetKey(_TRACK_SX, 1.44, 0.6);
    effector:SetKey(_TRACK_SY, 1.44, 0.6);
    effector:SetKey(_TRACK_SX, 2.2, 0.8);
    effector:SetKey(_TRACK_SY, 2.2, 0.8);
    effector:SetKey(_TRACK_SX, 3.48, 0.8);
    effector:SetKey(_TRACK_SY, 3.48, 0.8);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.8, 0);
    effector:SetKey(_TRACK_A, 1.04, 3.74541167796122);
    effector:SetKey(_TRACK_A, 1.44, 7.17174645351083);
    effector:SetKey(_TRACK_A, 1.72, 18.0913704859589);
    effector:SetKey(_TRACK_A, 2.2, 22.5506590853473);
    effector:SetKey(_TRACK_A, 2.8, 41.2188717828769);
    effector:SetKey(_TRACK_A, 3.48, 35.3506005454914);
    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 0.8, 1);
    effector:SetKey(_TRACK_O, 2.96, 1);
    effector:SetKey(_TRACK_O, 3, 0);
    effector:SetKey(_TRACK_O, 3.12, 0);
    effector:SetKey(_TRACK_O, 3.16, 1);
    effector:SetKey(_TRACK_O, 3.44, 1);
    effector:SetKey(_TRACK_O, 3.48, 0);

    effector:Play();


    -- Layer Layer_3
    local element = auxCreateCompositionElement('data/Texture/Scenes/18_AncientTeleport/Animations/Logic/Stone1_01.png');
    element:SetName('Layer_3');
    compositionStonesFall:AddElement(element);
    element:SetHotSpot(8, 8);
    element:SetParentElement(compositionStonesFall);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 392.873870849609);
    effector:SetKey(_TRACK_Y, 0, -17.4369354248047);
    effector:SetKey(_TRACK_X, 0.28, 391.373870849609);
    effector:SetKey(_TRACK_Y, 0.28, 45.3130645751953);
    effector:SetKey(_TRACK_X, 0.36, 397.373870849609);
    effector:SetKey(_TRACK_Y, 0.36, 40.8130645751953);
    effector:SetKey(_TRACK_X, 0.44, 408.873870849609);
    effector:SetKey(_TRACK_Y, 0.44, 34.8130645751953);
    effector:SetKey(_TRACK_X, 0.52, 422.373870849609);
    effector:SetKey(_TRACK_Y, 0.52, 35.5630645751953);
    effector:SetKey(_TRACK_X, 0.6, 435.373870849609);
    effector:SetKey(_TRACK_Y, 0.6, 44.3130645751953);
    effector:SetKey(_TRACK_X, 0.68, 445.123870849609);
    effector:SetKey(_TRACK_Y, 0.68, 63.3130645751953);
    effector:SetKey(_TRACK_X, 0.72, 450.373870849609);
    effector:SetKey(_TRACK_Y, 0.72, 61.3130645751953);
    effector:SetKey(_TRACK_X, 0.8, 461.123870849609);
    effector:SetKey(_TRACK_Y, 0.8, 62.3130645751953);
    effector:SetKey(_TRACK_X, 0.88, 473.373870849609);
    effector:SetKey(_TRACK_Y, 0.88, 71.0630645751953);
    effector:SetKey(_TRACK_X, 0.96, 487.623870849609);
    effector:SetKey(_TRACK_Y, 0.96, 97.8130645751953);
    effector:SetKey(_TRACK_X, 1.04, 497.623870849609);
    effector:SetKey(_TRACK_Y, 1.04, 95.3130645751953);
    effector:SetKey(_TRACK_X, 1.12, 511.123870849609);
    effector:SetKey(_TRACK_Y, 1.12, 95.8130645751953);
    effector:SetKey(_TRACK_X, 1.2, 524.373870849609);
    effector:SetKey(_TRACK_Y, 1.2, 104.813064575195);
    effector:SetKey(_TRACK_X, 1.28, 534.873870849609);
    effector:SetKey(_TRACK_Y, 1.28, 119.563064575195);
    effector:SetKey(_TRACK_X, 1.36, 542.123870849609);
    effector:SetKey(_TRACK_Y, 1.36, 137.313064575195);
    effector:SetKey(_TRACK_X, 1.44, 548.623870849609);
    effector:SetKey(_TRACK_Y, 1.44, 164.063064575195);
    effector:SetKey(_TRACK_X, 1.48, 539.623870849609);
    effector:SetKey(_TRACK_Y, 1.48, 158.063064575195);
    effector:SetKey(_TRACK_X, 1.56, 523.373870849609);
    effector:SetKey(_TRACK_Y, 1.56, 151.563064575195);
    effector:SetKey(_TRACK_X, 1.64, 501.873870849609);
    effector:SetKey(_TRACK_Y, 1.64, 151.063064575195);
    effector:SetKey(_TRACK_X, 1.72, 481.623870849609);
    effector:SetKey(_TRACK_Y, 1.72, 156.063064575195);
    effector:SetKey(_TRACK_X, 1.8, 464.748870849609);
    effector:SetKey(_TRACK_Y, 1.8, 165.438064575195);
    effector:SetKey(_TRACK_X, 1.88, 451.498870849609);
    effector:SetKey(_TRACK_Y, 1.88, 178.688064575195);
    effector:SetKey(_TRACK_X, 1.96, 439.498870849609);
    effector:SetKey(_TRACK_Y, 1.96, 195.688064575195);
    effector:SetKey(_TRACK_X, 2.04, 427.998870849609);
    effector:SetKey(_TRACK_Y, 2.04, 216.938064575195);
    effector:SetKey(_TRACK_X, 2.12, 413.998870849609);
    effector:SetKey(_TRACK_Y, 2.12, 213.938064575195);
    effector:SetKey(_TRACK_X, 2.2, 395.748870849609);
    effector:SetKey(_TRACK_Y, 2.2, 215.188064575195);
    effector:SetKey(_TRACK_X, 2.28, 382.498870849609);
    effector:SetKey(_TRACK_Y, 2.28, 225.938064575195);
    effector:SetKey(_TRACK_X, 2.36, 368.248870849609);
    effector:SetKey(_TRACK_Y, 2.36, 245.938064575195);
    effector:SetKey(_TRACK_X, 2.44, 361.248870849609);
    effector:SetKey(_TRACK_Y, 2.44, 268.938064575195);
    effector:SetKey(_TRACK_X, 2.52, 354.748870849609);
    effector:SetKey(_TRACK_Y, 2.52, 296.438064575195);
    effector:SetKey(_TRACK_X, 2.6, 349.748870849609);
    effector:SetKey(_TRACK_Y, 2.6, 324.188064575195);
    effector:SetKey(_TRACK_X, 2.68, 346.748870849609);
    effector:SetKey(_TRACK_Y, 2.68, 353.938064575195);
    effector:SetKey(_TRACK_X, 2.72, 346.498870849609);
    effector:SetKey(_TRACK_Y, 2.72, 355.688064575195);
    effector:SetKey(_TRACK_SX, 0, 0.4);
    effector:SetKey(_TRACK_SY, 0, 0.4);
    effector:SetKey(_TRACK_SX, 0.28, 0.5);
    effector:SetKey(_TRACK_SY, 0.28, 0.5);
    effector:SetKey(_TRACK_SX, 0.68, 0.6);
    effector:SetKey(_TRACK_SY, 0.68, 0.6);
    effector:SetKey(_TRACK_SX, 1.44, 0.8);
    effector:SetKey(_TRACK_SY, 1.44, 0.8);
    effector:SetKey(_TRACK_SX, 2.72, 1);
    effector:SetKey(_TRACK_SY, 2.72, 1);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.28, 3.74541167796122);
    effector:SetKey(_TRACK_A, 0.68, 7.17174645351083);
    effector:SetKey(_TRACK_A, 0.96, 18.0913704859589);
    effector:SetKey(_TRACK_A, 1.44, 22.5506590853473);
    effector:SetKey(_TRACK_A, 2.04, 41.2188717828769);
    effector:SetKey(_TRACK_A, 2.72, 35.3506005454914);
    effector:SetKey(_TRACK_O, 0, 1);
    effector:SetKey(_TRACK_O, 2.68, 1);
    effector:SetKey(_TRACK_O, 2.72, 0);

    effector:Play();

    compositionStonesFall:Play();

    return compositionStonesFall;
end

