let nuclearColor =255;
let lastact1 = GetCurrentScriptDirectory ~ "./img_Burst.png"; //base
let angx = 70;
let angy = 30;

task Burst(x,y){
LoadTexture(lastact1);
LastWordAction(x,y,0.15);
angx+=10;
angy+=20;
}

task LastWordAction(x,y,sca){
	let efx = ObjPrim_Create(OBJ_SPRITE_2D);
	let a = 0;
	let sc1 = 0;
	let s =0;
	ObjRender_SetBlendType(efx,BLEND_ADD_RGB);
	Obj_SetRenderPriority(efx,0.22);
	ObjPrim_SetTexture(efx,lastact1);
	ObjSprite2D_SetSourceRect(efx,0,0,256,256);
	ObjSprite2D_SetDestCenter(efx);
	ObjRender_SetX(efx,x);
	ObjRender_SetY(efx,y);
	ObjRender_SetColor(efx,255,255,255);
	ObjRender_SetAngleXYZ(efx,1,1,rand(0,360));
	while(!Obj_IsDeleted(efx)){
	if(a<255){sc1+=sca; nuclearColor+=1.50;}
	ObjRender_SetScaleXYZ(efx, sc1, sc1, 1);yield;
	ObjRender_SetColor(efx,nuclearColor,nuclearColor,nuclearColor);
	if(a>350){Obj_Delete(efx);}
	a++;
	}
	yield;
	}