Advertisement
SealTheTiel

EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Jan 23rd, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 30.77 KB | None | 0 0
  1. pcall(function()
  2. if game:GetService('CoreGui'):FindFirstChild('FinityUI') then
  3.     game:GetService('CoreGui')['FinityUI']:Destroy()
  4. end
  5.  
  6. local ui = loadstring(game:HttpGetAsync("https://pastebin.com/raw/xpT46ucU"))()
  7. local main = ui.new(true, 'Sword Burst 2 GUI', UDim2.new(0,480,0,576))
  8. main.ChangeToggleKey(Enum.KeyCode.Semicolon)
  9. local RunService = game:GetService('RunService')
  10. local vu = game:GetService("VirtualUser")
  11. game:GetService("Players").LocalPlayer.Idled:connect(function()
  12.     vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  13.     wait(1)
  14.     vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  15. end)
  16.  
  17. local IsExploitSupported = false
  18. --if debug.getfenv() and debug.getupvalues() and (getgc() or get_gc_objects()) then IsExploitSupported = true end
  19.  
  20. function CheckGui()
  21.     if game:GetService('CoreGui'):FindFirstChild('FinityUI') then
  22.         return true
  23.     end
  24.     return false
  25. end
  26.  
  27. local Platform = Instance.new('Part',workspace)
  28. Platform.Size = Vector3.new(5,1,5)
  29. Platform.Anchored = true
  30. Platform.Transparency = 1
  31. --AUTOFARM
  32. --------------------------------------------------------------------------------------------------
  33. local Player = game:GetService('Players').LocalPlayer
  34. local PlrCharacter = Player.Character
  35. local PlrHumanoidRootPart = PlrCharacter:FindFirstChild('HumanoidRootPart')
  36. local noclip = false
  37. function Valid(model)
  38.   if(model.PrimaryPart and model:FindFirstChild("Entity") and model.Entity:FindFirstChild("Health") and model.Entity.Health.Value > 0 and model.Parent~=nil and model:FindFirstChild("Nameplate"))then
  39.     return true
  40.   else
  41.     return false  
  42.   end
  43. end
  44.  
  45. local BossMobs = {
  46.     ['Gorrock the Grove Protector'] = true,
  47.     ["Grim  the  Overseer"] = true,
  48.     ["Baal  The  Tormentor"] = true,
  49.     ["Formaug the Jungle Giant"] = true,
  50.     ["Hippogriff"] = true,
  51.     ["Smashroom"] = true,
  52.     ["Frogazoid"] = true,
  53.     ["Gargoyle Reaper"] = true,
  54.     ["Mortis the Flaming Sear"] = true,
  55.     ['Polyserpant'] = true,
  56.     ["Fire Scorpion"] = true,
  57.     ["Sa'jun the Centurian Chieftain"] = true,
  58.     ["Rotling"] = true,
  59.     ["Irath the Lion"] = true,
  60.     ["Alpha Icewhal"] = true,
  61.     ["Ra'thae the Ice King"] = true,
  62.     ["Qerach The Forgotten Golem"] = true,
  63.     ["Pearl Guardian"] = true,
  64.     ["Borik the BeeKeeper"] = true,
  65.     ["Dire Wolf"] = true,
  66.     ["Rahjin the Thief King"] = true
  67. }
  68.  
  69. local FilterMobs = {}
  70. local BossMode = false
  71. local FilterMode = false
  72. local PriorityMode = false
  73. local BreakMob = false
  74. function GetBossSpawn(name)
  75.     for k, mob in pairs(workspace.Mobs:GetChildren()) do
  76.         if Valid(mob) and BossMobs[tostring(mob)] == true and not (BossMobs[name] == true) then
  77.             if PriorityMode or BossMode then
  78.                 return true
  79.             end
  80.         end
  81.     end
  82.     return false
  83. end
  84.  
  85. function GetMob()
  86.     local mobs = {}
  87.     if PriorityMode == true then
  88.         for k, mob in pairs(workspace.Mobs:GetChildren()) do
  89.             if Valid(mob) and BossMobs[tostring(mob)] == true then
  90.                 table.insert(mobs, mob)
  91.                 return mob
  92.             end
  93.         end
  94.     end
  95.     if FilterMode == true then
  96.         for k, mob in pairs(workspace.Mobs:GetChildren()) do
  97.             if FilterMobs[tostring(mob)] and Valid(mob) then
  98.                 table.insert(mobs, mob)
  99.                 return mob
  100.             end
  101.         end
  102.         return mobs
  103.     end
  104.     for k, mob in pairs(workspace.Mobs:GetChildren()) do
  105.         if BossMode and Valid(mob) and BossMobs[tostring(mob)] == true then
  106.             table.insert(mobs, mob)
  107.             return mob
  108.         elseif BossMode == false and Valid(mob) then
  109.             table.insert(mobs, mob)
  110.             return mob
  111.         end
  112.     end
  113.     return 'none'
  114. end
  115.  
  116. local AutofarmEnabled = false
  117. RunService.Stepped:Connect(function()
  118.     local Players = game.Players
  119.     if noclip then
  120.         if Players.LocalPlayer.Character ~= nil then
  121.             for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
  122.                 if child:IsA("BasePart") and child.CanCollide == true then
  123.                     child.CanCollide = false
  124.                 end
  125.             end
  126.         end
  127.         PlrCharacter.Humanoid:ChangeState(11)
  128.     end
  129. end)
  130.  
  131. spawn(function()
  132.     while CheckGui() and wait(0.1) do
  133.         if noclip then
  134.         Platform.CFrame = CFrame.new(PlrHumanoidRootPart.CFrame * Vector3.new(0,2,0))   *CFrame.Angles(math.rad(PlrHumanoidRootPart.Rotation.X),math.rad(PlrHumanoidRootPart.Rotation.Y),math.rad(PlrHumanoidRootPart.Rotation.Z))
  135.         end
  136.     end
  137. end)
  138.  
  139. local defcamdist = tonumber(game.Players.LocalPlayer.CameraMaxZoomDistance)
  140. local floorCounter = 0
  141. local counterFloor = 0
  142. local limit = 200
  143. local Loopkill = false
  144. local SpectateMode = false
  145. coroutine.resume(coroutine.create(function()
  146.     while RunService.Heartbeat:Wait() and CheckGui() do
  147.         if AutofarmEnabled or SpectateMode then
  148.             game.Players.LocalPlayer.DevCameraOcclusionMode = 1
  149.             game.Players.LocalPlayer.CameraMaxZoomDistance = 500
  150.         else
  151.             game.Players.LocalPlayer.DevCameraOcclusionMode = 0
  152.             game.Players.LocalPlayer.CameraMaxZoomDistance = defcamdist
  153.         end
  154.     end
  155. end))
  156.  
  157. function Autofarm()
  158.     while CheckGui() and RunService.RenderStepped:Wait() and AutofarmEnabled do
  159.         if AutofarmEnabled and not Loopkill then
  160.             LoadArea()
  161.             if GetMob() ~= 'none' then
  162.                 local mob = GetMob()
  163.                 PlrHumanoidRootPart.CFrame = CFrame.new(Vector3.new(0,-50,0))
  164.                 --while Valid(mob) and AutofarmEnabled == true and CheckGui() and RunService.Heartbeat:Wait() do
  165.                     local charc = game.Players.LocalPlayer.Character
  166.                     if mob and mob:FindFirstChild('HumanoidRootPart') and charc then
  167.                         local a
  168.                         local angle
  169.                         if AboveMode == true then
  170.                             a = 25
  171.                             angle = 0
  172.                             if mob.Name == 'Ent' then
  173.                                 a = 30
  174.                             end
  175.                         else
  176.                             angle = 230
  177.                             a = -18
  178.                         PlrHumanoidRootPart.CFrame = CFrame.new(Vector3.new(mob:FindFirstChild('HumanoidRootPart').Position.X,mob:FindFirstChild('HumanoidRootPart').Position.Y+a,mob:FindFirstChild('HumanoidRootPart').Position.Z))*CFrame.Angles(0,math.rad(mob:FindFirstChild('HumanoidRootPart').Rotation.Y),0)*CFrame.Angles(math.rad(angle),0,0)
  179.                         end
  180.                     end
  181.                     --if GetBossSpawn(mob.Name) then
  182.                         --break
  183.                     --end
  184.                 --end
  185.                 counterFloor = limit - 5
  186.                 --break
  187.             end
  188.         end
  189.     end
  190. end
  191.  
  192. local LoadAreaIs = false
  193. local LoadAreaTeleports = {
  194.     [540240728] = { -- FLOOR nil
  195.     ['Boss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}},
  196.     ['Miniboss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}}
  197.     },
  198.     [737272595] = { -- FLOOR nil
  199.     ['Boss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}},
  200.     ['Miniboss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}}
  201.     },
  202.     [566212942] = { -- FLOOR nil
  203.     ['Boss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}},
  204.     ['Miniboss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}}
  205.     },
  206.     [2724077776] = { -- FLOOR nil
  207.     ['Boss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}},
  208.     ['Miniboss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}}
  209.     },
  210.     [2659143505] = { -- FLOOR 10
  211.     ['Boss'] = {['X'] = {24,184}, ['Y'] = 900, ['Z'] = {23785,23935}},
  212.     ['Miniboss'] = {['X'] = {-39,103}, ['Y'] = 219, ['Z'] = {18034,18208}}
  213.     },
  214.     [573267292] = { -- FLOOR 9
  215.     ['Boss'] = {['X'] = {12384,12432}, ['Y'] = 400, ['Z'] = {-3456,-3314}},
  216.     ['Miniboss'] = {['X'] = {-3609,-3586}, ['Y'] = 2862, ['Z'] = {-7781,-7615}}
  217.     },
  218.     [548878321] = { -- FLOOR 8
  219.     ['Boss'] = {['X'] = {1457,1656}, ['Y'] = 4060, ['Z'] = {7618,7838}},
  220.     ['Miniboss'] = {['X'] = {3758,3804}, ['Y'] = 5720, ['Z'] = {-9709,-9646}}
  221.     },
  222.     [582198062] = { -- FLOOR 7
  223.     ['Boss'] = {['X'] = {3321,3355}, ['Y'] = 700, ['Z'] = {-554,-439}},
  224.     ['Miniboss'] = {['X'] = {-243,-180}, ['Y'] = 1060, ['Z'] = {-723,-643}}
  225.     },
  226.     [580239979] = { -- FLOOR 5
  227.     ['Boss'] = {['X'] = {2132,2281}, ['Y'] = 1410, ['Z'] = {-730,-487}},
  228.     ['Miniboss'] = {['X'] = {-1025,-989}, ['Y'] = 4180, ['Z'] = {-2568,-2509}}
  229.     },
  230.     [572487908] = { -- FLOOR 4
  231.     ['Boss'] = {['X'] = {-2380,-2268}, ['Y'] = 2040, ['Z'] = {36,148}},
  232.     ['Miniboss'] = {['X'] = {-1376,-1320}, ['Y'] = 5130, ['Z'] = {-513,-459}}
  233.     },
  234.     [555980327] = { -- FLOOR 3
  235.     ['Boss'] = {['X'] = {-464,-301}, ['Y'] = 4257, ['Z'] = {-316,-303}},
  236.     ['Miniboss'] = {['X'] = {1096,1188}, ['Y'] = 6620, ['Z'] = {2071,2103}}
  237.     },
  238.     [548231754] = { -- FLOOR 2
  239.     ['Boss'] = {['X'] = {-3018,-2960}, ['Y'] = 85, ['Z'] = {-9421,-9158}},
  240.     ['Miniboss'] = {['X'] = {-3835,-3595}, ['Y'] = 120, ['Z'] = {-2531,-2369}}
  241.     },
  242.     [542351431] = { -- FLOOR 1
  243.     ['Boss'] = {['X'] = {-1984,-1882}, ['Y'] = 295, ['Z'] = {1666,1766}},
  244.     ['Miniboss'] = {['X'] = {715,772}, ['Y'] = 625, ['Z'] = {1205,1211}}
  245.     },
  246.     [0] = { -- FLOOR 1
  247.     ['Boss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}},
  248.     ['Miniboss'] = {['X'] = {0,0}, ['Y'] = 0, ['Z'] = {0,0}}
  249.     }
  250. }
  251.  
  252. local flr = game.PlaceId
  253. local TpCoords = LoadAreaTeleports[flr].Boss
  254. local CoordsX = math.random(TpCoords.X[1],TpCoords.X[2])
  255. local CoordsY = TpCoords.Y
  256. local CoordsZ = math.random(TpCoords.Z[1],TpCoords.Z[2])
  257. function LoadArea()
  258.     noclip = true
  259.     if LoadAreaIs then
  260.         if counterFloor == limit then
  261.             if floorCounter == 0 then
  262.                 floorCounter = 1
  263.                 TpCoords = LoadAreaTeleports[flr].Boss
  264.                 CoordsX = math.random(TpCoords.X[1],TpCoords.X[2])
  265.                 CoordsY = TpCoords.Y
  266.                 CoordsZ = math.random(TpCoords.Z[1],TpCoords.Z[2])
  267.             else
  268.                 floorCounter = 0
  269.                 TpCoords = LoadAreaTeleports[flr].Miniboss
  270.                 CoordsX = math.random(TpCoords.X[1],TpCoords.X[2])
  271.                 CoordsY = TpCoords.Y
  272.                 CoordsZ = math.random(TpCoords.Z[1],TpCoords.Z[2])
  273.             end
  274.             counterFloor = 0
  275.         end
  276.         counterFloor = counterFloor + 1
  277.         PlrHumanoidRootPart.CFrame = CFrame.new(Vector3.new(CoordsX,CoordsY,CoordsZ))*CFrame.Angles(math.rad(230),0,0)
  278.     end
  279. end
  280.  
  281. coroutine.resume(coroutine.create(Autofarm))
  282. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  283.     if AutofarmEnabled then
  284.         noclip = false
  285.         wait(0.5)
  286.         noclip = true
  287.     end
  288.     wait(0.5)
  289.     Player = game:GetService('Players').LocalPlayer
  290.     PlrCharacter = Player.Character
  291.     PlrHumanoidRootPart = PlrCharacter:FindFirstChild('HumanoidRootPart')
  292. end)
  293.  
  294. --ATTACK
  295. --------------------------------------------------------------------------------
  296.  
  297.  
  298. local attackingmob = false
  299. local Attacking = false
  300. local PlayerAttacking = false
  301. local skillname = 'Leaping Slash'
  302.  
  303. local Services
  304. local DamageArea
  305. local new
  306. local c
  307. local getreg = debug.getregistry
  308. local getupvalues = debug.getupvalues
  309. for k, v in pairs(getreg()) do
  310.     if type(v) == 'table' then
  311.         if v.DamageArea then DamageArea = v.DamageArea end
  312.     end
  313. end
  314.  
  315. local keys = getupvalues(getupvalues(DamageArea)[6])[1]
  316. local rpcKey = getupvalues(DamageArea)[5]
  317. local rpcKeyLog = rpcKey
  318. local refilling = false
  319.  
  320. local function getKey()
  321.     local newKey
  322.     rpcKey = getupvalues(DamageArea)[5]
  323.     if #keys > 0 then
  324.         newKey = keys[#keys]
  325.         table.remove(keys,#keys)
  326.     else
  327.         newKey = '00'
  328.     end
  329.     local new = game.ReplicatedStorage.Function:InvokeServer("Combat", rpcKey, {"RefillKeys", newKey})
  330.     if new then
  331.         for i, v in pairs(new) do
  332.             keys[#keys+1] = v
  333.         end
  334.     end
  335.     return newKey
  336. end
  337.  
  338. Initialized = true
  339. function InitializeAoE()
  340.     Initialized = false
  341.     if GetItemType(GetRightWeapon()) ~= 'Katana' then
  342.         local Inv = game.ReplicatedStorage.Profiles[Player.Name].Inventory:GetChildren()
  343.         local Weapon = GetRightWeapon()
  344.         local Weapon2 = GetLeftWeapon()
  345.         for a, b in pairs(Inv) do
  346.             if GetItemType(b) == 'Katana' then
  347.                 game:GetService("ReplicatedStorage").Function:InvokeServer('Equipment', {'EquipWeapon', b,'Right'})
  348.                 game:GetService("ReplicatedStorage").Event:FireServer('Skills', {'UseSkill' ,skillname})
  349.                 game:GetService("ReplicatedStorage").Function:InvokeServer('Equipment', {'EquipWeapon', Weapon,'Right'})
  350.                 if Weapon2 ~= nil then game:GetService("ReplicatedStorage").Function:InvokeServer('Equipment', {'EquipWeapon', Weapon2 ,'Left'}) end
  351.                 break
  352.             end
  353.         end
  354.     else
  355.         game:GetService("ReplicatedStorage").Event:FireServer('Skills', {'UseSkill' ,skillname})
  356.     end
  357. end
  358.  
  359. function AttackEntity(entity)
  360.     game:GetService("ReplicatedStorage").Event:FireServer('Skills', {'UseSkill' ,skillname})
  361.     return game:GetService("ReplicatedStorage").Event:FireServer("Combat", rpcKey, {"Attack", skillname, entity, getKey()})
  362. end
  363.  
  364. local Range = 30
  365. function getMobRange()
  366.     local mobs = {}
  367.     for k, mob in pairs(workspace.Mobs:GetChildren()) do
  368.         if mob.PrimaryPart and (PlrHumanoidRootPart.Position - mob:GetPrimaryPartCFrame().Position).magnitude < Range and mob.Entity.Health.Value > 0 then
  369.             table.insert(mobs,mob)
  370.         end
  371.     end
  372.     return mobs
  373. end
  374.  
  375. function Attack()
  376.     local atk
  377.     atk = RunService.Heartbeat:Connect(function()
  378.         if Attacking and CheckGui() then
  379.             if Initialized then InitializeAoE() end
  380.             for k, mob in pairs(getMobRange()) do
  381.                 attackingmob = true
  382.                 AttackEntity(mob,true)
  383.             end
  384.             if getMobRange()[1] == nil then
  385.                 attackingmob = false
  386.             end
  387.         else
  388.             atk:Disconnect()
  389.         end
  390.     end)
  391. end
  392.  
  393.  
  394. function GetPlayerList()
  395.     local targets = {}
  396.     for k, enemy in pairs(game.Players:GetChildren()) do
  397.         if enemy.Name ~= 'Mornicay123' and enemy.Name ~= 'DontFlagMePls' and enemy.Name ~= game.Players.LocalPlayer.Name and workspace:FindFirstChild(enemy.Name) and  workspace:FindFirstChild(enemy.Name):FindFirstChild('HumanoidRootPart') then
  398.             if workspace[enemy.Name].Entity.Health.Value > 0 and (game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart').Position - workspace[enemy.Name]:FindFirstChild('HumanoidRootPart').Position).Magnitude <= Range then
  399.                 table.insert(targets, enemy)
  400.             end
  401.         end
  402.     end
  403.     return targets
  404. end
  405.  
  406. function AttackPlayer()
  407.     local atk
  408.     atk = RunService.Heartbeat:Connect(function()
  409.         if PlayerAttacking and CheckGui() then
  410.             if Initialized then InitializeAoE() end
  411.             for k, enemy in pairs(GetPlayerList()) do
  412.                 AttackEntity(workspace[enemy.Name],true)
  413.             end
  414.         else
  415.             atk:Disconnect()
  416.         end
  417.     end)
  418. end
  419.  
  420.  
  421. --Items
  422. -----------------------------------------------------------------------------------------------
  423. function GetRightWeapon()
  424.     local ItemId = game.ReplicatedStorage.Profiles[Player.Name].Equip.Right.Value
  425.     local Inv = game.ReplicatedStorage.Profiles[Player.Name].Inventory:GetChildren()
  426.     for i, v in pairs(Inv) do
  427.         if v.Value == ItemId then
  428.         return v
  429.         end
  430.     end
  431. end
  432. function GetLeftWeapon()
  433.     local ItemId = game.ReplicatedStorage.Profiles[Player.Name].Equip.Left.Value
  434.     if tonumber(ItemId) == 0 then return nil end
  435.     local Inv = game.ReplicatedStorage.Profiles[Player.Name].Inventory:GetChildren()
  436.     for i, v in pairs(Inv) do
  437.         if v.Value == ItemId then
  438.         return v
  439.         end
  440.     end
  441. end
  442.  
  443. function GetItemType(Item)
  444.     if game.ReplicatedStorage.Database.Items[tostring(Item)]:FindFirstChild('Class') then return game.ReplicatedStorage.Database.Items[tostring(Item)]:FindFirstChild('Class').Value end
  445. end
  446.  
  447. function GetRarity(Item)
  448.     return game.ReplicatedStorage.Database.Items[tostring(Item)].Rarity.Value
  449. end
  450. local autoDismantler = false
  451. local DismantleFilter = {
  452.     ['Common'] = false,
  453.     ['Uncommon'] = false,
  454.     ['Rare'] = false,
  455.     ['Legendary'] = false
  456. }
  457. game.ReplicatedStorage.Profiles[Player.Name].Inventory.ChildAdded:Connect(function(item)
  458.     if autoDismantler == true and CheckGui() then
  459.         local Rarity = GetRarity(item.Name)
  460.         if DismantleFilter[tostring(Rarity)] == true then
  461.             game.ReplicatedStorage.Event:FireServer("Equipment", {"Dismantle", item})
  462.         end
  463.     end
  464. end)
  465.  
  466. --Teleports
  467. ----------------------------------------------------------------------------------------------
  468. local flr = tostring(game.PlaceId)
  469. local BossNames = {
  470.     ['542351431'] = {['Name'] = 'Rahjin the Thief King', ['X'] = -3059, ['Y'] = -163, ['Z'] = 1154},
  471.     ['548231754'] = {['Name'] = 'Borik the BeeKeeper', ['X'] = -2963, ['Y'] = 180, ['Z'] = -9127},
  472.     ['555980327'] = {['Name'] = "Ra'thae the Ice King", ['X'] = -385, ['Y'] = 4268, ['Z'] = -409},
  473.     ['572487908'] = {['Name'] = 'Irath the Lion', ['X'] = -2313, ['Y'] = 2190, ['Z'] = 240},
  474.     ['580239979'] = {['Name'] = "Sa'jun the Centurian Chieftain", ['X'] = 2188, ['Y'] = 1308, ['Z'] = -396},
  475.     ['582198062'] = {['Name'] = 'Smashroom', ['X'] = 3342, ['Y'] = 745, ['Z'] = -310},
  476.     ['548878321'] = {['Name'] = 'Formaug the Jungle Giant', ['X'] = 1412, ['Y'] = 4134, ['Z'] = 7725},
  477.     ['573267292'] = {['Name'] = 'Mortis the Flaming Sear', ['X'] = 12576, ['Y'] = 466, ['Z'] = -3112},
  478.     ['2659143505'] = {['Name'] = 'Grim the Overseer', ['X'] = 110, ['Y'] = 997, ['Z'] = 23701}
  479. }
  480.  
  481. local MiniBossNames = {
  482.     ['542351431'] = {['Name'] = 'Dire Wolf', ['X'] = 759, ['Y'] = 645, ['Z'] = 1238},
  483.     ['548231754'] = {['Name'] = 'Pearl Guardian', ['X'] = -3852, ['Y'] = 160, ['Z'] = -2558},
  484.     ['555980327'] = {['Name'] = 'Alpha Ice Whal', ['X'] = 1118, ['Y'] = 6643, ['Z'] = 2143},
  485.     ['572487908'] = {['Name'] = 'Rotling', ['X'] = -1335, ['Y'] = 5165, ['Z'] = -523},
  486.     ['580239979'] = {['Name'] = 'Fire Scorpion', ['X'] = 1603, ['Y'] = 1460, ['Z'] = -4954},
  487.     ['582198062'] = {['Name'] = 'Frogazoid', ['X'] = 165, ['Y'] = 1199, ['Z'] = -172},
  488.     ['548878321'] = {['Name'] = 'Hippogriff', ['X'] = 3880, ['Y'] = 5732, ['Z'] = -9591},
  489.     ['573267292'] = {['Name'] = 'Gargoyle Reaper', ['X'] = -3362, ['Y'] = 2895, ['Z'] = -7680},
  490.     ['2659143505'] = {['Name'] = 'Baal', ['X'] = -94, ['Y'] = 366, ['Z'] = 18108}
  491. }
  492.  
  493. --GUI
  494. -----------------------------------------------------------------------------------------------
  495. --main menu
  496. local MainMenu = main:Category('Main')
  497.  
  498. local AutoFarmSection = MainMenu:Sector('Auto-Farm')
  499. AutoFarmSection:Cheat(
  500.     'Checkbox',
  501.     'Enabled',
  502.     function(State)
  503.         AutofarmEnabled = State
  504.         noclip = State
  505.         counterFloor = limit - 10
  506.         coroutine.resume(coroutine.create(Autofarm))
  507.     end
  508. )
  509.  
  510. AutoFarmSection:Cheat(
  511.     'Checkbox',
  512.     'Above Mode',
  513.     function(State)
  514.         AboveMode = State
  515.     end
  516. )
  517.  
  518. AutoFarmSection:Cheat(
  519.     'Checkbox',
  520.     'Boss/Miniboss Only',
  521.     function(State)
  522.         BossMode = State
  523.     end
  524. )
  525.  
  526. AutoFarmSection:Cheat(
  527.     'Checkbox',
  528.     'Prioritize Boss/Miniboss',
  529.     function(State)
  530.         PriorityMode = State
  531.     end
  532. )
  533.  
  534. AutoFarmSection:Cheat(
  535.     'Checkbox',
  536.     'Filter Mobs',
  537.     function(State)
  538.         FilterMode = State
  539.     end
  540. )
  541.  
  542. AutoFarmSection:Cheat(
  543.     'Checkbox',
  544.     'Load Boss Area',
  545.     function(State)
  546.         LoadAreaIs = State
  547.     end
  548. )
  549.  
  550. local spacer5 = MainMenu:Sector(' ')
  551. local AoESection = MainMenu:Sector('Kill Auras')
  552. AoESection:Cheat(
  553.     'Checkbox',
  554.     'Mob AoE',
  555.     function(State)
  556.         Attacking = State
  557.         coroutine.resume(coroutine.create(Attack))
  558.     end
  559. )
  560.  
  561. AoESection:Cheat(
  562.     'Checkbox',
  563.     'Player AoE',
  564.     function(State)
  565.         PlayerAttacking = State
  566.         coroutine.resume(coroutine.create(AttackPlayer))
  567.     end
  568. )
  569. --[[
  570. AoESection:Cheat(
  571.     'Slider',
  572.     'AoE Attack Speed',
  573.     function(Value)
  574.         AttackSpeed = (1/Value)
  575.     end,{
  576.         min = 2,
  577.         max = 30,
  578.         suffix = ' hits/s'
  579.     }
  580. )]]
  581. AoESection:Cheat(
  582.     'Slider',
  583.     'AoE Range',
  584.     function(Value)
  585.         Range = Value
  586.     end,{
  587.         min = 10,
  588.         max = 60,
  589.         suffix = ' studs'
  590.     }
  591. )
  592. AoESection:Cheat(
  593.     'Label',
  594.     'MUST HAVE A KATANA IN YOUR INVENTORY'
  595. )
  596.  
  597. local spacer2 = MainMenu:Sector(' ')
  598.  
  599. local DismantleSection = MainMenu:Sector('Auto - Dismantle')
  600. DismantleSection:Cheat(
  601.     'Checkbox',
  602.     'Enabled',
  603.     function(State)
  604.         autoDismantler = State
  605.     end
  606. )
  607. local raritieslist = {'Common','Uncommon','Rare','Legendary'}
  608. for i, v in pairs(raritieslist) do
  609.     DismantleSection:Cheat(
  610.     'Checkbox',
  611.     v,
  612.     function(State)
  613.         DismantleFilter[v] = State
  614.     end
  615.     )
  616. end
  617. local spacer8 = MainMenu:Sector(' ')
  618. local AnimationSection = MainMenu:Sector('Animation Selector')
  619. local anim1
  620. local anim2
  621. AnimationSection:Cheat(
  622.     'Dropdown',
  623.     'Swordtype',
  624.     function(Option)
  625.         anim1 = Option
  626.     end,{
  627.     options = {
  628.         'SingleSword',
  629.         '2HSword',
  630.         'Katana',
  631.         'Rapier',
  632.         'DualWield'
  633.     }}
  634. )
  635. AnimationSection:Cheat(
  636.     'Dropdown',
  637.     'Animation',
  638.     function(Option)
  639.         anim2 = Option
  640.     end,{
  641.     options = {
  642.         'Noble',
  643.         'Berserker',
  644.         'Ninja',
  645.         'Vigilante',
  646.         'SingleSword',
  647.         '2HSword',
  648.         'Katana',
  649.         'Rapier',
  650.         'DualWield'
  651.     }}
  652. )
  653. AnimationSection:Cheat(
  654.     'Button',
  655.     ' ',
  656.     function()
  657.         game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].AnimSettings[anim1].Value = anim2
  658.     end,
  659.     {text = 'Change'}
  660. )
  661.  
  662. local spacer4 = MainMenu:Sector(' ')
  663. local TargetPlayer
  664. local PlayerSection = MainMenu:Sector('Player Loop Killer')
  665. local PlayerList = PlayerSection:Cheat(
  666.     'Dropdown',
  667.     'Player to be killed',
  668.     function(Option)
  669.         TargetPlayer = Option
  670.     end,
  671.     {options = {}}
  672. )
  673. TargetPlayer = 'Who'
  674. PlayerList:SetValue('Who')
  675. for a, plr in pairs(game.Players:GetChildren()) do
  676.     if plr ~= game.Players.LocalPlayer then
  677.         PlayerList:AddOption(plr.Name)
  678.     end
  679. end
  680. game.Players.ChildAdded:Connect(function(Player)
  681.     if CheckGui() then
  682.         PlayerList:AddOption(Player.Name)
  683.     end
  684. end)
  685. game.Players.ChildRemoved:Connect(function(Player)
  686.     if CheckGui() then
  687.         PlayerList:RemoveOption(Player.Name)
  688.     end
  689. end)
  690. local SavePos
  691. PlayerSection:Cheat(
  692.     'Checkbox',
  693.     'Loop kill',
  694.     function(State)
  695.         Loopkill = State
  696.     end
  697.     )
  698. PlayerSection:Cheat(
  699.     'Checkbox',
  700.     'Spectate Player',
  701.     function(State)
  702.         SpectateMode = State
  703.     end
  704.     )
  705. coroutine.resume(coroutine.create(function()
  706.     while RunService.Heartbeat:Wait() and CheckGui() do
  707.         if SpectateMode and TargetPlayer ~= 'Who' and workspace:FindFirstChild(TargetPlayer) then
  708.             local a = workspace[TargetPlayer] or workspace[Player.Name]
  709.             workspace.CurrentCamera.CameraType = Enum.CameraType.Custom;
  710.             workspace.CurrentCamera.CameraSubject = workspace[TargetPlayer]:FindFirstChild('Humanoid');
  711.         else
  712.             workspace.CurrentCamera.CameraType = Enum.CameraType.Custom;
  713.             workspace.CurrentCamera.CameraSubject = PlrCharacter:FindFirstChild('Humanoid');
  714.         end
  715.     end
  716. end))
  717.  
  718. coroutine.resume(coroutine.create(function()
  719.     while RunService.Heartbeat:Wait() and CheckGui() do
  720.         if Loopkill and TargetPlayer ~= 'Who' then
  721.             local PlrHrp = workspace:FindFirstChild(TargetPlayer):FindFirstChild('HumanoidRootPart')
  722.             local PlrHp = workspace[TargetPlayer].Entity.Health.Value
  723.             SavePos = PlrHumanoidRootPart.CFrame
  724.             noclip = true
  725.             local looper
  726.             looper = RunService.Heartbeat:Connect(function()
  727.                 if CheckGui() or not Loopkill or workspace[TargetPlayer] == nil then looper:Disconnect() end
  728.                 AttackEntity(workspace[TargetPlayer],true)
  729.                 PlrHumanoidRootPart.CFrame = CFrame.new(PlrHrp.CFrame * Vector3.new(0, -20, 0))
  730.             end)
  731.             PlrHumanoidRootPart.CFrame = CFrame.new(SavePos * Vector3.new(0,0,0))
  732.             if not AutofarmEnabled then
  733.                 noclip = false
  734.             end
  735.         end
  736.     end
  737. end))  
  738.  
  739. local spacer10 = MainMenu:Sector(' ')
  740. if BossNames[flr] ~= nil then
  741. local TeleportSection = MainMenu:Sector('Teleports')
  742. TeleportSection:Cheat(
  743.     'Button',
  744.     BossNames[flr]['Name'],
  745.     function()
  746.     game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart').CFrame = CFrame.new(Vector3.new(BossNames[flr]['X'], BossNames[flr]['Y'], BossNames[flr]['Z']))
  747.     end,{
  748.         text = 'Teleport'
  749.     }
  750. )
  751.  
  752. TeleportSection:Cheat(
  753.     'Button',
  754.     MiniBossNames[flr]['Name'],
  755.     function()
  756.     game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart').CFrame = CFrame.new(Vector3.new(MiniBossNames[flr]['X'], MiniBossNames[flr]['Y'], MiniBossNames[flr]['Z']))
  757.     end,{
  758.         text = 'Teleport'
  759.     }
  760. )
  761. end
  762. local spacer3 = MainMenu:Sector(' ')
  763.  
  764. local CreditsSection = MainMenu:Sector('Credits')
  765. CreditsSection:Cheat(
  766.     'Label',
  767.     'QuantumWarper#2196 aka Styler12#2196 for the Scripts'
  768. )
  769. CreditsSection:Cheat(
  770.     'Label',
  771.     'Ririchi for some help'
  772. )
  773. CreditsSection:Cheat(
  774.     'Label',
  775.     'detourious for the epic Finity UI'
  776. )
  777.  
  778. local spacer9 = MainMenu:Sector('')
  779. local DebugSection = MainMenu:Sector('Debug')
  780. local CkeyCounter = DebugSection:Cheat('Dropdown','Combat Keys',function(Option) end,{options = {}})
  781. spawn(function()
  782.     while RunService.Heartbeat:Wait() and CheckGui() do
  783.         CkeyCounter:SetValue(#keys)
  784.     end
  785. end)
  786. local FPSCounter = DebugSection:Cheat('Dropdown','FPS',function(Option) end,{options = {}})
  787.  
  788. local Fps = 0
  789. spawn(function()
  790.     while wait(1) and CheckGui() do
  791.         FPSCounter:SetValue(Fps)
  792.         Fps = 0
  793.     end
  794. end)
  795. spawn(function()
  796.     while RunService.RenderStepped:Wait() and CheckGui() do
  797.         Fps = Fps +1
  798.     end
  799. end)
  800.  
  801.  
  802. local filtermenu = main:Category('Farm Filter')
  803. local FilterSection = filtermenu:Sector('List of Mobs')
  804.  
  805.  
  806. local EveryMobs = {
  807.     [542351431] = { --1
  808.         'Dire Wolf',
  809.         'Rahjin the Thief King',
  810.         'Frenzy Boar',
  811.         'Hermit Crab',
  812.         'Wolf',
  813.         'Bear',
  814.         'Ruin Knight',
  815.         'Draconite',
  816.         'Ruined Kobold Knight',
  817.         'Ruin Kobold Knight'
  818.     },
  819.     [548231754] = { --2
  820.         'Pearl Guardian',
  821.         'Borik the BeeKeeper',
  822.         'Gorrock the Grove Protector',
  823.         'Leaf Beetle',
  824.         'Leaf Ogre',
  825.         'Leafray',
  826.         'Pearl Keeper',
  827.         'Wasp',
  828.         'Bushback Tortoise',
  829.         'Giant Ruins Hornet'
  830.     },
  831.     [555980327] = { --3
  832.         'Alpha Icewhal',
  833.         "Ra'thae the Ice King",
  834.         'Snowgre',
  835.         'Angry Snowman',
  836.         'Icewhal',
  837.         'Item Crystal',
  838.         'Ice Elemental',
  839.         'Snowhorse',
  840.         'Ice Walker',
  841.         'Qerach the Forgotten Golem'
  842.     },
  843.     [572487908] = { --4
  844.         'Rotling',
  845.         'Irath the Lion',
  846.         'Wattlechin Crocodile',
  847.         'Treehorse',
  848.         'Birchman',
  849.         'Treeray',
  850.         'Bamboo Spiderling',
  851.         'Bamboo Spider',
  852.         'Dungeon Dweller',
  853.         'Boneling',
  854.         'Lion Protector'
  855.     },
  856.     [580239979] = { -- 5
  857.         'Fire Scorpion',
  858.         "Sa'jun the Centurian Chieftain",
  859.         'Girdled lizard',
  860.         'Angry Cactus',
  861.         'Desert Vulture',
  862.         'Sand Scorpion',
  863.         'Giant Centipede',
  864.         'Green Patrolman',
  865.         'Patrolman Elite',
  866.         'Centaurian Defender'
  867.     },
  868.     [582198062] = { -- 7
  869.         'Frogazoid',
  870.         'Smashroom',
  871.         'Jelly Wisp',
  872.         'Gloom Shroom',
  873.         'Shroom Back Clam',
  874.         'Horned Sailfin Iguana',
  875.         'Firefly',
  876.         'Snapper',
  877.         'Blightmouth'
  878.     },
  879.     [548878321] = { -- 8
  880.         'Hippogriff',
  881.         'Formaug the Jungle Giant',
  882.         'Giant Praying Mantis',
  883.         'Petal Knight',
  884.         'Leaf Rhino',
  885.         'Sky Raven',
  886.         'Forest Wanderer',
  887.         'Wingless Hippogriff',
  888.         'Dungeon Crusador',
  889.     },
  890.     [573267292] = { -- 9
  891.         'Gargoyle Reaper',
  892.         'Mortis the Flaming Sear',
  893.         'Batting Eye',
  894.         'Lingerer',
  895.         'Fishrock Spider',
  896.         'Ent',
  897.         'Reptasaurus',
  898.         'Polyserpant',
  899.         'Enraged Lingerer',
  900.         'Undead Warrior',
  901.         'Undead Berserker'
  902.     },
  903.     [2659143505] = {
  904.         'Baal  The  Tormentor',
  905.         'Grim  the  Overseer',
  906.         'Minion',
  907.         'Winged Minion',
  908.         'Grunt',
  909.         'Guard Hound',
  910.         'Clay Giant',
  911.         'Shady Villager',
  912.         'Wendigo',
  913.         'Undead Servant'
  914.     }
  915. }
  916. if EveryMobs[game.PlaceId] ~= nil then
  917.     for k, mob in pairs(EveryMobs[game.PlaceId]) do
  918.         FilterSection:Cheat(
  919.             'Checkbox',
  920.             mob,
  921.             function(State)
  922.                 FilterMobs[mob] = State
  923.             end
  924.         )
  925.         FilterMobs[mob] = false
  926.     end
  927. end
  928.  
  929. local dropsmenu = main:Category('Drops')
  930. local StatsSection = dropsmenu:Sector('Stats')
  931. local OriginalVel = game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].Stats.Vel.Value
  932. local OriginalExp = game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].Stats.Exp.Value
  933. local VelTracker = StatsSection:Cheat('Dropdown','Vel Earned',function(Option) end, {options = {}})
  934. local ExpTracker = StatsSection:Cheat('Dropdown','Experience Earned',function(Option) end, {options = {}})
  935. VelTracker:SetValue('0')
  936. ExpTracker:SetValue('0')
  937. game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].Stats.Vel.Changed:Connect(function()
  938.     if CheckGui() then
  939.         local NewVel = game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].Stats.Vel.Value - OriginalVel
  940.         VelTracker:SetValue(NewVel)
  941.     end
  942. end)
  943. game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].Stats.Exp.Changed:Connect(function()
  944.     if CheckGui() then
  945.         local NewExp = game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].Stats.Exp.Value - OriginalExp
  946.         ExpTracker:SetValue(NewExp)
  947.     end
  948. end)
  949. local spacer6 = dropsmenu:Sector('')
  950. local CrystalSection = dropsmenu:Sector('Auto Dismantled Crystals')
  951. local RarityCrystals = {
  952.     ['Common'] = CrystalSection:Cheat('Dropdown','Common',function(Option) end, {options = {}}),
  953.     ['Uncommon'] = CrystalSection:Cheat('Dropdown','Uncommon',function(Option) end, {options = {}}),
  954.     ['Rare'] = CrystalSection:Cheat('Dropdown','Rare',function(Option) end, {options = {}}),
  955.     ['Legendary'] = CrystalSection:Cheat('Dropdown','Legendary',function(Option) end, {options = {}})
  956. }
  957. RarityCrystals.Common:SetValue('0')
  958. RarityCrystals.Uncommon:SetValue('0')
  959. RarityCrystals.Rare:SetValue('0')
  960. RarityCrystals.Legendary:SetValue('0')
  961. local CrystalAmount = {
  962.     ['Common'] = 0,
  963.     ['Uncommon'] = 0,
  964.     ['Rare'] = 0,
  965.     ['Legendary'] = 0
  966. }
  967. local spacer7 = dropsmenu:Sector('')
  968. local DropsSection = dropsmenu:Sector('Items')
  969. local ObtainedItems = {}
  970. local AmountItems = {}
  971. local Inventory = game.ReplicatedStorage.Profiles[game.Players.LocalPlayer.Name].Inventory
  972. Inventory.ChildAdded:Connect(function(Item)
  973.     if CheckGui() then
  974.         if string.find(Item.Name, 'Upgrade') or string.find(Item.Name, 'Aura') then return end
  975.         if AmountItems[Item.Name] == nil then
  976.             ObtainedItems[Item.Name] = DropsSection:Cheat('Dropdown',Item.Name,function(Option) end, {options = {}})
  977.             ObtainedItems[Item.Name]:SetValue('1')
  978.             AmountItems[Item.Name] = 1
  979.             if autoDismantler and DismantleFilter[GetRarity(Item)] then
  980.                 CrystalAmount[GetRarity(Item)] = CrystalAmount[GetRarity(Item)] + 1
  981.                 RarityCrystals[GetRarity(Item)]:SetValue(CrystalAmount[GetRarity(Item)])
  982.             end
  983.         else
  984.             AmountItems[Item.Name] = AmountItems[Item.Name] + 1
  985.             ObtainedItems[Item.Name]:SetValue(AmountItems[Item.Name])
  986.             if autoDismantler and DismantleFilter[GetRarity(Item)] then
  987.                 CrystalAmount[GetRarity(Item)] = CrystalAmount[GetRarity(Item)] + 1
  988.                 RarityCrystals[GetRarity(Item)]:SetValue(CrystalAmount[GetRarity(Item)])
  989.             end
  990.         end
  991.     end
  992. end)
  993.  
  994. local floorsmenu = main:Category('Floor Teleports')
  995. local FloorsSection = floorsmenu:Sector('Floor Teleports')
  996. local FloorNames = {
  997.     [1] = {[1] = 540240728 ,[2] = '1 : Arcadia'},
  998.     [2] = {[1] = 542351431 ,[2] = '1 : Virhst Woodlands'},
  999.     [3] = {[1] = 737272595 ,[2] = '1 : Battle Arena'},
  1000.     [4] = {[1] = 548231754 ,[2] = '2 : Redveil Grove'},
  1001.     [5] = {[1] = 555980327 ,[2] = '3 : Avalanche Expanse'},
  1002.     [6] = {[1] = 572487908 ,[2] = '4 : Hidden Wilds'},
  1003.     [7] = {[1] = 580239979 ,[2] = '5 : Desolate Dunes'},
  1004.     [8] = {[1] = 566212942 ,[2] = '6 : Helmfirth'},
  1005.     [9] = {[1] = 582198062 ,[2] = '7 : Entoloma Gloomlands'},
  1006.     [10] = {[1] = 548878321 ,[2] = '8 : Blooming Plateau'},
  1007.     [11] = {[1] = 573267292 ,[2] = "9 : Va' Rok"},
  1008.     [12] = {[1] = 2659143505 ,[2]= '10 : Transylvania'},
  1009.     [13] = {[1] = 2724077776,[2] = 'Event Floor : Catacombs'}
  1010. }
  1011. FloorsSection:Cheat(
  1012.     'Button',
  1013.     'Rejoin Floor',
  1014.     function()
  1015.         local Id = game.PlaceId
  1016.         game:GetService("TeleportService"):Teleport(Id, game.Players.LocalPlayer,{auth = Id})
  1017.     end,
  1018.     {text = 'Teleport'}
  1019. )
  1020.  
  1021. for k=1, 13 do
  1022.     FloorsSection:Cheat(
  1023.         'Button',
  1024.         FloorNames[k][2],
  1025.         function()
  1026.             game:GetService("TeleportService"):Teleport(FloorNames[k][1], game.Players.LocalPlayer,{auth = FloorNames[k][1]})
  1027.         end,
  1028.         {text = 'Teleport'}
  1029.     )
  1030. end
  1031. local ChangelogMenu = main:Category('Changelog')
  1032.  
  1033. local ChangelogSection2_7_2020 = ChangelogMenu:Sector('February 7, 2020')
  1034. ChangelogSection2_7_2020:Cheat('Label','+Made Kill Aura more reliable')
  1035. ChangelogSection2_7_2020:Cheat('Label','-Removed AoE Speed')
  1036. ChangelogSection2_7_2020:Cheat('Label','~Tried to optimize Autofarm')
  1037.  
  1038. local ChangelogSection2_3_2020 = ChangelogMenu:Sector('February 3,2020')
  1039. ChangelogSection2_3_2020:Cheat('Label','+Made Kill Aura easier to use, no need to have a katana')
  1040. ChangelogSection2_3_2020:Cheat('Label',' equipped')
  1041.  
  1042. local ChangelogSection2_2_2020 = ChangelogMenu:Sector('Before February 3, 2020')
  1043. ChangelogSection2_2_2020:Cheat('Label','+ Initial Release and some undocumented changes')
  1044.  
  1045. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement