Advertisement
MegumuSenpai

Dragon Ball Online Generations | AutoFarm GUI

Mar 27th, 2020
12,394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. -- Exploit Check
  2. if not pcall(function() return getreg,getfenv,debug.getupvalues end) then
  3. game.ReplicatedStorage.Events.Damage:FireServer("get banned retard")
  4. game:Shutdown()
  5. end
  6.  
  7. -- UI Library
  8. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  9. local w = library:CreateWindow('dragon nuts online')
  10. w:Section('Made by Megumu')
  11.  
  12. -- Main
  13. w:Toggle('Enabled', {flag="enabled"})
  14.  
  15. -- Get NPCs
  16. Targets = {}
  17. for i,v in pairs(workspace.NPC:GetChildren()) do
  18. if not Targets[v.Name] then
  19. Targets[v.Name] = v.Name
  20. end
  21. end
  22. w:SearchBox("Target", {
  23. location = _G;
  24. flag = "memes";
  25. list = Targets
  26. }, function()
  27. print(_G.memes)
  28. end)
  29.  
  30. -- Variable
  31. local player = game.Players.LocalPlayer
  32. local data = game.ReplicatedStorage.DataStorage[player.Name].Data
  33. local scr
  34.  
  35. -- Get Script
  36. local shit = getnilinstances()
  37. for i = 1, #shit do local v = shit[i]
  38. if v:IsA("LocalScript") and v.Name == "CameraScript" then
  39. scr = v
  40. end
  41. end
  42.  
  43. -- Get Codec
  44. function codec()
  45. local stuff = getreg()
  46. for i = 1, #stuff do local v = stuff[i]
  47. if typeof(v) == "function" and getfenv(v).script == scr and typeof(debug.getupvalues(v)[5]) == "Instance" then
  48. return debug.getupvalues(v)[5]
  49. end
  50. end
  51. end
  52. local Codec = codec()
  53.  
  54. -- Woosh
  55. game:GetService("RunService").RenderStepped:Connect(function()
  56. if w.flags.enabled then
  57. pcall(function()
  58. player.Character.Humanoid:ChangeState(10)
  59. end)
  60. end
  61. end)
  62.  
  63. -- Script
  64. while true do
  65. if w.flags.enabled then
  66. local shit = workspace.NPC:GetChildren()
  67. for i = 1, #shit do local v = shit[i]
  68. if w.flags.enabled and v.Name == _G.memes and pcall(function() return v.Humanoid,v.HumanoidRootPart end) and v.Humanoid.Health > 0 then
  69. repeat
  70. pcall(function()
  71. player.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,0,10)
  72. game.ReplicatedStorage.Events.Damage:FireServer("CombatDamage", v.HumanoidRootPart, player.Character, Codec, "ShockwavePunchEffect", "Strong", true, false, "Client", "Foward", nil, data, false)
  73. end)
  74. wait()
  75. until not w.flags.enabled or not pcall(function() return v.HumanoidRootPart,v.Humanoid,v.Parent end) or v.Humanoid.Health <= 0
  76. end
  77. end
  78. end
  79. wait(.25)
  80. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement