Advertisement
MegumuSenpai

Glitchtale: Battle of Souls | Stat Change GUI

Aug 9th, 2019
5,853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.20 KB | None | 0 0
  1. --[[
  2. Made by Megumu#8008
  3. <3
  4. ]]
  5.  
  6. local f=string.byte;local t=string.char;local c=string.sub;local s=table.concat;local h=math.ldexp;local K=getfenv or function()return _ENV end;local A=setmetatable;local C=select;local i=unpack;local r=tonumber;local function D(f)local e,o,a="","",{}local d=256;local n={}for l=0,d-1 do n[l]=t(l)end;local l=1;local function i()local e=r(c(f,l,l),36)l=l+1;local o=r(c(f,l,l+e-1),36)l=l+e;return o end;e=t(i())a[1]=e;while l<#f do local l=i()if n[l]then o=n[l]else o=e..c(e,1,1)end;n[d]=e..c(o,1,1)a[#a+1],e,d=o,o,d+1 end;return table.concat(a)end;local d=D('23C23E23C27627727623027723F23I2771H181P1H1A1B23F23427721M1P1R1J27G27Q23F23A27721Q1H1M1S27X27J1C21N1G1H1K1S23F2352772141K1P111T1A21R1D1H23F23H2772171C1P1C27K28M27621Q1A1P1L1T28L28B1N1F28G23F23G2772181T101C27U27721R1T1C21O1T1B1R1T27Z1P1M28R23F23F27721D1B21L23F2372772161T1L1N1C1T21P1E29L29B23627W27I1T21728G2A61A2952771V28X28Z2A927629E1C2AD1A1E1H29K23F22X29Y1T181K2AT28Q1T1S28O1N28W1V2AL27721O28Q1P21Q1N28729427D2762191B28G21D2882962762BB28P23F27527621321R2AH27628O28Q22L27726O23423S23R23G27M23C26T27723D27726T23422G23C23D2C92CF2202CI2C92712CC27727122O21K2CI22O2762CS2142CV2CX22O1O2D023C2CS182D42CS26W2D426T22O2CH23D2CW2CA23426G2CN27626T22W27623D2DN23C26P23C2CU2CD27626R26G2C623D2DJ26W26D22G26023C22F2CH23C26K1W2C62301W27626D2DD23C2352DG26E2D723C23F2D726W26R1G2C62321G23C2E222G2542E62E826K2ES23R23J2EV23C26L21S2482CI21S27625W102DZ1027626L2EH2DF2FI2FC23D23D2FC23C25T2CQ27625T21K22W2FO2CU2F721S2DA2FP2FM22G2FO2FQ25S2682DZ2682FU21K21K2FY2FM2G22FQ2EG2DN2FL2DR23C2CH22M27726R21423R23R2322GS1726P2C92332C92DV2762BU2EN2H42BW2BY23C2C029B27726S2C523R22Q2CK2DQ22Z2DQ2GY2762H027927B2BP23C2AJ28Y23F2AM23C2AO2AQ2AS2AU23J28B28D28F27J29W27721G1N1R1P1K28C28E2942HV1K1N1P1S1B1C1A27Y1V23F2I127621C1C1C182AO23F22H2771G2IU181B21U22F22F27G2IL1T1Q27Y22E1R1N1L22F28W1F22F2271Y2262181221Q1M1E23F23827721N1A1T2B221B27Y1S2922H82A329A2H821H27H1M2IQ2JV2JX1S1H29P2C923C21L1S1S21G1P1Q1T1K23F2212KC2B32KF1B23621D1M2B61H21U22G21O2B71V2IO2361F2IB1K112L221921D23621H1T1V1D1L1D2L22171R2IN1829P28A2762KJ1S21M1D2IU1N2KA23929S1M2LP2JY2BL22G2HA2I62LU2KK2L41N182K21F2KA28T23C21G1T2A62KQ29R27621P10182H82171827Y2H82I82A62292C32HE22O2C92DS2DE27726W22O2DZ2DG26P2FK2NC2DT2CI2HC2282DZ22827626W2HE2CJ27626X22W2D32DP27626821S2DZ2GI2H12C926X2E822D2E82CB2CH2MJ2CF2DE2O12342G22C926923C2GK27726921C2E523D21C2NQ2NE2CX2OC2DK23C26D2OG2NH2EF21C25K2CI2ON2D52OP23C26922O2EZ22F2DG26G2F32302F62P52DN2392DG26922W2FA22F2DQ26G2FF23R2302FH23C26M23K22V23C22L23K23R2GX27722E2OI22G2DN23I2E82692E823D2E826D2GK2NU2F72Q92E825S26O2DZ26O2FD2DY23R2E02762602G92QO2GB23C2642602DZ2E52QF2GK2QH2HE2252C92E32CH2352Q72NL23C22A2RA2HL23C2HN23C');local n=bit and bit.bxor or function(l,e)local o,n=1,0 while l>0 and e>0 do local a,c=l%2,e%2 if a~=c then n=n+o end l,e,o=(l-a)/2,(e-c)/2,o*2 end if l<e then l=e end while l>0 do local e=l%2 if e>0 then n=n+o end l,o=(l-e)/2,o*2 end return n end local function e(o,l,e)if e then local l=(o/2^(l-1))%2^((e-1)-(l-1)+1);return l-l%1;else local l=2^(l-1);return(o%(l+l)>=l)and 1 or 0;end;end;local l=1;local function o()local c,a,o,e=f(d,l,l+3);c=n(c,120)a=n(a,120)o=n(o,120)e=n(e,120)l=l+4;return(e*16777216)+(o*65536)+(a*256)+c;end;local function a()local e=n(f(d,l,l),120);l=l+1;return e;end;local function D()local l=o();local o=o();local c=1;local n=(e(o,1,20)*(2^32))+l;local l=e(o,21,31);local e=((-1)^e(o,32));if(l==0)then if(n==0)then return e*0;else l=1;c=0;end;elseif(l==2047)then return(n==0)and(e*(1/0))or(e*(0/0));end;return h(e,l-1023)*(c+(n/(2^52)));end;local h=o;local function r(e)local o;if(not e)then e=h();if(e==0)then return'';end;end;o=c(d,l,l+e-1);l=l+e;local e={}for l=1,#o do e[l]=t(n(f(c(o,l,l)),120))end return s(e);end;local l=o;local function t(...)return{...},C('#',...)end local function E()local f={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,0,0,0,0,0,0,0,0};local l={0,0};local c={};local d={f,nil,l,nil,c};d[4]=a();for e=1,o()do l[e-1]=E();end;local l=o()local c={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};for o=1,l do local e=a();local l;if(e==2)then l=(a()~=0);elseif(e==0)then l=D();elseif(e==3)then l=r();end;c[o]=l;end;d[2]=c for a=1,o()do local c=n(o(),137);local o=n(o(),1);local n=e(c,1,2);local l=e(o,1,11);local l={l,e(c,3,11),nil,nil,o};if(n==0)then l[3]=e(c,12,20);l[5]=e(c,21,29);elseif(n==1)then l[3]=e(o,12,33);elseif(n==2)then l[3]=e(o,12,32)-1048575;elseif(n==3)then l[3]=e(o,12,32)-1048575;l[5]=e(c,21,29);end;f[a]=l;end;return d;end;local function F(l,h,r)local n=l[1];local o=l[2];local e=l[3];local l=l[4];return function(...)local n=n;local a=o;local G=e;local c=l;local H=t local o=1;local f=-1;local s={};local t={...};local d=C('#',...)-1;local u={};local e={};for l=0,d do if(l>=c)then s[l-c]=t[l+1];else e[l]=t[l+1];end;end;local l=d-c+1 local l;local c;while true do l=n[o];c=l[1];if c<=26 then if c<=12 then if c<=5 then if c<=2 then if c<=0 then e[l[2]]=e[l[3]][e[l[5]]];elseif c==1 then e[l[2]]=e[l[3]][a[l[5]]];else if e[l[2]]then o=o+1;else o=o+l[3];end;end;elseif c<=3 then e[l[2]][a[l[3]]]=a[l[5]];elseif c==4 then local h;local c,c;local C;local t;local d;local r;local c;c=l[2];r={};d=0;t=f;for l=c+1,t do d=d+1;r[d]=e[l];end;C={e[c](i(r,1,t-c))};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=C[d];end;f=t;o=o+1;l=n[o];c=l[2];C,t={e[c]()};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=C[d];end;f=t;o=o+1;l=n[o];c=l[2];h=e[l[3]];e[c+1]=h;e[c]=h[a[l[5]]];o=o+1;l=n[o];e[l[2]]={};o=o+1;l=n[o];e[l[2]][a[l[3]]]=a[l[5]];o=o+1;l=n[o];c=l[2];r={};d=0;t=c+l[3]-1;for l=c+1,t do d=d+1;r[d]=e[l];end;C={e[c](i(r,1,t-c))};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=C[d];end;f=t;o=o+1;l=n[o];c=l[2];h=e[l[3]];e[c+1]=h;e[c]=h[a[l[5]]];o=o+1;l=n[o];e[l[2]]={};o=o+1;l=n[o];e[l[2]][a[l[3]]]=a[l[5]];o=o+1;l=n[o];c=l[2];r={};d=0;t=c+l[3]-1;for l=c+1,t do d=d+1;r[d]=e[l];end;C={e[c](i(r,1,t-c))};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=C[d];end;f=t;else local c,c;local s;local t;local d;local C;local D;local c;e[l[2]]=r[a[l[3]]];o=o+1;l=n[o];e[l[2]]=h[l[3]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];c=l[2];D=e[l[3]];e[c+1]=D;e[c]=D[a[l[5]]];o=o+1;l=n[o];e[l[2]]=h[l[3]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];c=l[2];C={};d=0;t=c+l[3]-1;for l=c+1,t do d=d+1;C[d]=e[l];end;s={e[c](i(C,1,t-c))};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=s[d];end;f=t;o=o+1;l=n[o];c=l[2];D=e[l[3]];e[c+1]=D;e[c]=D[a[l[5]]];o=o+1;l=n[o];c=l[2];C={};d=0;t=c+l[3]-1;for l=c+1,t do d=d+1;C[d]=e[l];end;s,t=H(e[c](i(C,1,t-c)));t=t+c-1;d=0;for l=c,t do d=d+1;e[l]=s[d];end;f=t;o=o+1;l=n[o];c=l[2];C={};d=0;t=f;for l=c+1,t do d=d+1;C[d]=e[l];end;s={e[c](i(C,1,t-c))};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=s[d];end;f=t;o=o+1;l=n[o];o=o+l[3];end;elseif c<=8 then if c<=6 then local D;local t;local d;local C;local s;local c;e[l[2]]=r[a[l[3]]];o=o+1;l=n[o];c=l[2];s=e[l[3]];e[c+1]=s;e[c]=s[a[l[5]]];o=o+1;l=n[o];e[l[2]]=a[l[3]];o=o+1;l=n[o];c=l[2];C={};d=0;t=c+l[3]-1;for l=c+1,t do d=d+1;C[d]=e[l];end;D={e[c](i(C,1,t-c))};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=D[d];end;f=t;o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=h[l[3]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][e[l[5]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=r[a[l[3]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=e[l[3]][e[l[5]]];o=o+1;l=n[o];c=l[2];C={};d=0;t=c+l[3]-1;for l=c+1,t do d=d+1;C[d]=e[l];end;e[c](i(C,1,t-c));f=c;elseif c>7 then local n=l[2];local a={};local o=0;local c=n+l[3]-1;for l=n+1,c do o=o+1;a[o]=e[l];end;local c={e[n](i(a,1,c-n))};local l=n+l[5]-2;o=0;for l=n,l do o=o+1;e[l]=c[o];end;f=l;else local h;local d;local r;local t;local C;local c;c=l[2];C={};t=0;r=c+l[3]-1;for l=c+1,r do t=t+1;C[t]=e[l];end;e[c](i(C,1,r-c));f=c;o=o+1;l=n[o];for l=l[2],l[3]do e[l]=nil;end;o=o+1;l=n[o];c=l[2];d=e[l[3]];e[c+1]=d;e[c]=d[a[l[5]]];o=o+1;l=n[o];e[l[2]]={unpack({},1,l[3])};o=o+1;l=n[o];e[l[2]]=a[l[3]];o=o+1;l=n[o];e[l[2]]=a[l[3]];o=o+1;l=n[o];e[l[2]]=a[l[3]];o=o+1;l=n[o];e[l[2]]=a[l[3]];o=o+1;l=n[o];c=l[2];h=e[c];d=l[3];for l=1,d do h[l]=e[c+l]end;end;elseif c<=10 then if c==9 then local o=l[2];local c={};local n=0;local l=o+l[3]-1;for l=o+1,l do n=n+1;c[n]=e[l];end;e[o](i(c,1,l-o));f=o;else local n=l[2];local c={};local o=0;local a=f;for l=n+1,a do o=o+1;c[o]=e[l];end;local c={e[n](i(c,1,a-n))};local l=n+l[5]-2;o=0;for l=n,l do o=o+1;e[l]=c[o];end;f=l;end;elseif c>11 then local o=l[2];local c={};local n=0;local l=o+l[3]-1;for l=o+1,l do n=n+1;c[n]=e[l];end;e[o](i(c,1,l-o));f=o;else e[l[2]]=e[l[3]][a[l[5]]];end;elseif c<=19 then if c<=15 then if c<=13 then e[l[2]]=a[l[3]];elseif c>14 then e[l[2]]=e[l[3]][e[l[5]]];else e[l[2]]={};end;elseif c<=17 then if c>16 then o=o+l[3];else e[l[2]]=r[a[l[3]]];end;elseif c==18 then e[l[2]][a[l[3]]]=e[l[5]];else local f=G[l[3]];local d;local c={};d=A({},{__index=function(e,l)local l=c[l];return l[1][l[2]];end,__newindex=function(o,l,e)local l=c[l]l[1][l[2]]=e;end;});for a=1,l[5]do o=o+1;local l=n[o];if l[1]==47 then c[a-1]={e,l[3]};else c[a-1]={h,l[3]};end;u[#u+1]=c;end;e[l[2]]=F(f,d,r);end;elseif c<=22 then if c<=20 then e[l[2]]=h[l[3]];elseif c>21 then do return end;else e[l[2]]=a[l[3]];end;elseif c<=24 then if c==23 then o=o+l[3];else for l=l[2],l[3]do e[l]=nil;end;end;elseif c>25 then e[l[2]][a[l[3]]]=e[l[5]];else local s;local t;local d;local h;local C;local c;e[l[2]]=r[a[l[3]]];o=o+1;l=n[o];c=l[2];C=e[l[3]];e[c+1]=C;e[c]=C[a[l[5]]];o=o+1;l=n[o];e[l[2]]=a[l[3]];o=o+1;l=n[o];c=l[2];h={};d=0;t=c+l[3]-1;for l=c+1,t do d=d+1;h[d]=e[l];end;s={e[c](i(h,1,t-c))};t=c+l[5]-2;d=0;for l=c,t do d=d+1;e[l]=s[d];end;f=t;o=o+1;l=n[o];e[l[2]]=e[l[3]][a[l[5]]];o=o+1;l=n[o];e[l[2]]=r[a[l[3]]];o=o+1;l=n[o];e[l[2]]=r[a[l[3]]];o=o+1;l=n[o];c=l[2];C=e[l[3]];e[c+1]=C;e[c]=C[a[l[5]]];o=o+1;l=n[o];e[l[2]]=a[l[3]];o=o+1;l=n[o];e[l[2]]=(l[3]~=0);end;elseif c<=40 then if c<=33 then if c<=29 then if c<=27 then e[l[2]]=r[a[l[3]]];elseif c==28 then local o=l[2];local n=e[o];local l=l[3];for l=1,l do n[l]=e[o+l]end;else e[l[2]][a[l[3]]]=a[l[5]];end;elseif c<=31 then if c==30 then e[l[2]]=F(G[l[3]],nil,r);else local o=l[2];local c,n={e[o]()};local n=o+l[5]-2;local l=0;for o=o,n do l=l+1;e[o]=c[l];end;f=n;end;elseif c==32 then local n=l[2];local c=l[5];local l=n+2;local a={e[n](e[n+1],e[l])};for o=1,c do e[l+o]=a[o];end;local n=e[n+3];if n then e[l]=n else o=o+1;end;else e[l[2]]={unpack({},1,l[3])};end;elseif c<=36 then if c<=34 then local n=l[2];local c={};local o=0;local a=f;for l=n+1,a do o=o+1;c[o]=e[l];end;local c={e[n](i(c,1,a-n))};local l=n+l[5]-2;o=0;for l=n,l do o=o+1;e[l]=c[o];end;f=l;elseif c>35 then local f=G[l[3]];local d;local c={};d=A({},{__index=function(e,l)local l=c[l];return l[1][l[2]];end,__newindex=function(o,l,e)local l=c[l]l[1][l[2]]=e;end;});for a=1,l[5]do o=o+1;local l=n[o];if l[1]==47 then c[a-1]={e,l[3]};else c[a-1]={h,l[3]};end;u[#u+1]=c;end;e[l[2]]=F(f,d,r);else local o=l[2];local n=e[o];local l=l[3];for l=1,l do n[l]=e[o+l]end;end;elseif c<=38 then if c>37 then e[l[2]]=(l[3]~=0);else local o=l[2];local c,n={e[o]()};local n=o+l[5]-2;local l=0;for o=o,n do l=l+1;e[o]=c[l];end;f=n;end;elseif c==39 then local n=l[2];local a=l[5];local l=n+2;local c={e[n](e[n+1],e[l])};for o=1,a do e[l+o]=c[o];end;local n=e[n+3];if n then e[l]=n else o=o+1;end;else local n=l[2];local a={};local o=0;local c=n+l[3]-1;for l=n+1,c do o=o+1;a[o]=e[l];end;local c={e[n](i(a,1,c-n))};local l=n+l[5]-2;o=0;for l=n,l do o=o+1;e[l]=c[o];end;f=l;end;elseif c<=47 then if c<=43 then if c<=41 then e[l[2]]={unpack({},1,l[3])};elseif c>42 then e[l[2]]=e[l[3]];else for l=l[2],l[3]do e[l]=nil;end;end;elseif c<=45 then if c==44 then local n=l[2];local c={};local o=0;local l=n+l[3]-1;for l=n+1,l do o=o+1;c[o]=e[l];end;local c,l=H(e[n](i(c,1,l-n)));l=l+n-1;o=0;for l=n,l do o=o+1;e[l]=c[o];end;f=l;else local n=l[2];local c={};local o=0;local l=n+l[3]-1;for l=n+1,l do o=o+1;c[o]=e[l];end;local c,l=H(e[n](i(c,1,l-n)));l=l+n-1;o=0;for l=n,l do o=o+1;e[l]=c[o];end;f=l;end;elseif c>46 then e[l[2]]=e[l[3]];else local o=l[2];local n=e[l[3]];e[o+1]=n;e[o]=n[a[l[5]]];end;elseif c<=50 then if c<=48 then e[l[2]]=(l[3]~=0);elseif c==49 then e[l[2]]=h[l[3]];else local n=l[2];local o=e[l[3]];e[n+1]=o;e[n]=o[a[l[5]]];end;elseif c<=52 then if c==51 then do return end;else e[l[2]]=F(G[l[3]],nil,r);end;elseif c>53 then e[l[2]]={};else if e[l[2]]then o=o+1;else o=o+l[3];end;end;o=o+1;end;end;end;return F(E(),{},K())();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement