Advertisement
EESweetieBot

[NotITG] Compressed Mod Reader

Sep 18th, 2019
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.56 KB | None | 0 0
  1. <!--[[
  2.  
  3.    Vinyl Melody's Compressed Mod Reader Template
  4.         i have no idea why either
  5.  
  6. thanks to fmscat for split function
  7. ]]-->
  8. <ActorFrame
  9. OnCommand="%function(a)local b,c,d,e,f,g,h,i,j,k=tonumber,GAMESTATE,DISPLAY,SCREENMAN,table.insert,tonumber,SCREEN_CENTER_X,SCREEN_CENTER_Y,SCREEN_WIDTH,SCREEN_HEIGHT;local l,m,n=e:GetTopScreen(),d:GetDisplayWidth(),d:GetDisplayHeight()local o=function(p,q)local r,s=1,{}while r<=string.len(p)do local t,u=string.find(p,q,r)if t then f(s,string.sub(p,r,t-1))r=u+1 else f(s,string.sub(p,r))break end end;return s end;local v=function(t)for w=1,2 do t(m_p[w],w)end end;m_bl,m_p=60/200,{}a:addcommand('I',function(_)for w,x in pairs({'LifeP1','LifeP2','ScoreP1','ScoreP2','BPMDisplay','LifeFrame','ScoreFrame','Overlay','Underlay'})do if l:GetChild(x)then l:GetChild(x):hidden(1)end end;for w=1,2 do local y=l:GetChild('PlayerP'..w)_G['jud'..w],_G['com'..w]=y:GetChild('Judgment'),y:GetChild('Combo')m_p[w]=y end;for w,x in pairs(o(
  10. [[0|999|*-1 beat
  11. 1|999|*-1 bumpy]]
  12. ,'\r?\n'))do local z=o(x,'|')c:LaunchAttack(g(z[1]),g(z[2]),z[3],g(z[4])or nil)end;_:queuecommand('m1')end)m_lsm=0;
  13. local A={{4,function()v(function(y)y:x(h)end)end},{8,function()v(function(y,w)y:x(j*(w==1 and 0.25 or.75))end)end}}
  14. for w,x in pairs(A)do local B,C,D=x,w,table.getn(A)a:addcommand('m'..w,function()a:cmd('sleep,'..(B[1]-m_lsm)*m_bl..';queuecommand,f'..C)end)a:addcommand('f'..w,function()B[2]()if C~=D then m_lsm=B[1]a:cmd('playcommand,m'..C+1)end end)end;a:queuecommand('I')end"
  15. ><children>
  16. <Quad OnCommand="hidden,1;sleep,1000" />
  17. </children></ActorFrame>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement