Upscalefanatic3

Dungeon Quest Faster Dungeon Finish Script *not tested*

May 4th, 2019
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.37 KB | None | 0 0
  1. --[[KEY SYSTEM FOR THE MAIN SCRIPT BY DKAZERBR]]--
  2.  
  3. _G.Key = "LEAK"; --Your key for the script.
  4.  
  5. --[[SCRIPT SETTINGS BY ENHANCEDDEVELOPMENT (THE GUY WHO MADE THE LEVEL CHOOSER & HARDCORE DISABLER), GOAT (THE GUY WHO MADE 1 SHOT KILL), & ! (THE GUY WHO MADE NAMESPOOFER)]]--
  6. --[[Juul]]--
  7. _G.Level = 0; --The dungeon level you want to enter. Set to 0 to make it choose the optimal dungeon.
  8. _G.NoHardcore = true; --Do you want to disable hardcore mode?
  9. _G.FasterDungeons = false; --Make dungeons faster again after the patch (Buggy)?
  10. _G.NameSpoofer = false; --Hide your name to safely take screenshots?
  11. _G.Name = "NameHere" --Change your name for spoofer
  12.  
  13. local OriginalEvent = game:GetService("ReplicatedStorage"):WaitForChild("remotes"):WaitForChild("createLobby").InvokeServer;
  14.  
  15. local MetaMethods = getrawmetatable(game);
  16. local IndexBackup = MetaMethods.__index;
  17. local NamecallBackup = MetaMethods.__namecall;
  18. setreadonly(MetaMethods, false);
  19.  
  20. MetaMethods.__index = newcclosure(function(Self, Key)
  21. if (checkcaller()) then
  22. if ((Key == "Value") and (Self:IsA("IntValue") and (Self.Name == "Level"))) then
  23. if (_G.Level > 0) then
  24. return _G.Level;
  25. end;
  26. elseif ((Key == "InvokeServer") and (Self.Name == "createLobby")) then
  27. return newcclosure(function(Self, ParameterOne, ParameterTwo, ParameterThree, ParameterFour, ...)
  28. if ((type(ParameterOne) ~= "Userdata") and (type(Self) == "userdata")) then
  29. return OriginalEvent(Self, ParameterOne, ParameterTwo, ((_G.NoHardcore and false) or ParameterThree), ParameterFour, ...);
  30. else
  31. return OriginalEvent(ParameterOne, ParameterTwo, ((_G.NoHardcore and false) or ParameterThree), ParameterFour, ...);
  32. end;
  33. end);
  34. end;
  35. end;
  36. return IndexBackup(Self, Key);
  37. end);
  38.  
  39. MetaMethods.__namecall = newcclosure(function(Self, ...)
  40. local Arguments = {...};
  41. if (checkcaller()) then
  42. for Key, Parameter in next, Arguments do
  43. if (Parameter == "Level") then
  44. if (_G.Level > 0) then
  45. return _G.Level;
  46. end;
  47. elseif ((Parameter == "InvokeServer") and (Self.Name == "createLobby")) then
  48. if (_G.NoHardcore) then
  49. Arguments[Key - 2] = false;
  50. end;
  51. end;
  52. end;
  53. end;
  54. return NamecallBackup(Self, unpack(Arguments));
  55. end);
  56.  
  57. setreadonly(MetaMethods, true);
  58.  
  59. if (_G.NameSpoofer) then
  60. local CoreGui = game:GetService("CoreGui");
  61. local LocalPlayer = game:GetService("Players").LocalPlayer;
  62. coroutine.wrap(function()
  63. while true do
  64. pcall(function()
  65. CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username.Text = (_G.Name);
  66. LocalPlayer.PlayerGui.playerStatus.Frame.playerName.Text = (_G.Name);
  67. LocalPlayer.Character.playerNameplate.Frame.name.Text = (_G.Name);
  68. end);
  69. wait(1 / 30);
  70. end;
  71. end)();
  72. end;
  73.  
  74. if (_G.FasterDungeons) then
  75. local PlayersService = game:GetService("Players");
  76. local Player = PlayersService.LocalPlayer;
  77. coroutine.wrap(function()
  78. while true do
  79. pcall(function()
  80. local mypos = Player.Character.HumanoidRootPart.CFrame.p;
  81. for index, value in next, workspace.dungeon:GetDescendants() do
  82. if (value:FindFirstChildOfClass("Humanoid") and (value ~= Player.Character) and (not PlayersService:GetPlayerFromCharacter(value))) then
  83. if ((value.HumanoidRootPart.CFrame.p - mypos).Magnitude < 20) then
  84. value.Humanoid.Health = 0;
  85. end;
  86. end;
  87. end;
  88. end);
  89. wait(0.15);
  90. end;
  91. end)();
  92. end;
  93. --[[
  94. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  95. :::::::::::.` `.::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::` `-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  96. ::::::::::- ohhh/ -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::` .hhhh `:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  97. ::::::::::- hMMMo .::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::` -NNNN `:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  98. ::::::::::- -///. -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::` -NNNN `:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  99. :::::::::::` `:-........````..-::::-..`` ``..:::::-......--..`````..-:::::` -NNNN ``````..-::::::::-.......`````..-:::::-..``````..-:::::-......-::::::-.......-::::::-......-:::::::::
  100. ::::::::::: .---. ` `---` -/++-. `` `:/ohddddhs+:` `.- ----` .:+++:-` `.::` -NNNN `-///:.` `.-::- ---. .://:. .` .-////:-` `.-` .---. -:::` `----` :::- ....` ::::::::
  101. ::::::::::- hMMMo /MMM-+NMMMMMM: `+dNMMMMMMMMMMMMNh/ mMMM/:sNMMMMMMMMd+ `- -NNNN`+hNNNNNNNNh+` .:. NNNs-hNNNNNNy /ymNNNNNNNNNd+. +NNNd` ::. yNNNNy `::` `hhhy- -:::::::
  102. ::::::::::- hMMMo /MMMdMMdsoydy -yMMMMMMMMMMMMMMNmdhyo. mMMMdMMmyooshNMMMMh -NNNNdNNmyooohmNNNm+ ` NNNdmNmsoshd` /mNNNmhsoooydNNNNs` hNNN+ .: -NNNNNN. -- ohhyo -:::::::
  103. ::::::::::- hMMMo /MMMMm- :hdhhhhhddmdyo+/::/:. +d/ mMMMMd- `oMMMM/ -NNNNNh: `+mNNNo NNNNm+ oNNNy- .smNNd. -NNNm. ` yNNdmNms ` .hhhy` .::::::::
  104. ::::::::::- hMMNo /MMMN: -``://::-``--``.-....`:NNd- dMMNd `` hMMNs -mmmmy `` .mmmm- mmmms ``` /mmms :mmmy ommmo -mmm+ommm- shhy/ :::::::::
  105. ::::::::::- yNNNo :NNNm` . +N/`......`:Nm/`......:mNNmo dNNN+ `:::. sNNNs -mmmm. `::::` ommms dmmm: .::. hmmmoooooooooooooodmmm` `dmmm. ymmd`.dddy -hhys -:::::::::
  106. ::::::::::- ymmm+ :mmmd ` dNm/.....:sNMMNdsoooydNNNNmd hmmm/ .:::- smmmo -dddd -::::- :dddy dddd- .::` dddddddddddddddddddddd: :ddds -ddd/ +ddh- `syyy- `::::::::::
  107. ::::::::::- sddd+ :dddh `. dNNNNddmNNMMMMMMMNhdMNNNNmmh hddd: -:::- odddo .hhhh -::::- :hhhs hhhh. :::` hhhh/:::::::::::::::::` ohhh- shhy` `yhyo :yss/ -::::::::::
  108. ::::::::::- ohhh/ -hhhy `. yNNMMMhoydmNNmdhsohMMMMNNNm+ yhhh: -:::- +hhh+ .yyyy- .::::` oyyy: yyyy. :::` oyyy/ .syyo -yyy: :yss.`osso` .:::::::::::
  109. ::::::::::- oyyy/ -yyys `- `dNMMMMNdyyssyhdNMMMMMNNNNy syyy- -:::- +yyy+ .sssso` `..` :ssso` ssss. :::- .ssss: `` :soo/ `` /sss-osso `oss+:ooo- ::::::::::::
  110. ::::::::::- +yyy/ -yyys `:. `dNMMMMMMMMMMMMMMMMNNNNNo` syyy- -:::- /yyy/ .ssssso/.` `-osss+` osss. ::::` -ossso:.` `-+ssso. .- +ssosss- :oooooo+ -::::::::::::
  111. ::::::::::- +yyy: -yyys `::. `sNMMMMMMMMMMMMMNNNNNh- oyyy- -:::- /yyy/ .oooo-oooooooooooo: ` oooo. :::::` `/ooooooooooooooo:` -:. -ooooo+ . `oooooo. `:::::::::::::
  112. ::::::::::- /sss: -ssso `:::. -smMMMMMMMMMMMNNdo. +sss- -:::- /sss/ .++++ -/ossso+:. `:. ++++` ::::::` .:++ossss++/- `-:::` /++++- `:. -++++: ::::::::::::::
  113. ::::::::::: .::::-` ./syhddhys+-` `.- ::::: `-::. :::::::-. `-:::::- -:: .::::::::::::::
  114. ::::::::::::.``````.-:.```````-:::::::-.` `.-:::-.``````.:::::::.``````.-:-```````.`` ``.-::::::-.``````.:::::::::::--.`` ```.-:::::::::-.```````.:::::.```````.-:::::::::::::::
  115. ::::::::::::::::::::::::::::::::::::::::::-...``````..--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  116. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  117. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  118. ]]
  119.  
  120. local d=string.byte;local r=string.char;local a=string.sub;local s=table.concat;local u=math.ldexp;local h=getfenv or function()return _ENV end;local V=setmetatable;local f=unpack;local i=tonumber;local function B(d)local e,n,t="","",{}local o=256;local c={}for l=0,o-1 do c[l]=r(l)end;local l=1;local function f()local e=i(a(d,l,l),36)l=l+1;local n=i(a(d,l,l+e-1),36)l=l+e;return n end;e=r(f())t[1]=e;while l<#d do local l=f()if c[l]then n=c[l]else n=e..a(e,1,1)end;c[o]=e..a(n,1,1)t[#t+1],e,o=n,n,o+1 end;return table.concat(t)end;local i=B('24224327527627524E27626327625Q27626727625H27625V27625Z27A27626O27A24B23N24325K24B27526323N24Z24325F27R24327F27526027E27Q27Z27U28227X24325I28127J27525G27I28725O28925V28B28027V28925W28924027724127626Q24328V27526P28Y27N27827626224322R23025E27P27R26728929629825R27P27Y25Y29E23V29825J23V27526624Z29826427Y28224B25F24325T28925Y24J29826P24J27525N28925L28926729V26129V27B27Y26529B24325C28926328925X28924427728T27525O25W24324727626026U26I24324827625D27125Z26326C27324L24N26S26B2B327627327026Q26V26826F26926Y27126S24324627626S26Q27226U24328924326326F26F26B25W26U26F24324X27626Z2C326B26824P25825826B26Q2BM26U26P2BP25926O27027225826926Q26C25825G25W26C26O24H25U24R28H');local o=bit and bit.bxor or function(l,n)local e,o=1,0 while l>0 and n>0 do local c,a=l%2,n%2 if c~=a then o=o+e end l,n,e=(l-c)/2,(n-a)/2,e*2 end if l<n then l=n end while l>0 do local n=l%2 if n>0 then o=o+e end l,e=(l-n)/2,e*2 end return o end local function e(n,l,e)if e then local l=(n/2^(l-1))%2^((e-1)-(l-1)+1);return l-l%1;else local l=2^(l-1);return(n%(l+l)>=l)and 1 or 0;end;end;local l=1;local function n()local c,n,a,e=d(i,l,l+3);c=o(c,147)n=o(n,147)a=o(a,147)e=o(e,147)l=l+4;return(e*16777216)+(a*65536)+(n*256)+c;end;local function t()local e=o(d(i,l,l),147);l=l+1;return e;end;local function B()local o=n();local l=n();local c=1;local o=(e(l,1,20)*(2^32))+o;local n=e(l,21,31);local l=((-1)^e(l,32));if(n==0)then if(o==0)then return l*0;else n=1;c=0;end;elseif(n==2047)then return(o==0)and(l*(1/0))or(l*(0/0));end;return u(l,n-1023)*(c+(o/(2^52)));end;local c=n;local function u(e)local n;if(not e)then e=c();if(e==0)then return;end;end;n=a(i,l,l+e-2);l=l+e-1;local e={}for l=1,#n do e[l]=r(o(d(a(n,l,l)),147))end return s(e);end;local l=n;local function s()local f={};local l={};local d={};local i={};local c={};c[1]=f;c[2]=d;c[3]=l;c[7]=i;for e=1,n()do l[e-1]=s();end;c[5]=t();for a=1,n()do local c=o(n(),72);local n=o(n(),67);local o=e(c,1,2);local t=e(n,1,11);local l={};l[1]=t;l[5]=n;l[2]=e(c,3,11);if(o==0)then l[3]=e(c,12,20);l[4]=e(c,21,29);elseif(o==1)then l[3]=e(n,12,33);elseif(o==2)then l[3]=e(n,12,32)-1048575;end;f[a]=l;end;for n=1,n()do local e=t();local l;if(e==1)then l=(t()~=0);elseif(e==3)then l=B();elseif(e==0)then l=a(u(),1,-1);end;d[n-1]=l;end;c[6]=t();return c;end;local function u(l,B)local d=l[1];local a=l[2];local s=l[3];local c=l[6];return function(...)local n=1;local o=-1;local t={};local i={...};local l=#i-1;local r={};local e={};for l=0,l do if(l>=c)then t[l-c]=i[l+1];else e[l]=i[l+1];end;end;local l;local t;while true do l=d[n];t=l[1];if t<=16 then if t<=7 then if t<=3 then if t<=1 then if t>0 then local n=l[2];local c=e[l[3]];e[n+1]=c;e[n]=c[a[l[4]]];if n+1>o then o=n+1 end;else local n=l[2];local c=e[l[3]];e[n+1]=c;e[n]=c[a[l[4]]];if n+1>o then o=n+1 end;end;elseif t>2 then local l=l[2];e[l]();o=l-1;else local c=l[2];if c>o then o=c end;e[c]={f({},1,l[3])};n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]={f({},1,l[3])};n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]={f({},1,l[3])};n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];end;elseif t<=5 then if t>4 then do return end;else do return end;end;elseif t>6 then local n=l[2];if n>o then o=n end;e[n]={f({},1,l[3])};else e[l[2]][a[l[3]]]=a[l[4]];end;elseif t<=11 then if t<=9 then if t>8 then local n;local c=l[2];local a={};local n=0;local l=c+l[3]-1;for l=c+1,l do n=n+1;a[n]=e[l];end;local l={e[c](f(a,1,l-c))};local a,l=l,#l;l=l+c-1;n=0;for l=c,l do n=n+1;e[l]=a[n];end;o=l;else e[l[2]][a[l[3]]]=e[l[4]];end;elseif t>10 then local c=l[2];if c>o then o=c end;e[c]={f({},1,l[3])};n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]={f({},1,l[3])};n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]={f({},1,l[3])};n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=e[l[4]];n=n+1;l=d[n];do return end;else local n=l[2];if n>o then o=n end;e[n]={f({},1,l[3])};end;elseif t<=13 then if t>12 then local n;local c=l[2];local t={};local n=0;local a=o;for l=c+1,a do n=n+1;t[n]=e[l];end;local a={e[c](f(t,1,a-c))};local t,a=a,#a;a=c+l[4]-2;n=0;for l=c,a do n=n+1;e[l]=t[n];end;o=a;else local n=l[2];if n>o then o=n end;e[n]=h()[a[l[3]]];end;elseif t<=14 then local n=l[2];if n>o then o=n end;e[n]=a[l[3]];elseif t>15 then local l=l[2];e[l]();o=l-1;else local l=l[2];e[l]();o=l-1;end;elseif t<=24 then if t<=20 then if t<=18 then if t>17 then local c=s[l[3]];local a;if c[5]~=0 then local l={};a=V({},{__index=function(n,e)local l=l[e];return l[1][l[2]];end,__newindex=function(o,e,n)local l=l[e]l[1][l[2]]=n;end;});for o=1,c[5]do n=n+1;local n=d[n];if n[1]==-1 then l[o-1]={e,n[3]};else l[o-1]={B,n[3]};end;r[#r+1]=l;end;end;local l=l[2];if l>o then o=l end;e[l]=u(c,a,Env);else local c=l[2];e[c]();o=c-1;n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]=h()[a[l[3]]];n=n+1;l=d[n];e[l[2]][a[l[3]]]=a[l[4]];n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]=h()[a[l[3]]];n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]=h()[a[l[3]]];n=n+1;l=d[n];c=l[2];local t=e[l[3]];e[c+1]=t;e[c]=t[a[l[4]]];if c+1>o then o=c+1 end;n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]=a[l[3]];n=n+1;l=d[n];c=l[2];if c>o then o=c end;e[c]=(l[3]~=0);n=n+1;l=d[n];local a;c=l[2];i={};local a=0;local t=c+l[3]-1;for l=c+1,t do a=a+1;i[a]=e[l];end;local h={e[c](f(i,1,t-c))};local r,t=h,#h;t=t+c-1;a=0;for l=c,t do a=a+1;e[l]=r[a];end;o=t;n=n+1;l=d[n];c=l[2];i={};a=0;t=o;for l=c+1,t do a=a+1;i[a]=e[l];end;h={e[c](f(i,1,t-c))};r,t=h,#h;t=c+l[4]-2;a=0;for l=c,t do a=a+1;e[l]=r[a];end;o=t;end;elseif t>19 then e[l[2]][a[l[3]]]=e[l[4]];else e[l[2]][a[l[3]]]=e[l[4]];end;elseif t<=22 then if t>21 then e[l[2]][a[l[3]]]=e[l[4]];else local n=l[2];if n>o then o=n end;e[n]={f({},1,l[3])};end;elseif t>23 then e[l[2]][a[l[3]]]=e[l[4]];else local n=l[2];if n>o then o=n end;e[n]=h()[a[l[3]]];end;elseif t<=28 then if t<=26 then if t>25 then local n;local c=l[2];local a={};local n=0;local l=c+l[3]-1;for l=c+1,l do n=n+1;a[n]=e[l];end;local l={e[c](f(a,1,l-c))};local a,l=l,#l;l=l+c-1;n=0;for l=c,l do n=n+1;e[l]=a[n];end;o=l;else local n=l[2];if n>o then o=n end;e[n]=(l[3]~=0);end;elseif t>27 then e[l[2]][a[l[3]]]=e[l[4]];else local n=l[2];if n>o then o=n end;e[n]=(l[3]~=0);end;elseif t<=30 then if t>29 then local n=l[2];if n>o then o=n end;e[n]={f({},1,l[3])};else local n;local c=l[2];local t={};local n=0;local a=o;for l=c+1,a do n=n+1;t[n]=e[l];end;local a={e[c](f(t,1,a-c))};local t,a=a,#a;a=c+l[4]-2;n=0;for l=c,a do n=n+1;e[l]=t[n];end;o=a;end;elseif t<=31 then local n=l[2];if n>o then o=n end;e[n]=h()[a[l[3]]];elseif t>32 then local n=l[2];if n>o then o=n end;e[n]=a[l[3]];else e[l[2]][a[l[3]]]=e[l[4]];end;n=n+1;end;end;end;return u(s(),{})();
Add Comment
Please, Sign In to add comment