Advertisement
BjeffeHund

ro ghoul autofarm

Apr 7th, 2020
369,982
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.31 KB | None | 0 0
  1. local isSynapse = syn or false
  2. if isSynapse then
  3. msg = "If you press the button 'Execute script' you agree that if you don't wanna get banned then don't exploit lol"
  4. else
  5. msg = "YOU'RE NOT USING SYNAPSE, YOU MIGHT GET BANNED \n If you press the button 'Execute script' you agree that if you don't wanna get banned then don't exploit lol"
  6. end
  7. local agreed = false
  8. local ScreenGui = Instance.new("ScreenGui")
  9. local Frame = Instance.new("Frame")
  10. local ExecuteScript = Instance.new("TextButton")
  11. local TextLabel = Instance.new("TextLabel")
  12. ScreenGui.Parent = game.CoreGui
  13. Frame.Parent = ScreenGui
  14. Frame.Position = UDim2.new(0.468846381, 0, 0.43857494, 0)
  15. Frame.Size = UDim2.new(0, 100, 0, 100)
  16. ExecuteScript.Name = "Execute Script"
  17. ExecuteScript.Parent = Frame
  18. ExecuteScript.BorderSizePixel = 0
  19. ExecuteScript.Size = UDim2.new(0, 100, 0, 100)
  20. ExecuteScript.Text = "Execute script"
  21. ExecuteScript.TextWrapped = true
  22. ExecuteScript.MouseButton1Click:connect(function()
  23. agreed = true
  24. Frame:Destroy()
  25. end)
  26. TextLabel.Parent = Frame
  27. TextLabel.Position = UDim2.new(1.34000003, 0, 0, 0)
  28. TextLabel.Size = UDim2.new(0, 200, 0, 150)
  29. TextLabel.Text = msg
  30. TextLabel.TextScaled = true
  31. TextLabel.TextWrapped = true
  32. repeat wait() until agreed
  33. repeat wait() until game.Players.LocalPlayer.Character:FindFirstChild("Remotes")
  34. loadstring(game:HttpGet('https://pastebin.com/raw/cwDSpepQ', true))()
  35. local key = "操你💦💔🍑👌💦操你💦💔🍑👌💦💔🍑👌💦💔🍑👌💔🍑👌💦💔🍑👌"
  36. local w = library:AddWindow('Autofarm')
  37. local tab = w:AddTab('Autofarm')
  38. local dis = 10
  39. local dis_old = 10
  40. local sped = 100
  41. local twen = nil
  42. local on2 = false
  43. local old_on2 = false
  44. local rep_on = false
  45. local auto_cash = false
  46. local stag = 'One'
  47. game.Players.LocalPlayer.Character.Remotes.KeyEvent:FireServer(key, stag, "Down", CFrame.new(), CFrame.new())
  48. spawn(function()
  49. while wait() do
  50. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") and game.Players.LocalPlayer.Character.Humanoid.Health == 0 then
  51. repeat wait() until game.Players.LocalPlayer.PlayerGui:FindFirstChild("SpawnSelection")--or wait(3)
  52. repeat wait() until not game.Players.LocalPlayer.PlayerGui:FindFirstChild("SpawnSelection")--or wait(3)
  53. wait(1)
  54. repeat wait() until game.Players.LocalPlayer.Character:FindFirstChild("Remotes")
  55. game.Players.LocalPlayer.Character.Remotes.KeyEvent:FireServer(key, stag, "Down", CFrame.new(), CFrame.new())
  56. end
  57. end
  58. end)
  59. local oop = tab:AddSlider('Speed', function(a)
  60. sped = tonumber(a)
  61. end, {
  62. ["min"] = 0,
  63. ["max"] = 120,
  64. })
  65. oop:Set(100)
  66. tab:AddSlider('Distance From Mob', function(a)
  67. dis = tonumber(a)
  68. dis_old = tonumber(a)
  69. end, {
  70. ["min"] = 0,
  71. ["max"] = 20,
  72. })
  73. local ass = true
  74. tab:AddSwitch('Autofarm', function(on)
  75. on2 = on
  76. old_on2 = on
  77. end)
  78. local on1 = false
  79. tab:AddSwitch('Auto Collect Corpses', function(on)
  80. on1 = on
  81. end)
  82. local whitelist = ''
  83. local drop = tab:AddDropdown('Mob Whitelist', function(a)
  84. if a == 'All ( not Humans )' then
  85. whitelist = ''
  86. else
  87. whitelist = a
  88. end
  89. end)
  90. drop:Add('All ( not Humans )')
  91. drop:Add('Eto Yoshimura')
  92. drop:Add('Investigator')
  93. drop:Add('Aogiri')
  94. local crum = 'cummmmmmmmmm'
  95. local dis1 = 5
  96. local last = math.huge
  97. local nearest = nil
  98. spawn(function()
  99. while wait() do
  100. for i,v in pairs(game:GetService("Workspace").NPCSpawns:GetChildren()) do
  101. if v:IsA("MeshPart") and v:FindFirstChildWhichIsA("Model") and not string.find(v.Name, "Human") and (not string.find(v.Name, "Boss") or whitelist == "Eto Yoshimura") and string.find(v:FindFirstChildWhichIsA("Model").Name, whitelist) then
  102. for i2,v2 in pairs(v:GetChildren()) do
  103. if v2:IsA("Model") and v2:FindFirstChild("HumanoidRootPart") and v2:FindFirstChild("Humanoid") and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  104. local distance = (v2:FindFirstChild("HumanoidRootPart").Position - game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position).magnitude
  105. if distance < last then
  106. last = distance
  107. nearest = v2.HumanoidRootPart
  108. end
  109. end
  110. end
  111. end
  112. end
  113. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  114. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  115. if v:IsA("MeshPart") or v:IsA("Part") then
  116. v.CanCollide = false
  117. end
  118. end
  119. end
  120. end
  121. end)
  122. local times_fired = 0
  123. spawn(function()
  124. while wait() do
  125. if on2 and game.Players.LocalPlayer.PlayerGui:FindFirstChild("HUD") then
  126. for i,v in pairs(game:GetService("Workspace").NPCSpawns:GetChildren()) do
  127. if v:IsA("MeshPart") and v:FindFirstChildWhichIsA("Model") and not string.find(v.Name, "Human") and (not string.find(v.Name, "Boss") or whitelist == "Eto Yoshimura") and string.find(v:FindFirstChildWhichIsA("Model").Name, whitelist) then
  128. for i2,v2 in pairs(v:GetChildren()) do
  129. if v2:IsA("Model") and v2:FindFirstChild("HumanoidRootPart") and v2:FindFirstChild("Humanoid") and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  130. if nearest ~= nil and nearest.Parent ~= nil then
  131. warn(tostring(nearest.Parent.Name))
  132. print("found", " ", tostring(nearest.Parent.Name))
  133. repeat
  134. local hum = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  135. if on2 and hum and nearest ~= nil then
  136. twen = game:GetService("TweenService"):Create(hum,TweenInfo.new((hum.Position - nearest.Position).magnitude/sped,Enum.EasingStyle.Quad),{CFrame = nearest.CFrame * CFrame.new(0,0,dis)})
  137. times_fired = times_fired + 1
  138. if ass and twen ~= nil then
  139. twen:Play()
  140. end
  141. if game.Players.LocalPlayer.Character:FindFirstChild("Remotes") and ass and (nearest.Position - hum.Position).magnitude < 23 then
  142. game.Players.LocalPlayer.Character.Remotes.KeyEvent:FireServer(key, "Mouse1", "Down", CFrame.new(), CFrame.new())
  143. end
  144. end
  145. wait()
  146. until not v:FindFirstChildWhichIsA("Model") or nearest.Parent == nil or on2 == false
  147. print("next mob please")
  148. last, nearest = math.huge, nil
  149. twen:Cancel()
  150. end
  151. end
  152. end
  153. end
  154. end
  155. else
  156. last, nearest = math.huge, nil
  157. end
  158. end
  159. end)
  160. spawn(function()
  161. while wait() do
  162. print(times_fired)
  163. times_fired = 0
  164. wait(10)
  165. end
  166. end)
  167. local tab_focus = w:AddTab('Auto Focus')
  168. local psy = false
  169. local kag = false
  170. local dur = false
  171. local speeed = false
  172. local delay = 1
  173. function focusAdd(a)
  174. game.Players.LocalPlayer.PlayerFolder.StatsFunction:InvokeServer("Focus", tostring(a), 1)
  175. end
  176. tab_focus:AddSwitch('Auto Focus Physical', function(a)
  177. psy = a
  178. end)
  179. tab_focus:AddSwitch('Auto Focus Kagune / Quinque', function(a)
  180. kag = a
  181. end)
  182. tab_focus:AddSwitch('Auto Focus Durability', function(a)
  183. dur = a
  184. end)
  185. tab_focus:AddSwitch('Auto Focus Speed', function(a)
  186. speeed = a
  187. end)
  188. tab_focus:AddTextBox('Auto Focus Delay', function(a)
  189. delay = tonumber(a)
  190. end)
  191. spawn(function()
  192. while wait() do
  193. if psy then
  194. focusAdd("PhysicalAddButton")
  195. elseif kag then
  196. focusAdd("WeaponAddButton")
  197. elseif dur then
  198. focusAdd("DurabilityAddButton")
  199. elseif speeed then
  200. focusAdd("SpeedAddButton")
  201. end
  202. wait(delay)
  203. end
  204. end)
  205. tab_focus:AddLabel('Ive heard that ppl got banned using this,\ni dunno if this is true tho.')
  206. local tab_attack = w:AddTab('Attack stuff')
  207. local auto_click = false
  208. tab_attack:AddSwitch('Auto Click', function(a)
  209. auto_click = a
  210. end)
  211. local auto_use_atc = false
  212. tab_attack:AddSwitch('Auto Use Moves (E,R,F)', function(a)
  213. auto_use_atc = a
  214. end)
  215. local tab_misc = w:AddTab('Misc Stuff')
  216. local name_on = false
  217. tab_misc:AddSwitch('Hide Name', function(a)
  218. name_on = a
  219. end)
  220. local anti_afk = false
  221. tab_misc:AddSwitch('Anti Afk', function(a)
  222. anti_afk = a
  223. end)
  224. local autoKick = false
  225. tab_misc:AddSwitch('Leave when new player join', function(a)
  226. autoKick = a
  227. end)
  228. local d_stage = tab_misc:AddDropdown('Stage Type', function(a)
  229. stag = a
  230. end)
  231. d_stage:Add('One')
  232. d_stage:Add('Two')
  233. d_stage:Add('Three')
  234. d_stage:Add('Four')
  235. d_stage:Add('Five')
  236. d_stage:Add('Six')
  237. spawn(function()
  238. print(anti_afk)
  239. game:GetService("Players").LocalPlayer.Idled:connect(function()
  240. if anti_afk then
  241. game:GetService("VirtualUser"):Button2Down(Vector2.new())
  242. end
  243. end)
  244. end)
  245. game.Players.PlayerAdded:connect(function(k)
  246. if autoKick then
  247. game.Players.LocalPlayer:Kick(tostring(k.Name) .. " Joined, auto kicking you b)")
  248. end
  249. end)
  250. spawn(function()
  251. while wait() do
  252. if name_on and game.workspace:FindFirstChild(game.Players.LocalPlayer.Name) then
  253. for i,v in pairs(game.workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
  254. if v:FindFirstChild("PlayerStatus") then
  255. v:FindFirstChild("PlayerStatus"):Destroy()
  256. end
  257. end
  258. end
  259. if game.Players.LocalPlayer.Character:FindFirstChild("Remotes") then
  260. if auto_click then
  261. game.Players.LocalPlayer.Character.Remotes.KeyEvent:FireServer(key, "Mouse1", "Down", CFrame.new(), CFrame.new())
  262. end
  263. if auto_use_atc then
  264. game.Players.LocalPlayer.Character.Remotes.KeyEvent:FireServer(key, "E", "Down", CFrame.new(), CFrame.new())
  265. game.Players.LocalPlayer.Character.Remotes.KeyEvent:FireServer(key, "R", "Down", CFrame.new(), CFrame.new())
  266. game.Players.LocalPlayer.Character.Remotes.KeyEvent:FireServer(key, "F", "Down", CFrame.new(), CFrame.new())
  267. end
  268. end
  269. end
  270. end)
  271. local sec_win = library:AddWindow('Rep Autofarm + Autofarm trainers')
  272. local tab_win_2 = sec_win:AddTab('Rep Farm')
  273. library:FormatWindows()
  274. tab_win_2:AddSlider('Distance From Mob', function(a)
  275. dis1 = tonumber(a)
  276. if rep_on then
  277. dis = dis1
  278. else
  279. dis = dis_old
  280. end
  281. end, {
  282. ["min"] = 0,
  283. ["max"] = 20,
  284. })
  285. tab_win_2:AddSwitch('Rep autofarm', function(abv)
  286. rep_on = abv
  287. if rep_on then
  288. on2 = rep_on
  289. else
  290. on2 = old_on2
  291. end
  292. end)
  293. tab_win_2:AddSwitch('Auto cash out rep', function(owo)
  294. auto_cash = owo
  295. end)
  296. tab_win_2:AddLabel('\nAutofarm rep works with both ccg and ghoul b), \nalso DONT enable autofarm when you have rep farm on,\nrep farm will break if you do that.')
  297. local crumy = true
  298. spawn(function()
  299. while wait(1) do
  300. if rep_on then
  301. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("HUD") then
  302. if game.Players.LocalPlayer.PlayerGui.HUD.TaskFrame.CompleteLabel.Text == "You have no task at the moment." and rep_on or crumy and twen ~= nil then
  303. print("get quest")
  304. ass = false
  305. local hum = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  306. local tp_part = game:GetService("Workspace").Anteiku.Yoshimura.HumanoidRootPart
  307. if hum then
  308. game:GetService("TweenService"):Create(hum,TweenInfo.new((hum.Position - tp_part.Position).magnitude/100,Enum.EasingStyle.Quad),{CFrame = tp_part.CFrame}):Play()
  309. if (hum.Position - tp_part.Position).magnitude < 2 then
  310. game:GetService("ReplicatedStorage").Remotes.Yoshimura.Task:InvokeServer()
  311. if auto_cash then
  312. game:GetService("ReplicatedStorage").Remotes.ReputationCashOut:InvokeServer()
  313. end
  314. ass = true
  315. crumy = false
  316. end
  317. end
  318. end
  319. end
  320. function findComp(a, b)
  321. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("HUD") then
  322. for i,v in pairs(game.Players.LocalPlayer.PlayerGui.HUD.TaskFrame:GetChildren()) do
  323. if v.Name == a then
  324. local split = string.split(v.Text, '/')
  325. local cur = split[1]
  326. local max = split[2]
  327. if b == 'cur' then
  328. return(cur)
  329. else
  330. return(max)
  331. end
  332. end
  333. end
  334. end
  335. end
  336. local rn = 0
  337. local braf = nil
  338. local cur = nil
  339. spawn(function()
  340. repeat
  341. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("HUD") then
  342. for i,v in pairs(game.Players.LocalPlayer.PlayerGui.HUD.TaskFrame:GetChildren()) do
  343. if v.Name ~= "FailureLabel" and game.Players.LocalPlayer.PlayerGui:FindFirstChild("HUD") and game.Players.LocalPlayer.PlayerGui.HUD.TaskFrame.CompleteLabel.Text ~= "You have no task at the moment." then
  344. local currently = tonumber(string.match(findComp(v.Name, 'cur'), '%d+'))
  345. local max = tonumber(findComp(v.Name, 'not cur'))
  346. if max ~= nil and tonumber(rn) < max then
  347. rn = max
  348. braf = max
  349. elseif currently ~= 0 then
  350. cur = currently
  351. end
  352. if max == braf and rep_on then
  353. local split = string.split(v.Text, " ")
  354. whitelist = split[1]
  355. end
  356. end
  357. end
  358. end
  359. wait()
  360. until cur == braf or rep_on == false
  361. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("HUD") and cur ~= nil and cur ~= 0 and braf ~= nil and cur == braf then
  362. crumy = true
  363. game.Players.LocalPlayer.PlayerGui.HUD.TaskFrame.CompleteLabel.Text = "You have no task at the moment."
  364. if game.Players.LocalPlayer.PlayerGui.HUD.TaskFrame.CompleteLabel.Text ~= "You have no task at the moment." then
  365. crumy = false
  366. end
  367. end
  368. end)
  369. end
  370. end
  371. end)
  372. spawn(function()
  373. while wait() do
  374. if on1 then
  375. for i,v in pairs(game:GetService("Workspace").NPCSpawns:GetChildren()) do
  376. if v:FindFirstChildWhichIsA("Model") then
  377. for i3,v3 in pairs(v:FindFirstChildWhichIsA("Model"):GetChildren()) do
  378. if string.find(v3.Name:lower(), "corpse") and v3:FindFirstChild("HumanoidRootPart") and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  379. if v3:FindFirstChild("ClickPart") then
  380. for i4,v4 in pairs(v3:GetChildren()) do
  381. if v4:FindFirstChildWhichIsA("ClickDetector") and (game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position - v3:FindFirstChild("HumanoidRootPart").Position).magnitude < 30 then
  382. warn("start eat")
  383. local hum = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  384. twen:Pause()
  385. ass = false
  386. spawn(function()
  387. repeat
  388. hum.CFrame = v3.HumanoidRootPart.CFrame
  389. fireclickdetector(v4:FindFirstChildWhichIsA("ClickDetector"), 1)
  390. wait()
  391. until ass == true
  392. end)
  393. wait(0.3)
  394. ass = true
  395. warn("stop eat")
  396. end
  397. end
  398. end
  399. end
  400. end
  401. end
  402. end
  403. end
  404. end
  405. end)
  406. --[[
  407. local key2 = "llIl🍑lIII🍑👌💔lI👌l1lII1🍑💦Ill💔ll💔👌lIIlIl👌l💔II👌I👌l|lI👌lII|lIlII💔Il|IlIlIIl|II1lI💦IIII1IllI💔lIIllll|IIIll💔👌lII👌lI1lI1Il👌l|I👌I👌l|💦I💦lIllI|lI💦III👌lllIlIlll💦lI🍑IlIl1IllIllI1|💦ll👌lIllll|IIll1I💔llIII|l👌IIlllll|IlllII1ll👌IIIIIlIlll1l1IIl🍑IlIIII💔||I|IllIll💔I1ll|IlIII1lII1I👌I💦II🍑|IlIlI💦ll👌llIlI🍑l👌I🍑IlIIII🍑1💦l🍑lllIIIII|IIlll👌💦III1💔lIlIIllIIIllIlllI|l1Illll|I👌lI👌💦IlIlllllIIll👌lI1💔1Ill👌Il💔ll👌llIIII|1|I|1lIlIIllll💦💦IIIIl1👌🍑llIl👌lIll💦l💦IIII1💦llllI💦lllll👌ll🍑l1👌I💔lIIllI1IIl💔I1lIIIIIIIlII👌lII🍑IlII|llII💔1💦llIIIIIIIllII1💦lllII💔IIIIlIIlI1l1lIIIll👌👌|💦Il1lIllIl🍑Ill👌lIlIIlII|IIIl💔I💦💦💔I💔I👌IllIl💔IlIlI👌IIIlII💔IlI🍑lIlI🍑l👌👌lIIlllII1I👌l👌IIIl🍑I1l👌ll🍑lIlIIl|IIl💦🍑|lI🍑l🍑l|IIIl💦I💦1l|Il💔💦IIll|l🍑lIl|l💦IlllII👌IlIlI1lllIIlll|llI💔IllIlI👌IlIl💦lll|💔lI👌III🍑I|l|l"
  408. local trainer_something = nil
  409. local trainer = nil
  410. local train_on = false
  411. local tab_win_3 = sec_win:AddTab('Autofarm trainers')
  412. tab_win_3:AddSwitch('Autofarm trainers', function(a)
  413. train_on = a
  414. end)
  415. local ccg_or_ghoul = tab_win_3:AddDropdown("Trainer type", function(a)
  416. trainer_something = a
  417. print(trainer_something)
  418. end)
  419. ccg_or_ghoul:Add('CCG')
  420. ccg_or_ghoul:Add('Ghoul')
  421. spawn(function()
  422. while wait() do
  423. if trainer_something ~= nil and trainer_something == 'Ghoul' then
  424. trainer = game:GetService("Players").LocalPlayer.PlayerFolder.Trainers.GhoulTrainer.Value
  425. elseif trainer_something ~= nil and trainer_something ~= 'Ghoul' then
  426. trainer = game:GetService("Players").LocalPlayer.PlayerFolder.Trainers.CCGTrainer.Value
  427. end
  428. if train_on and trainer ~= nil then
  429. if game.workspace:FindFirstChild("TrainingSessions") and game.workspace.TrainingSessions:FindFirstChild("TrainingSession") and game.workspace.TrainingSessions.TrainingSession:FindFirstChild("Player") and game.workspace.TrainingSessions.TrainingSession:FindFirstChild("Player").Value == game.Players.LocalPlayer then
  430. print("SHould of auto completetetette")
  431. game.workspace.TrainingSessions.TrainingSession.Comm:FireServer("Finished", key2, false)
  432. game:GetService("ReplicatedStorage").Remotes.Evolutions.GetInfo:InvokeServer()
  433. else
  434. game:GetService("ReplicatedStorage").Remotes.Trainers.RequestTraining:InvokeServer(tostring(trainer))
  435. end
  436. end
  437. end
  438. end)
  439. ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement