Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local dungeonquest = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local AutoFarm = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local ImageButton = Instance.new("ImageButton")
- local ImageButton_2 = Instance.new("ImageButton")
- local TextButton_4 = Instance.new("TextButton")
- local TextButton_5 = Instance.new("TextButton")
- local TextButton_6 = Instance.new("TextButton")
- local TextButton_7 = Instance.new("TextButton")
- local TextButton_8 = Instance.new("TextButton")
- --Properties:
- dungeonquest.Name = "dungeonquest"
- dungeonquest.Parent = game.CoreGui
- Main.Name = "Main"
- Main.Parent = dungeonquest
- Main.BackgroundColor3 = Color3.new(0.145098, 0.145098, 0.145098)
- Main.Position = UDim2.new(0.673049629, 0, 0.109693862, 0)
- Main.Size = UDim2.new(0, 319, 0, 438)
- Main.Style = Enum.FrameStyle.DropShadow
- AutoFarm.Name = "AutoFarm"
- AutoFarm.Parent = Main
- AutoFarm.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- AutoFarm.BorderSizePixel = 0
- AutoFarm.Position = UDim2.new(0.130170271, 0, 0.392302692, 0)
- AutoFarm.Size = UDim2.new(0, 223, 0, 50)
- AutoFarm.Font = Enum.Font.SourceSans
- AutoFarm.Text = "Auto Farm"
- AutoFarm.TextColor3 = Color3.new(1, 1, 1)
- AutoFarm.TextSize = 34
- AutoFarm.MouseButton1Down:connect(function()
- _G.WaitTime = 0
- ------Map------------
- _G.Map = "Samurai Palace"
- _G.Mode = "Nightmare"
- _G.Hardcore = true
- ----AutoSell---------
- _G.Autosell = false
- _G.DontSellRarities = {"Legendary", "Epic"}
- _G.DontSellItems = {"Battle Shout","..."}
- ----------------------
- local Player = game.Players.LocalPlayer
- local ok = 0
- local ok1 = -6.5
- local ok2 = 0
- wait(_G.WaitTime)
- local function NoYou()
- if game.Workspace:FindFirstChild("dungeon") then
- return
- end
- local A_1 = _G.Map
- local A_2 = _G.Mode
- local A_3 = 0
- local A_4 = _G.Hardcore
- local A_5 = true
- local A_6 = false
- local Event = game:GetService("ReplicatedStorage").remotes.createLobby
- game.ReplicatedStorage.remotes.loadPlayerCharacter:FireServer()
- wait(1.5)
- Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- end
- NoYou()
- local MainBoss = {
- ["Miyamoto Musashi"] = true
- }
- local HugeBoss = {
- ["Ancient Golem Guardian"] = true
- }
- local MiniBosses = {
- ["Demonic Overgrowth"] = true,
- ["Elder Dark Mage"] = true,
- ["Kolvumar"] = true,
- }
- local Pirate = {
- ["Captain Blackbeard"] = true
- }
- local Bosses = {
- ["Sand Giant"] = true,
- ["Spider Queen"] = true,
- }
- local OverpoweredBosses = {
- ["Demonic Pirate Captain"] = true,
- ["Beast Master"] = true,
- ["Arch-Mage"] = true,
- ["The King"] = true,
- ["Demonic Overgrowth"] = true,
- ["Kolvumar"] = true,
- ["Ice Elemental"] = true,
- ["Demonic Lord Azrallik"] = true
- }
- local Underworld = {
- ["Demon Warrior"] = true,
- ["Dark Mage"] = true,
- ["Blood Minions"] = true
- }
- ---------------------------------
- if game.workspace:FindFirstChild("dungeon") then
- if _G.Autosell then
- local wlt = {}
- for i, v in pairs(game.Players.LocalPlayer:WaitForChild("PlayerGui").inventory.mainBackground.innerBackground.leftSideFrame:GetDescendants()) do
- if v.Name == "uniqueItemNum" then
- wlt[v.Value] = v.Parent.Value
- end
- end
- for i, v in pairs(game.ReplicatedStorage.remotes.reloadInvy:InvokeServer()) do
- for c, d in pairs(v) do
- local dumb = false
- spawn(function()
- if #_G.DontSellItems == 0 then dumb = true return end
- for a, b in pairs(_G.DontSellItems) do
- if b == d.name then
- d.dontsell = true
- end
- end
- dumb = true
- end)
- for a, b in pairs(_G.DontSellRarities) do
- if d.rarity == b:lower() then
- break
- end
- if a == #_G.DontSellRarities then
- repeat wait() until dumb
- local unique = tonumber(c:sub(c:len()-1,c:len()))
- local itemtype = c:sub(1,c:len()-2)
- if unique == nil then
- unique = tonumber(c:sub(c:len(),c:len()))
- end
- if itemtype:find("_") then
- itemtype = itemtype:sub(1,itemtype:len()-1)
- end
- print(typeof(d.equipped))
- if not d.dontsell or not wlt[unique] == itemtype and d.equipped == false then
- if string.find(typeof(d.equipped),"table") then
- game.ReplicatedStorage.remotes.sellItemEvent:FireServer(itemtype,unique)
- end
- if d.equipped == false then
- game.ReplicatedStorage.remotes.sellItemEvent:FireServer(itemtype,unique)
- end
- end
- end
- end
- end
- end
- end
- ------------------
- local Plist = game.Players.LocalPlayer.PlayerGui
- game:GetService("CoreGui").RobloxGui.TopBarContainer.NameHealthContainer:Destroy()
- Plist:WaitForChild("playerStatus")
- game.Players.LocalPlayer.Character.playerNameplate.Frame.name.Text = "DQ autofarm"
- Plist.playerStatus.Frame.xpFrame.xp.Text = "d o g"
- Plist.playerStatus.Frame.moneyMain.TextLabel.Text = "ban me now"
- Plist.playerStatus.Frame.playerName.Text = "ICEE dq auto farm :)"
- Plist.playerStatus.Frame.levelBorder.level.Text = "dog"
- if game.Workspace:FindFirstChild("dungeon") then
- -----------------------
- for _, m in pairs(game.Workspace.dungeon.bossRoom.enemyFolder:GetDescendants()) do
- if string.find(m.Name, "The") then
- if m.Humanoid.Health < 1 then
- wait(2)
- game:GetService'TeleportService':Teleport(2414851778)
- end
- end
- end
- end
- -----------------------
- local bossAttack = false
- workspace.ChildAdded:connect(function(dspell)
- if dspell.Name == "rockExplosion" then
- bossAttack = true
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(10,5,0)
- wait(3)
- bossAttack = false
- end
- end)
- workspace.ChildAdded:connect(function(dspell)
- if dspell.Name == "rockExplosionSmall" then
- bossAttack = true
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(14,5,0)
- wait(3)
- bossAttack = false
- end
- end)
- workspace.ChildAdded:connect(function(dspell)
- if dspell.Name == "rockshatter" then
- bossAttack = true
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(10,5,0)
- wait(3)
- bossAttack = false
- end
- end)
- workspace.ChildAdded:connect(function(dspell)
- if dspell.Name == "golemRockClap" then
- bossAttack = true
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(15,75,0)
- wait(2)
- bossAttack = false
- end
- end)
- workspace.ChildAdded:connect(function(dspell)
- if dspell.Name == "golemRockThrow" then
- bossAttack = true
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(15,75,0)
- wait(2)
- bossAttack = false
- end
- end)
- workspace.ChildAdded:connect(function(dspell)
- if dspell.Name == "golemRockThrowSmall" then
- bossAttack = true
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(10,75,0)
- wait(2)
- bossAttack = false
- end
- end)
- -----------------------
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "o" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- --------------->These functions must be outside the loop or it will be creating new functions forever
- _G.AutoFarm = true --Outside the loop or it will always be true
- while _G.AutoFarm do
- game:GetService("ReplicatedStorage").remotes:FindFirstChild('changeStartValue'):FireServer()
- wait()
- noclip = true
- for a, b in pairs(game.Workspace:GetChildren()) do
- if b:IsA("Folder") then
- for c, d in pairs(b:GetChildren()) do
- if d:FindFirstChild("enemyFolder") then
- for e, f in pairs(d.enemyFolder:GetChildren()) do
- if f:FindFirstChild("HumanoidRootPart") and f:FindFirstChild("Humanoid") then
- for index, value in next, workspace:GetDescendants() do
- if (value:FindFirstChildOfClass("Humanoid") and value ~= Player.Character) then
- if value.Humanoid.Health > 0 then do
- if OverpoweredBosses[f.Name] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(f.HumanoidRootPart.Position) * CFrame.Angles(math.rad(270), 0, 0) + Vector3.new(0, 22, 0)--higher coordinate
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(f.HumanoidRootPart.Position) * CFrame.Angles(math.rad(90), 0, 0) + Vector3.new(0, -6.5, 0)--look up
- end
- if MainBoss[f.Name] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(f.HumanoidRootPart.Position) * CFrame.Angles(math.rad(90), 0, 0) + Vector3.new(0, -25, 0)--look up
- end
- if Pirate[f.Name] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(f.HumanoidRootPart.Position) * CFrame.Angles(math.rad(270), 0, 0) + Vector3.new(0, 16, 0)--look down
- end
- if Underworld[f.Name] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(f.HumanoidRootPart.Position) * CFrame.Angles(math.rad(270), 0, 0) + Vector3.new(0, 7, 0)--look down
- end
- if Bosses[f.Name] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(f.HumanoidRootPart.Position) * CFrame.Angles(math.rad(270), 0, 0) + Vector3.new(0, 6, 0)--look down
- end
- if MiniBosses[f.Name] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(f.HumanoidRootPart.Position) * CFrame.Angles(math.rad(270), 0, 0) + Vector3.new(0, 12, 0)--look down
- end
- if HugeBoss[f.Name] then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = f.HumanoidRootPart.CFrame * CFrame.new(0, 21, 21)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0, 0, 0)
- elseif bossAttack == true then
- _G.AutoFarm = false
- wait(3)
- _G.AutoFarm = true
- end
- if game.Players.LocalPlayer.Character:FindFirstChild(game.Players.LocalPlayer.weaponEquipped.Value)then
- game.Players.LocalPlayer.Character[game.Players.LocalPlayer.weaponEquipped.Value].swing:FireServer()
- else
- if game:GetService("Workspace")[game.Players.LocalPlayer.Name]:FindFirstChild("dualRight")then
- game:GetService("Workspace")[game.Players.LocalPlayer.Name].dualRight.swing:FireServer()
- end
- local spells = game.Players.LocalPlayer.Backpack:GetDescendants()
- for i, x in pairs(spells) do
- if x:IsA('RemoteEvent') then
- x:FireServer()
- wait()
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.0190697592, 0, 0.00510793738, 0)
- TextButton.Size = UDim2.new(0, 298, 0, 34)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Dungeon Quest"
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextSize = 34
- TextButton_2.Parent = Main
- TextButton_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton_2.BackgroundTransparency = 1
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.236753285, 0, 0.540772974, 0)
- TextButton_2.Size = UDim2.new(0, 157, 0, 35)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "Credits:"
- TextButton_2.TextColor3 = Color3.new(1, 1, 1)
- TextButton_2.TextSize = 34
- TextButton_3.Parent = Main
- TextButton_3.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton_3.BackgroundTransparency = 1
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.0988222286, 0, 0.149357483, 0)
- TextButton_3.Size = UDim2.new(0, 253, 0, 65)
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.Text = "Works with all dungeon execpt Wave Defense Really OverPowered"
- TextButton_3.TextColor3 = Color3.new(1, 1, 1)
- TextButton_3.TextScaled = true
- TextButton_3.TextSize = 34
- TextButton_3.TextWrapped = true
- ImageButton.Parent = Main
- ImageButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageButton.BorderColor3 = Color3.new(0, 0, 0)
- ImageButton.Position = UDim2.new(0.0971786827, 0, 0.715981722, 0)
- ImageButton.Size = UDim2.new(0, 100, 0, 100)
- ImageButton.Image = "rbxassetid://3371949110"
- ImageButton_2.Parent = Main
- ImageButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageButton_2.BorderColor3 = Color3.new(0, 0, 0)
- ImageButton_2.Position = UDim2.new(0.576802492, 0, 0.717499971, 0)
- ImageButton_2.Size = UDim2.new(0, 100, 0, 100)
- ImageButton_2.Image = "rbxassetid://3371905841"
- TextButton_4.Parent = Main
- TextButton_4.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton_4.BackgroundTransparency = 1
- TextButton_4.BorderSizePixel = 0
- TextButton_4.Position = UDim2.new(0.550232887, 0, 0.657211304, 0)
- TextButton_4.Size = UDim2.new(0, 115, 0, 25)
- TextButton_4.Font = Enum.Font.SourceSans
- TextButton_4.Text = "Roblox Pain"
- TextButton_4.TextColor3 = Color3.new(1, 1, 1)
- TextButton_4.TextScaled = true
- TextButton_4.TextSize = 34
- TextButton_4.TextWrapped = true
- TextButton_5.Parent = Main
- TextButton_5.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton_5.BackgroundTransparency = 1
- TextButton_5.BorderSizePixel = 0
- TextButton_5.Position = UDim2.new(0.0706090331, 0, 0.657211304, 0)
- TextButton_5.Size = UDim2.new(0, 115, 0, 25)
- TextButton_5.Font = Enum.Font.SourceSans
- TextButton_5.Text = "ICEE"
- TextButton_5.TextColor3 = Color3.new(1, 1, 1)
- TextButton_5.TextScaled = true
- TextButton_5.TextSize = 34
- TextButton_5.TextWrapped = true
- TextButton_6.Parent = Main
- TextButton_6.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton_6.BorderSizePixel = 0
- TextButton_6.Position = UDim2.new(0.00770324841, 0, 0.00510793272, 0)
- TextButton_6.Size = UDim2.new(0, 12, 0, 417)
- TextButton_6.Font = Enum.Font.SourceSans
- TextButton_6.Text = ""
- TextButton_6.TextColor3 = Color3.new(1, 1, 1)
- TextButton_6.TextSize = 34
- TextButton_7.Parent = Main
- TextButton_7.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton_7.BorderSizePixel = 0
- TextButton_7.Position = UDim2.new(0.961377561, 0, 0.00716661382, 0)
- TextButton_7.Size = UDim2.new(0, 12, 0, 416)
- TextButton_7.Font = Enum.Font.SourceSans
- TextButton_7.Text = ""
- TextButton_7.TextColor3 = Color3.new(1, 1, 1)
- TextButton_7.TextSize = 34
- TextButton_8.Parent = Main
- TextButton_8.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- TextButton_8.BorderSizePixel = 0
- TextButton_8.Position = UDim2.new(0.00940438733, 0, 0.983053267, 0)
- TextButton_8.Size = UDim2.new(0, 297, 0, 12)
- TextButton_8.Font = Enum.Font.SourceSans
- TextButton_8.Text = ""
- TextButton_8.TextColor3 = Color3.new(1, 1, 1)
- TextButton_8.TextSize = 34
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement