Advertisement
1x1x1x1IAMbck

Your Bizarre Adventure Gui

Jan 19th, 2021 (edited)
54,131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.89 KB | None | 0 0
  1. --// This is very simple gui. It's just remote events. I might add normal farm later on... \\--
  2.  
  3. --// Local Variables
  4. loadstring(game:HttpGet('https://pastebin.com/raw/6TW7RGz3', true))()
  5. local mainfrom = library:AddWindow('Your Bizarre Adventure')
  6. local far = mainfrom:AddTab('Auto-Move')
  7. local que = mainfrom:AddTab('Auto-Quest')
  8. local itos = mainfrom:AddTab('Item Farm')
  9. local cos = mainfrom:AddTab('Cosmetic')
  10. local runservice = game:GetService("RunService")
  11. local plr = game.Players.LocalPlayer
  12. local char = plr.Character or plr.CharacterAdded:wait()
  13. local hump = char:WaitForChild("HumanoidRootPart")
  14.  
  15. --// Anti-afk
  16. local bb=game:service'VirtualUser'
  17. game:service'Players'.LocalPlayer.Idled:connect(function()
  18.     bb:CaptureController()
  19.     bb:ClickButton2(Vector2.new())
  20. end)
  21.  
  22. --// Item Farm
  23. local tping = false
  24. itos:AddSwitch("Farm Items", function(ho)
  25.     tping = ho
  26. end)
  27. local itemFarm = coroutine.wrap(function()
  28.     while wait() do
  29.         if tping == true then
  30.             for i, v in pairs(game:GetService("Workspace")["Item_Spawns"].Items:GetChildren()) do
  31.                 if v:FindFirstChild("ClickDetector") then
  32.                     for _, handle in pairs(v:GetChildren()) do
  33.                         if handle:IsA("BasePart") then
  34.                             repeat
  35.                                 game:GetService("TweenService"):Create(hump,TweenInfo.new((hump.Position-handle.Position).Magnitude/250,Enum.EasingStyle.Quad), {CFrame = handle.CFrame * CFrame.new(0,-5,0)}):Play()
  36.                                 if (hump.Position - handle.Position).Magnitude <= 7 then
  37.                                     fireclickdetector(v.ClickDetector)
  38.                                 end
  39.                                 wait()
  40.                                 char:WaitForChild("Humanoid"):ChangeState(11)
  41.                             until not game:GetService("Workspace")["Item_Spawns"].Items:FindFirstChild(v)
  42.                             wait(0.5)
  43.                         end
  44.                     end
  45.                 end
  46.             end
  47.         end
  48.     end
  49. end)
  50. itemFarm()
  51.  
  52. --// Cosmetic page
  53. -- This works only if you already have 1 cosmetic. It is really easy to get one.
  54. local cosmetic = ""
  55. local rome = cos:AddDropdown("Name of Hat", function(hom)
  56.     cosmetic = hom
  57. end)
  58. for i, v in pairs(game:GetService("ReplicatedStorage").Cosmetics:GetChildren()) do
  59.     if v:IsA("Folder") then
  60.         rome:Add(v.Name)
  61.     end
  62. end
  63. local cosmeticOn = coroutine.wrap(function()
  64.     while wait() do
  65.         if cosmetic ~= "" then
  66.             for i, v in pairs(plr.PlayerGui.HUD.Main.Frames.Cosmetics.Frame.ScrollingFrame:GetChildren()) do
  67.                 if v.Name ~= "Sample" then
  68.                     v.Name = cosmetic
  69.                 end
  70.             end
  71.         end
  72.     end
  73. end)
  74. cosmeticOn()
  75.  
  76. --// Farm Page
  77. local rmove = false
  78. local emove = false
  79. local tmove = false
  80. local ymove = false
  81. local umove = false
  82. local gmove = false
  83. local hmove = false
  84. local jmove = false
  85. local kmove = false
  86. local lmove = false
  87. local zmove = false
  88. local xmove = false
  89. local cmove = false
  90. local vmove = false
  91. local bmove = false
  92. local nmove = false
  93. local mmove = false
  94. local ono = false
  95. far:AddSwitch('Use Moves', function(hom)
  96.     ono = hom
  97. end)
  98. far:AddSwitch('Spam E', function(hom)
  99.     emove = hom
  100. end)
  101. far:AddSwitch('Spam R', function(hom)
  102.     rmove = hom
  103. end)
  104. far:AddSwitch('Spam T', function(hom)
  105.     tmove = hom
  106. end)
  107. far:AddSwitch('Spam Y', function(hom)
  108.     ymove = hom
  109. end)
  110. far:AddSwitch('Spam U', function(hom)
  111.     umove = hom
  112. end)
  113. far:AddSwitch('Spam G', function(hom)
  114.     gmove = hom
  115. end)
  116. far:AddSwitch('Spam H', function(hom)
  117.     hmove = hom
  118. end)
  119. far:AddSwitch('Spam J', function(hom)
  120.     jmove = hom
  121. end)
  122. far:AddSwitch('Spam K', function(hom)
  123.     kmove = hom
  124. end)
  125. far:AddSwitch('Spam L', function(hom)
  126.     lmove = hom
  127. end)
  128. far:AddSwitch('Spam Z', function(hom)
  129.     zmove = hom
  130. end)
  131. far:AddSwitch('Spam X', function(hom)
  132.     xmove = hom
  133. end)
  134. far:AddSwitch('Spam C', function(hom)
  135.     cmove = hom
  136. end)
  137. far:AddSwitch('Spam V', function(hom)
  138.     vmove = hom
  139. end)
  140. far:AddSwitch('Spam B', function(hom)
  141.     bmove = hom
  142. end)
  143. far:AddSwitch('Spam N', function(hom)
  144.     nmove = hom
  145. end)
  146. far:AddSwitch('Spam M', function(hom)
  147.     mmove = hom
  148. end)
  149.  
  150. --// Quest Page
  151. que:AddLabel("NPC Quests")
  152. local quethu = false
  153. que:AddSwitch('Thugs', function(hom)
  154.     quethu = hom
  155. end)
  156. local quecor = false
  157. que:AddSwitch('Corrupt Police', function(hom)
  158.     quecor = hom
  159. end)
  160. local quealp = false
  161. que:AddSwitch('Alpha Thugs', function(hom)
  162.     quealp = hom
  163. end)
  164. local quezom = false
  165. que:AddSwitch('Zombie Henchmans', function(hom)
  166.     quezom = hom
  167. end)
  168. local quevam = false
  169. que:AddSwitch('Vampires', function(hom)
  170.     quevam = hom
  171. end)
  172. que:AddLabel("Boss Quests")
  173. local quedio = false
  174. que:AddSwitch('Dio', function(hom)
  175.     quedio = hom
  176. end)
  177. local quejot = false
  178. que:AddSwitch('Jotaro', function(hom)
  179.     quejot = hom
  180. end)
  181.  
  182. --// Auto Quest
  183. local questzombies = coroutine.wrap(function()
  184.     runservice.Heartbeat:Connect(function()
  185.         if quezom == true then
  186.             local quest = "Take down 3 zombie henchmans"
  187.             local npc = "Dracula"
  188.  
  189.             local function startquest()
  190.                 local args = {
  191.                     [1] = "ReturnQuest",
  192.                     [2] = quest
  193.                 }
  194.  
  195.                 char.RemoteFunction:InvokeServer(unpack(args))
  196.             end
  197.             local function enddialogue()
  198.                 local args = {
  199.                     [1] = "EndDialogue",
  200.                     [2] = {
  201.                         ["NPC"] = npc,
  202.                         ["Option"] = "Option1",
  203.                         ["Dialogue"] = "Dialogue4"
  204.                     }
  205.                 }
  206.  
  207.                 char.RemoteEvent:FireServer(unpack(args))
  208.             end
  209.  
  210.  
  211.             if not plr.PlayerGui.HUD.Main.Frames.Quest.Quests:FindFirstChild(quest) then
  212.                 print("Firing Auto Quest")
  213.                 startquest()
  214.                 enddialogue()
  215.                 local args = {
  216.                     [1] = "ReturnData"
  217.                 }
  218.  
  219.                 game:GetService("Players").LocalPlayer.QuestsRemoteFunction:InvokeServer(unpack(args))
  220.             else
  221.             end
  222.         end
  223.     end)
  224. end)
  225. questzombies()
  226. local questthugs = coroutine.wrap(function()
  227.     runservice.Heartbeat:Connect(function()
  228.         if quethu == true then
  229.             local quest = "Take down 5 thugs"
  230.             local npc = "Officer Sam"
  231.  
  232.             local function startquest()
  233.                 local args = {
  234.                     [1] = "ReturnQuest",
  235.                     [2] = quest
  236.                 }
  237.  
  238.                 char.RemoteFunction:InvokeServer(unpack(args))
  239.             end
  240.             local function enddialogue()
  241.                 local args = {
  242.                     [1] = "EndDialogue",
  243.                     [2] = {
  244.                         ["NPC"] = npc,
  245.                         ["Option"] = "Option1",
  246.                         ["Dialogue"] = "Dialogue5"
  247.                     }
  248.                 }
  249.  
  250.                 char.RemoteEvent:FireServer(unpack(args))
  251.             end
  252.  
  253.             if not plr.PlayerGui.HUD.Main.Frames.Quest.Quests:FindFirstChild(quest) then
  254.                 print("Firing Auto Quest")
  255.                 startquest()
  256.                 enddialogue()
  257.                 local args = {
  258.                     [1] = "ReturnData"
  259.                 }
  260.  
  261.                 game:GetService("Players").LocalPlayer.QuestsRemoteFunction:InvokeServer(unpack(args))
  262.             else
  263.             end
  264.         end
  265.     end)
  266. end)
  267. questthugs()
  268. local questalpha = coroutine.wrap(function()
  269.     runservice.Heartbeat:Connect(function()
  270.         if quealp == true then
  271.             local quest = "Take down 5 alpha thugs"
  272.             local npc = "Lion Abbacho's Partner"
  273.  
  274.             local function startquest()
  275.                 local args = {
  276.                     [1] = "ReturnQuest",
  277.                     [2] = quest
  278.                 }
  279.  
  280.                 char.RemoteFunction:InvokeServer(unpack(args))
  281.             end
  282.             local function enddialogue()
  283.                 local args = {
  284.                     [1] = "EndDialogue",
  285.                     [2] = {
  286.                         ["NPC"] = npc,
  287.                         ["Option"] = "Option1",
  288.                         ["Dialogue"] = "Dialogue7"
  289.                     }
  290.                 }
  291.  
  292.                 char.RemoteEvent:FireServer(unpack(args))
  293.             end
  294.  
  295.             if not plr.PlayerGui.HUD.Main.Frames.Quest.Quests:FindFirstChild(quest) then
  296.                 print("Firing Auto Quest")
  297.                 startquest()
  298.                 enddialogue()
  299.                 local args = {
  300.                     [1] = "ReturnData"
  301.                 }
  302.  
  303.                 game:GetService("Players").LocalPlayer.QuestsRemoteFunction:InvokeServer(unpack(args))
  304.             else
  305.             end
  306.         end
  307.     end)
  308. end)
  309. questalpha()
  310. local questcorrupt = coroutine.wrap(function()
  311.     runservice.Heartbeat:Connect(function()
  312.         if quecor == true then
  313.             local quest = "Take down 5 corrupt police"
  314.             local npc = "Deputy Bertrude"
  315.  
  316.             local function startquest()
  317.                 local args = {
  318.                     [1] = "ReturnQuest",
  319.                     [2] = quest
  320.                 }
  321.  
  322.                 char.RemoteFunction:InvokeServer(unpack(args))
  323.             end
  324.             local function enddialogue()
  325.                 local args = {
  326.                     [1] = "EndDialogue",
  327.                     [2] = {
  328.                         ["NPC"] = npc,
  329.                         ["Option"] = "Option1",
  330.                         ["Dialogue"] = "Dialogue5"
  331.                     }
  332.                 }
  333.  
  334.                 char.RemoteEvent:FireServer(unpack(args))
  335.             end
  336.  
  337.             if not plr.PlayerGui.HUD.Main.Frames.Quest.Quests:FindFirstChild(quest) then
  338.                 print("Firing Auto Quest")
  339.                 startquest()
  340.                 enddialogue()
  341.                 local args = {
  342.                     [1] = "ReturnData"
  343.                 }
  344.  
  345.                 game:GetService("Players").LocalPlayer.QuestsRemoteFunction:InvokeServer(unpack(args))
  346.             else
  347.             end
  348.         end
  349.     end)
  350. end)
  351. questcorrupt()
  352. local questvamp = coroutine.wrap(function()
  353.     runservice.Heartbeat:Connect(function()
  354.         if quevam == true then
  355.             local quest = "Take down 3 vampires"
  356.             local npc = "Zeppelin"
  357.  
  358.             local function startquest()
  359.                 local args = {
  360.                     [1] = "ReturnQuest",
  361.                     [2] = quest
  362.                 }
  363.  
  364.                 char.RemoteFunction:InvokeServer(unpack(args))
  365.             end
  366.             local function enddialogue()
  367.                 local args = {
  368.                     [1] = "EndDialogue",
  369.                     [2] = {
  370.                         ["NPC"] = npc,
  371.                         ["Option"] = "Option1",
  372.                         ["Dialogue"] = "Dialogue4"
  373.                     }
  374.                 }
  375.  
  376.                 char.RemoteEvent:FireServer(unpack(args))
  377.             end
  378.  
  379.             if not plr.PlayerGui.HUD.Main.Frames.Quest.Quests:FindFirstChild(quest) then
  380.                 print("Firing Auto Quest")
  381.                 startquest()
  382.                 enddialogue()
  383.                 local args = {
  384.                     [1] = "ReturnData"
  385.                 }
  386.  
  387.                 game:GetService("Players").LocalPlayer.QuestsRemoteFunction:InvokeServer(unpack(args))
  388.             else
  389.             end
  390.         end
  391.     end)
  392. end)
  393. questvamp()
  394. local questdio = coroutine.wrap(function()
  395.     runservice.Heartbeat:Connect(function()
  396.         if quedio == true then
  397.             local quest = "Kill Deo"
  398.             local npc = "Dopey"
  399.  
  400.             local function startquest()
  401.                 local args = {
  402.                     [1] = "ReturnQuest",
  403.                     [2] = quest
  404.                 }
  405.  
  406.                 char.RemoteFunction:InvokeServer(unpack(args))
  407.             end
  408.             local function enddialogue()
  409.                 local args = {
  410.                     [1] = "EndDialogue",
  411.                     [2] = {
  412.                         ["NPC"] = npc,
  413.                         ["Option"] = "Option1",
  414.                         ["Dialogue"] = "Dialogue5"
  415.                     }
  416.                 }
  417.  
  418.                 char.RemoteEvent:FireServer(unpack(args))
  419.             end
  420.  
  421.             if not plr.PlayerGui.HUD.Main.Frames.Quest.Quests:FindFirstChild(quest) then
  422.                 print("Firing Auto Quest")
  423.                 startquest()
  424.                 enddialogue()
  425.                 local args = {
  426.                     [1] = "ReturnData"
  427.                 }
  428.  
  429.                 game:GetService("Players").LocalPlayer.QuestsRemoteFunction:InvokeServer(unpack(args))
  430.             else
  431.             end
  432.         end
  433.     end)
  434. end)
  435. questdio()
  436. local questjotaro = coroutine.wrap(function()
  437.     runservice.Heartbeat:Connect(function()
  438.         if quejot == true then
  439.             local quest = "Defeat Joe"
  440.             local npc = "Deo"
  441.  
  442.             local function startquest()
  443.                 local args = {
  444.                     [1] = "ReturnQuest",
  445.                     [2] = quest
  446.                 }
  447.  
  448.                 char.RemoteFunction:InvokeServer(unpack(args))
  449.             end
  450.             local function enddialogue()
  451.                 local args = {
  452.                     [1] = "EndDialogue",
  453.                     [2] = {
  454.                         ["NPC"] = npc,
  455.                         ["Option"] = "Option1",
  456.                         ["Dialogue"] = "Dialogue4"
  457.                     }
  458.                 }
  459.  
  460.                 char.RemoteEvent:FireServer(unpack(args))
  461.             end
  462.  
  463.             if not plr.PlayerGui.HUD.Main.Frames.Quest.Quests:FindFirstChild(quest) then
  464.                 print("Firing Auto Quest")
  465.                 startquest()
  466.                 enddialogue()
  467.                 local args = {
  468.                     [1] = "ReturnData"
  469.                 }
  470.  
  471.                 game:GetService("Players").LocalPlayer.QuestsRemoteFunction:InvokeServer(unpack(args))
  472.             else
  473.             end
  474.         end
  475.     end)
  476. end)
  477. questjotaro()
  478.  
  479. --// Auto Moves
  480. local farm = coroutine.wrap(function()
  481.     while wait() do
  482.         if ono == true then
  483.             if char:WaitForChild("SummonedStand").Value == false then
  484.                 local args = {[1] = "InputEnded",[2] = {["Input"] = Enum.KeyCode.Q}}
  485.                 char.RemoteEvent:FireServer(unpack(args))
  486.             end
  487.             if ymove == true then
  488.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.Y}}
  489.                 char.RemoteEvent:FireServer(unpack(args))
  490.             end
  491.             if emove == true then
  492.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.E}}
  493.                 char.RemoteEvent:FireServer(unpack(args))
  494.             end
  495.             if rmove == true then
  496.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.R}}
  497.                 char.RemoteEvent:FireServer(unpack(args))
  498.             end
  499.             if tmove == true then
  500.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.T}}
  501.                 char.RemoteEvent:FireServer(unpack(args))
  502.             end
  503.             if umove == true then
  504.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.U}}
  505.                 char.RemoteEvent:FireServer(unpack(args))
  506.             end
  507.             if gmove == true then
  508.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.G}}
  509.                 char.RemoteEvent:FireServer(unpack(args))
  510.             end
  511.             if hmove == true then
  512.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.H}}
  513.                 char.RemoteEvent:FireServer(unpack(args))
  514.             end
  515.             if jmove == true then
  516.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.J}}
  517.                 char.RemoteEvent:FireServer(unpack(args))
  518.             end
  519.             if kmove == true then
  520.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.K}}
  521.                 char.RemoteEvent:FireServer(unpack(args))
  522.             end
  523.             if lmove == true then
  524.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.L}}
  525.                 char.RemoteEvent:FireServer(unpack(args))
  526.             end
  527.             if zmove == true then
  528.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.Z}}
  529.                 char.RemoteEvent:FireServer(unpack(args))
  530.             end
  531.             if xmove == true then
  532.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.X}}
  533.                 char.RemoteEvent:FireServer(unpack(args))
  534.             end
  535.             if cmove == true then
  536.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.C}}
  537.                 char.RemoteEvent:FireServer(unpack(args))
  538.             end
  539.             if vmove == true then
  540.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.V}}
  541.                 char.RemoteEvent:FireServer(unpack(args))
  542.             end
  543.             if bmove == true then
  544.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.B}}
  545.                 char.RemoteEvent:FireServer(unpack(args))
  546.             end
  547.             if nmove == true then
  548.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.N}}
  549.                 char.RemoteEvent:FireServer(unpack(args))
  550.             end
  551.             if mmove == true then
  552.                 local args = {[1] = "InputBegan",[2] = {["Input"] = Enum.KeyCode.M}}
  553.                 char.RemoteEvent:FireServer(unpack(args))
  554.             end
  555.         end
  556.     end
  557. end)
  558. farm()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement