[Script Info] ; Script generated by Aegisub 3.0.4 ; http://www.aegisub.org/ Title: Default Aegisub file ScriptType: v4.00+ WrapStyle: 0 ScaledBorderAndShadow: yes Collisions: Normal Video Zoom Percent: 1 Scroll Position: 0 Active Line: 10 PlayResX: 1280 PlayResY: 720 Last Style Storage: Default YCbCr Matrix: None [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style: NhatPhongCr-furigana,UVN Ke Chuyen2,35,&H00FFFFFF,&H00FFFFFF,&H00000000,&H00000000,-1,0,0,0,100,100,0,0,1,0.6,0,2,10,10,50,1 Style: 111111-furigana,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,1,1,2,10,10,180,1 Style: 1111-furigana,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,1,1,2,10,10,250,1 Style: Default-furigana,Arial,10,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,1,1,2,10,10,10,1 Style: NhatPhongCr,UVN Ke Chuyen2,70,&H00FFFFFF,&H00FFFFFF,&H00000000,&H00000000,-1,0,0,0,100,100,0,0,1,1.2,0,2,10,10,50,1 Style: 1111,Arial,40,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,250,1 Style: 111111,Arial,40,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,180,1 [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Comment: 0,0:00:00.00,0:00:00.00,NhatPhongCr,,0,0,0,karaoke,NhatPhongCr Comment: 0,0:00:00.00,0:00:00.00,NhatPhongCr,,0,0,0,code once,tuy_chinh_style=2 Comment: 0,0:00:00.00,0:00:00.00,NhatPhongCr,,0,0,0,code once all,function AutoTags(Intervalo,Dato1,Dato2) local RESULTADO="" local SUERTE = 0 local CONTADOR = 0 local ARREGLO = 0 local count = math.ceil(line.duration/Intervalo) ARREGLO = {Dato1,Dato2} for i = 1, count do CONTADOR = i if Dato1 and Dato2 then if CONTADOR%2 ==0 then SUERTE = ARREGLO[1] else SUERTE = ARREGLO[2] end end RESULTADO = RESULTADO .."\\t(" ..(i-1)*Intervalo.. "," ..i*Intervalo.. ",\\" ..SUERTE..")".."" end return RESULTADO end Comment: 0,0:00:00.00,0:00:00.00,NhatPhongCr,NhatPhongCr,0,0,0,code once,xres, yres = _G.aegisub.video_size() if xres == nil then x_rat = 1 y_rat = 1 else x_rat = xres/720 y_rat = x_rat end if (xres and xres ~= meta.res_x) or (yres and yres ~= meta.res_y) then _G.aegisub.debug.out(2, "Warning: script resolution %dx%d does not match with loaded video resolution %dx%d resample script resolution", meta.res_x, meta.res_y, xres, yres) end Comment: 0,0:00:00.00,0:00:05.00,NhatPhongCr,,0,0,0,code syl,function phong(ref) ci[ref]=ci[ref]+1; return "" end; ci={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; cn= _G.unicode.len(orgline.text_stripped:gsub(" ","")) Comment: 0,0:00:00.00,0:00:00.00,NhatPhongCr,,0,0,0,template char,!retime("line",0,0)!{\an5\pos(!$scenter+math.random(-$width/5,$width/5)!,!$middle+math.random(-$height/2,$height/2)!)\frz45\shad0\bord0\fad(100,100)\p1}{!AutoTags(math.random(100,300),'fscx30\\fscy30\\alphaalp[math.random(2)]','fscx15\\fscy15\\alpha&0&')!}m 30 23 b 24 23 24 33 30 33 b 36 33 37 23 30 23 m 35 27 l 60 28 l 35 29 m 26 27 l 0 28 l 26 29 m 29 23 l 30 0 l 31 23 m 29 33 l 30 56 l 31 33" Comment: 1,0:00:00.00,0:00:00.00,NhatPhongCr,TN 01,0,0,0,template char,!retime("line",-$lwidth*tuy_chinh_style+(ci[2]-1)*35,-$lwidth*tuy_chinh_style+(ci[2]-1)*25)!!phong(2)!{\an5\pos($scenter,$smiddle)\iclip(0,!$top-5!,!$lcenter!,!$bottom+5!)\shad0\1vc(!line.styleref.color1!,!line.styleref.color1!,!line.styleref.color2!,!line.styleref.color2!)\fad(0,150)} Comment: 1,0:00:00.00,0:00:00.00,NhatPhongCr,TN 01,0,0,0,template char,!retime("line",-(ci[1]-1)*35,-300-(ci[1]-1)*25)!!phong(1)!{\an5\pos($scenter,$smiddle)\iclip(!$lcenter!,!$top-5!,!meta.res_x!,!$bottom+5!)\shad0\1vc(!line.styleref.color1!,!line.styleref.color1!,!line.styleref.color2!,!line.styleref.color2!)\fad(0,150)} Comment: 0,0:00:05.00,0:00:07.00,NhatPhongCr,NhatPhongCr,0,0,0,template char,!phong(3)!!retime("line",-$lright+(ci[3]-1)*20,-700+30*(ci[3]-cn))!{\an5\alpha&HAF&\fad(100,250)\blur!math.random(2,3)!\shad0\move($scenter,$smiddle,!$scenter+math.random(-60,60)*x_rat!,!$smiddle+math.random(-80,80)*y_rat!,0,1000)\c&HFFFFFF&\3c&HFFFFFF&\fsc!remember("size1",math.random(3,5))!\t(0,40,\alpha&0&)\t(40,200,\alpha&HFF&)\t(200,300,\alpha&0&)\t(300,1000,\alpha&HFF&)\iclip(0,!$top-100!,!$lcenter!,!$bottom+100!)\p1}m 46 54 l 1 56 l 46 57 b 46 58 47 60 47 60 b 42 66 37 72 32 77 b 38 72 43 67 49 62 b 49 63 51 64 52 64 b 53 79 53 93 54 107 b 54 93 55 79 56 64 b 56 65 58 63 59 62 l 76 78 l 60 61 b 61 60 61 57 61 57 l 106 56 l 61 54 b 61 54 60 51 60 51 l 75 35 l 59 49 b 58 48 57 47 55 47 l 54 1 l 52 47 b 50 47 49 48 49 49 l 32 34 l 47 51 b 47 52 46 53 46 54 Comment: 0,0:00:05.00,0:00:07.00,NhatPhongCr,NhatPhongCr,0,0,0,template char,!phong(4)!!retime("line",-1000+$lright-(ci[4]-1)*20,-700+30*(ci[4]-cn))!{\an5\alpha&HAF&\fad(100,250)\blur!math.random(2,3)!\shad0\move($scenter,$smiddle,!$scenter+math.random(-60,60)*x_rat!,!$smiddle+math.random(-80,80)*y_rat!,0,1000)\c&HFFFFFF&\3c&HFFFFFF&\fsc!remember("size1",math.random(3,5))!\t(0,40,\alpha&0&)\t(40,200,\alpha&HFF&)\t(200,300,\alpha&0&)\t(300,1000,\alpha&HFF&)\iclip(!$lcenter!,!$top-100!,!meta.res_x*100!,!$bottom+100!)\p1}m 46 54 l 1 56 l 46 57 b 46 58 47 60 47 60 b 42 66 37 72 32 77 b 38 72 43 67 49 62 b 49 63 51 64 52 64 b 53 79 53 93 54 107 b 54 93 55 79 56 64 b 56 65 58 63 59 62 l 76 78 l 60 61 b 61 60 61 57 61 57 l 106 56 l 61 54 b 61 54 60 51 60 51 l 75 35 l 59 49 b 58 48 57 47 55 47 l 54 1 l 52 47 b 50 47 49 48 49 49 l 32 34 l 47 51 b 47 52 46 53 46 54 Comment: 0,0:00:00.00,0:00:04.00,NhatPhongCr,,0,0,0,karaoke,Đừng rời xa anh, xin đừng rời xa anh. Đừng xa anh em à