Advertisement
BjeffeHund

Autofarm for uh Rumble Quest

Mar 10th, 2020
5,952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. repeat wait() until game:GetService("ReplicatedStorage"):FindFirstChild("Modules")
  2. repeat wait() until game:GetService("ReplicatedStorage").Modules:FindFirstChild("Network")
  3. repeat wait() until game:GetService("ReplicatedStorage").Modules.Network:FindFirstChild("RemoteEvent") and game:GetService("ReplicatedStorage").Modules.Network:FindFirstChild("RemoteFunction")
  4. local RemoteEvent = game:GetService("ReplicatedStorage").Modules.Network.RemoteEvent
  5. local RemoteFunction = game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction
  6. function auto(a)
  7. RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Expert', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
  8. RemoteEvent:FireServer("StartDungeon")
  9. RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Hard', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
  10. RemoteEvent:FireServer("StartDungeon")
  11. RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Medium', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
  12. RemoteEvent:FireServer("StartDungeon")
  13. RemoteFunction:InvokeServer("CreateLobby", {["Location"] = a, ["Difficulty"] = 'Easy', ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
  14. RemoteEvent:FireServer("StartDungeon")
  15. end
  16. if game.workspace:FindFirstChild("Lobby") then
  17. wait(5)
  18. spawn(function()
  19. game:GetService("RunService").RenderStepped:Connect(function()
  20. if #game.Players.LocalPlayer:GetChildren() == 5 then
  21. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-418.266968, 25.2000008, 408.361694)
  22. local s1 = _G.Autosell.Rarities.Common
  23. local s2 = _G.Autosell.Rarities.Unique
  24. local s3 = _G.Autosell.Rarities.Rare
  25. local s4 = _G.Autosell.Rarities.Epic
  26. local s5 = _G.Autosell.Rarities.Legendary
  27. function sel(a)
  28. game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Weapon", a.Name}}})
  29. game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Armor", a.Name}}})
  30. game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Ability", a.Name}}})
  31. game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction:InvokeServer(unpack{"SellItems", {{"Cosmetics", a.Name}}})
  32. end
  33. for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.Sell.Sell.Inner.Items.Frame.Items:GetChildren()) do
  34. if v:IsA("ImageButton") and v.Equipped.Visible == false and _G.Autosell.Enabled then
  35. if v:FindFirstChild("RarityStars") then
  36. local op = v.RarityStars
  37. if op:FindFirstChild("Star1") and op:FindFirstChild("Star1").Visible == true and op:FindFirstChild("Star2").Visible == false and s1 then
  38. sel(v)
  39. elseif op:FindFirstChild("Star2") and op:FindFirstChild("Star2").Visible == true and op:FindFirstChild("Star3").Visible == false and s2 then
  40. sel(v)
  41. elseif op:FindFirstChild("Star3") and op:FindFirstChild("Star3").Visible == true and op:FindFirstChild("Star4").Visible == false and s3 then
  42. sel(v)
  43. elseif op:FindFirstChild("Star4") and op:FindFirstChild("Star4").Visible == true and op:FindFirstChild("Star5").Visible == false and s4 then
  44. sel(v)
  45. elseif op:FindFirstChild("Star5") and op:FindFirstChild("Star5").Visible == true and s5 then
  46. sel(v)
  47. end
  48. end
  49. end
  50. end
  51. end
  52. end)
  53. end)
  54. function functions_bad()
  55. if _G.Skill.Enabled then
  56. local points = string.match(game.Players.LocalPlayer.PlayerGui.ScreenGui.Inventory.Inventory.Inner.Skills.Info.PointsFrame.Points.Text, "%d+")
  57. for i=0,points do
  58. RemoteEvent:FireServer("IncreaseSkill", _G.Skill.SkillPoint)
  59. end
  60. end
  61. end
  62. if _G.Settings.AutoDungeon then
  63. auto('Jungle Temple')
  64. auto('Ancient Tomb')
  65. auto('Frozen Depths')
  66. auto('Underworld')
  67. auto('Caves')
  68. elseif _G.Settings.AutoDungeon == false and _G.Settings.moreOptions.Enabled == true then
  69. RemoteFunction:InvokeServer("CreateLobby", {["Location"] = _G.Settings.moreOptions.CustomDungeon, ["Difficulty"] = _G.Settings.Difficulty, ["PartyOnly"] = false, ["Hardcore"] = _G.Settings.Hardcore})
  70. end
  71. functions_bad()
  72. RemoteEvent:FireServer("StartDungeon")
  73. end
  74. local attack = coroutine.wrap(function()
  75. while wait() do
  76. if #game.Players.LocalPlayer:GetChildren() == 5 then
  77. for i,x in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  78. if x:IsA("Model") and x:FindFirstChild("Handle") then
  79. for i, v in pairs(game.workspace.Enemies:GetChildren()) do
  80. if v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid").Health ~= 0 then
  81. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,-10,10)
  82. RemoteEvent:FireServer("WeaponDamage", x.Name, v.Humanoid)
  83. end
  84. end
  85. end
  86. end
  87. end
  88. end
  89. end)
  90. local fly = coroutine.wrap(function()
  91. game:GetService('RunService').Stepped:connect(function()
  92. repeat wait() until #game.Players.LocalPlayer:GetChildren() == 5
  93. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  94. end)
  95. end)
  96. if not game.workspace:FindFirstChild("Lobby") then
  97. attack()
  98. fly()
  99. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement