Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until game:GetService("ReplicatedStorage"):FindFirstChild("Modules")
- repeat wait() until game:GetService("ReplicatedStorage").Modules:FindFirstChild("Network")
- repeat wait() until game:GetService("ReplicatedStorage").Modules.Network:FindFirstChild("RemoteEvent") and game:GetService("ReplicatedStorage").Modules.Network:FindFirstChild("RemoteFunction")
- local RemoteEvent = game:GetService("ReplicatedStorage").Modules.Network.RemoteEvent
- local RemoteFunction = game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction
- function auto(a)
- RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Expert', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
- RemoteEvent:FireServer("StartDungeon")
- RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Hard', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
- RemoteEvent:FireServer("StartDungeon")
- RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Medium', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
- RemoteEvent:FireServer("StartDungeon")
- RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Easy', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
- RemoteEvent:FireServer("StartDungeon")
- end
- if game.workspace:FindFirstChild("Lobby") then
- wait(5)
- spawn(function()
- game:GetService("RunService").RenderStepped:Connect(function()
- if #game.Players.LocalPlayer:GetChildren() == 5 then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-418.266968, 25.2000008, 408.361694)
- local s1 = _G.Autosell.Rarities.Common
- local s2 = _G.Autosell.Rarities.Unique
- local s3 = _G.Autosell.Rarities.Rare
- local s4 = _G.Autosell.Rarities.Epic
- local s5 = _G.Autosell.Rarities.Legendary
- function sel(a)
- game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Weapon", a.Name}}})
- game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Armor", a.Name}}})
- game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Ability", a.Name}}})
- game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Cosmetics", a.Name}}})
- end
- for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.Sell.Sell.Inner.Items.Frame.Items:GetChildren()) do
- if v:IsA("ImageButton") and v.Equipped.Visible == false and _G.Autosell.Enabled then
- if v:FindFirstChild("RarityStars") then
- local op = v.RarityStars
- if op:FindFirstChild("Star1") and op:FindFirstChild("Star1").Visible == true and op:FindFirstChild("Star2").Visible == false and s1 then
- sel(v)
- elseif op:FindFirstChild("Star2") and op:FindFirstChild("Star2").Visible == true and op:FindFirstChild("Star3").Visible == false and s2 then
- sel(v)
- elseif op:FindFirstChild("Star3") and op:FindFirstChild("Star3").Visible == true and op:FindFirstChild("Star4").Visible == false and s3 then
- sel(v)
- elseif op:FindFirstChild("Star4") and op:FindFirstChild("Star4").Visible == true and op:FindFirstChild("Star5").Visible == false and s4 then
- sel(v)
- elseif op:FindFirstChild("Star5") and op:FindFirstChild("Star5").Visible == true and s5 then
- sel(v)
- end
- end
- end
- end
- end
- end)
- end)
- function functions_bad()
- if _G.Skill.Enabled then
- local points = string.match(game.Players.LocalPlayer.PlayerGui.ScreenGui.Inventory.Inventory.Inner.Skills.Info.PointsFrame.Points.Text, "%d+")
- for i=0,points do
- RemoteEvent:FireServer("IncreaseSkill", _G.Skill.SkillPoint)
- end
- end
- end
- if _G.Settings.AutoDungeon then
- auto('Jungle Temple')
- auto('Ancient Tomb')
- auto('Frozen Depths')
- auto('Underworld')
- auto('Caves')
- elseif _G.Settings.AutoDungeon == false and _G.Settings.moreOptions.Enabled == true then
- RemoteFunction:InvokeServer("CreateLobby", {["Location"] = _G.Settings.moreOptions.CustomDungeon, ["Difficulty"] = _G.Settings.Difficulty, ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
- end
- functions_bad()
- RemoteEvent:FireServer("StartDungeon")
- end
- local attack = coroutine.wrap(function()
- while wait() do
- if #game.Players.LocalPlayer:GetChildren() == 5 then
- for i,x in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if x:IsA("Model") and x:FindFirstChild("Handle") then
- for i, v in pairs(game.workspace.Enemies:GetChildren()) do
- if v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid").Health ~= 0 then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,-10,10)
- RemoteEvent:FireServer("WeaponDamage", x.Name, v.Humanoid)
- end
- end
- end
- end
- end
- end
- end)
- local fly = coroutine.wrap(function()
- game:GetService('RunService').Stepped:connect(function()
- repeat wait() until #game.Players.LocalPlayer:GetChildren() == 5
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end)
- end)
- if not game.workspace:FindFirstChild("Lobby") then
- attack()
- fly()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement