[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 PlayResX: 1280 PlayResY: 720 Last Style Storage: Default Video Zoom Percent: 1 Scroll Position: 4 Active Line: 24 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: Kara-furigana,,10,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,1,1,2,10,10,10,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: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1 Style: Kara,Harrington,65,&H00FFFFFF,&H000000FF,&H00FFFFFF,&H00000000,-1,0,0,0,100,100,0,0,1,2,0,5,10,10,10,1 [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,Credit: ivansbakery. Thanks to pyointa2001, askdark1 and iczaka! Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,Please install VSfilterMOD before using this effect. Download here: http://code.google.com/p/vsfiltermod/downloads/detail?name=VSFilterMod.zip Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,Vui lòng cài VSfilterMOD trước khi sử dụng hiệu ứng này. Tải về: http://code.google.com/p/vsfiltermod/downloads/detail?name=VSFilterMod.zip Comment: 0,0:00:00.00,0:00:00.00,Default,Get Scr Resolution,0,0,0,code once,xres, yres = _G.aegisub.video_size() if xres == nil then ratio = 1 else ratio = yres/720 x_rat = ratio 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(menu>subtitles>resample resolution>click from video)", meta.res_x, meta.res_y, xres, yres) end Comment: 0,0:00:00.00,0:00:00.00,Default,Get Frame Dur,0,0,0,code once,msa = _G.aegisub.ms_from_frame(1) msb = _G.aegisub.ms_from_frame(101) if msa == nil and msb == nil then _G.aegisub.debug.out(2, "Warning: Please load the video or use dummy video.Frame duration was provisionally set to 33 milliseconds. ") frame_dur = 33 else frame_dur = (msb-msa)/100 end Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code syl all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code line all,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 }; cn = _G.unicode.len(orgline.text_stripped:gsub(" ","")) Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,function set_temp(ref,val) temp[ref] = val; return val; end Comment: 0,0:00:00.00,0:00:00.00,Default,Change fill color here(Đổi màu tại đây),0,0,0,code once all,color = {"&HF0FFF0& ","&HFFFFE0&"} Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,ran ={"700" ,"300" ,"400" ,"1000"} Comment: 0,0:00:00.00,0:00:00.00,Default,particle shape,0,0,0,code once,shape = "m 0 0 l 2 0 l 2 2 l 0 2" temp = {} Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,shape1 = {"m 6 0 b 0 0 0 10 6 10 b 12 10 13 0 6 0 l 7 10 ","m 30 23 b 24 23 24 33 30 33 b 36 33 37 23 30 23 m 35 27 l 61 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 57 l 31 33 "} Comment: 0,0:00:00.00,0:00:00.00,Default,Glitter function(pyointa2001),0,0,0,code once,function glitter(dur) tag = "" temp.time = 0 while ( dur > temp.time) do tag = tag..string.format("\\t(%d,%d,\\fscx%d\\fscy%d\\1c&HFFFFFF&\3c&HFFFFFF&\\bord%f\\blur%f)\\t(%d,%d,\\fscx%d\\fscy%d\\1c%s\\3c%s\\bord%f\\blur%f)",set_temp("time",temp.time+math.random(dur/2)),temp.time+1,set_temp("size",math.random(150,250)*ratio),temp.size,2*ratio,3*ratio,set_temp("time",temp.time+frame_dur),set_temp("time",temp.time+100),set_temp("size",math.random(50,100)*ratio),temp.size,"&HFFFFFF&","&HFFFFFF&",1*ratio,1*ratio) end return tag end Comment: 0,0:00:00.00,0:00:00.00,Default,Tags(pyointa2001),0,0,0,code once,function tags(dur) tag = string.format("\\t(%d,%d,\\fscx%d\\fscy%d)\\t(%d,%d,\\fscx35\\fscy35)\\t(%d,%d,\\fscx%d\\fscy%d)\\t(%d,%d,\\fscx35\\fscy35)",set_temp("time",math.random(dur-200)),temp.time+1,set_temp("size",math.random(10,100)),temp.size,temp.time+2,temp.time+100,temp.time+101,temp.time+102,set_temp("size",math.random(10,100)),temp.size,temp.time+103,temp.time+200) return tag end Comment: 0,0:00:00.00,0:00:00.00,Kara,Tags(pyointa2001),0,0,0,code syl,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,Kara,Lead-in,0,0,0,template char noblank,!char_counter(1)!!retime("start2syl",-$lright*2.3+(ci[1]-1)*50,0)!{\an5\moves3(!$center+math.random(700,1000)!,!$middle+math.random(-250,-150)!,!$center+math.random(50,150)!,!$middle+math.random(50,350)!,!$center!,!$middle!,0,1500)\bord0\shad0\fr!math.random(360)!\frx!math.random(360)!\fry!math.random(360)!\t(0,1400,\fr0\frx0\fry0)\1vc(!color[1]!,!color[1]!,!color[2]!,!color[2]!)} Comment: 0,0:00:00.00,0:00:00.00,Kara,Particles leadin,0,0,0,template char noblank loop 7,!char_counter(2+j)!!retime("start2syl",-$lright*2.3+(ci[2+j]-1)*50,0)!{\an5\moves3(!$center+math.random(700,1000)!,!$middle+math.random(-250,-150)!,!$center+math.random(50,150)!,!$middle+math.random(50,350)!,!$center!,!$middle!,0,1500)\shad0\t(1400,1401,\alpha&HFF&)\fsc!remember("scll",math.random(15,20))!\fsc!math.random(10,28)!\bord0.5\blur3\3c&HFFFFFF&\1c&HFFFFFF&\t(\frz!math.random(-360,360)!)\fscx!100*ratio!\fscy!100*ratio!!glitter(line.duration)!\p1}!shape! Comment: 0,0:00:00.00,0:00:00.00,Kara,Sparkles leadin,0,0,0,template char noblank loop 2,!char_counter(10+j)!!retime("start2syl",-$lright*2.3+(ci[10+j]-1)*50,0)!{\an5\moves3(!$center+math.random(700,1000)!,!$middle+math.random(-250,-150)!,!$center+math.random(50,150)!,!$middle+math.random(50,350)!,!$center!,!$middle!,0,1500)\3c&HFFFFFF&\1c&HFFFFFF&\shad0\blur2\fscx!20*x_rat!\fscy!20*x_rat!!(set_temp("rand",math.random(1,5)) == 1) and string.format("\\fr45\\blur3\\3a&HA0&\\bord1\\fscx%d\\fscy%d",15*x_rat,15*x_rat)..tags(line.duration) or ""!\t(1400,1401,\alpha&HFF&)\fad(0,500)\p1}!(temp.rand == 1) and shape1[2] or shape1[1]! Comment: 0,0:00:00.00,0:00:00.00,Kara,Lead-out,0,0,0,template noblank char,!char_counter(15)!!retime("syl2end",0,-$lright/2+(ci[15]-1)*50)!{\an5\moves3($scenter,$smiddle,!$scenter-math.random(250,450)!,!$smiddle+math.random(-50,250)!,!$scenter-math.random(700,1000)!,!$smiddle+math.random(-250,-150)!,!line.duration-1000!,!line.duration!)\shad0\bord0\1vc(!color[1]!,!color[1]!,!color[2]!,!color[2]!)\t(!line.duration-1000!,!line.duration!,\fr!math.random(360)!\frx!math.random(360)!\fry!math.random(360)!)} Comment: 0,0:00:00.00,0:00:00.00,Kara,Particles leadout,0,0,0,template char noblank loop 7,!char_counter(16+j)!!retime("syl2end",0,-$lright/2+(ci[16+j]-1)*50)!{\an5\moves3($scenter,$smiddle,!$scenter-math.random(250,450)!,!$smiddle+math.random(-50,250)!,!$scenter-math.random(700,1000)!,!$smiddle+math.random(-250,-150)!,!line.duration-1000!,!line.duration!)\shad0\3c&HFFFFFF&\alpha&HFF&\t(!line.duration-1001!,!line.duration-1002!,\alpha&H0&)\fsc!remember("scll",math.random(15,20))!\fsc!math.random(10,28)!\bord0.5\blur3\3c&HFFFFFF&\1c&HFFFFFF&\t(\frz!math.random(-360,360)!)\fscx!100*ratio!\fscy!100*ratio!!glitter(line.duration)!\p1}!shape! Comment: 0,0:00:00.00,0:00:00.00,Kara,Sparkles leadout,0,0,0,template char noblank loop 2,!char_counter(24+j)!!retime("syl2end",0,-$lright/2+(ci[24+j]-1)*50)!{\an5\moves3($scenter,$smiddle,!$scenter-math.random(250,450)!,!$smiddle+math.random(-50,250)!,!$scenter-math.random(700,1000)!,!$smiddle+math.random(-250,-150)!,!line.duration-1000!,!line.duration!)\3c&HFFFFFF&\shad0\blur2\fscx!20*x_rat!\fscy!20*x_rat!!(set_temp("rand",math.random(1,5)) == 1) and string.format("\\fr45\\blur3\\bord1\\fscx%d\\fscy%d",15*x_rat,15*x_rat)..tags(line.duration) or ""!\alpha&HFF&\t(!line.duration-1001!,!line.duration-1002!,\alpha&H0&)\fad(0,500)\p1}!(temp.rand == 1) and shape1[2] or shape1[1]! Comment: 0,0:00:00.00,0:00:00.00,Kara,Bokeh,0,0,0,template notext char,!char_counter(20)!!retime("syl",0,line.duration/2-$dur)!{\fad(0,200)\an5\pos(!$center+remember("abc",math.random(-40,40))!,!$middle+math.random(-40,40)!)\blur2\shad0\alpha&HAF&\fscx!remember("scl",math.random(70,150))!\fscy!recall.scl!\bord0!AutoTags(500,'alpha&HCF&','alpha&HEF&')!!AutoTags(ran[math.random(4)],'\\blur5','\\blur2')!\1vc(!color[1]!,!color[1]!,!color[2]!,!color[2]!)\fad(500,!line.duration/3!)\p1}m 47 10 b 57 20 57 37 47 47 b 37 57 20 57 10 47 b 0 37 0 20 10 10 b 20 0 37 0 47 10 Comment: 2,0:00:00.00,0:00:00.00,Kara,Shine(Iczaka),0,0,0,Template syl loop 20 noblank,!retime("syl",0,0-(j*2))!{\an5\move(!$scenter!,!$smiddle!,!$scenter!,$smiddle)\fscx!130+(j*2)!\bord0.462963\fscy!130+(j*2)!\t(\fscx!110+(j*7)!\bord0.462963\fscy!110+(j*7)!)\alpha&H!string.format("%2x", 230+(j*1))!&\3c&H!string.format("%2x", math.random(200,255))!!string.format("%2x", math.random(200,255))!!string.format("%2x", math.random(200,255))!&)\c&HFFFFFF&\shad0} Comment: 1,0:00:00.00,0:00:00.00,Kara,,0,0,0,template noblank multi,!retime("syl",0,0)!{\pos($scenter,$smiddle)\an5\fsc200\shad0\3c&HFFFFFF&\t(0,!line.duration/1.5!,0.5,\fscx100\fscy100\3c&HFFFFFF&\bord3\blur8)\t(!line.duration/2!,!line.duration!,\bord0\blur0)\1vc(!color[1]!,!color[1]!,!color[2]!,!color[2]!)\t(!$dur-150!,!$dur!,\alpha!(syl.i==#line.kara) and "&HFF&" or "&H0&"!)} Comment: 0,0:00:00.00,0:00:05.16,Kara,,0,0,0,karaoke,{\k60}Don't {\k41}make {\k28}me {\k180}close {\k38}one {\k23}more {\k146}door Dialogue: 0,0:00:00.00,0:00:00.00,Kara,,0,0,0,,