nostopgmaming17

dragon ball rage autofarm zenkai

Mar 31st, 2022 (edited)
445
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. syn.queue_on_teleport(game:HttpGet("https://pastebin.com/raw/BJJUGzKR",true))
  2. if not game:IsLoaded() then game.Loaded:Wait() end
  3. do
  4.     -- ANTI AFK --
  5.     local vu = game:GetService("VirtualUser")
  6.     game:GetService("Players").LocalPlayer.Idled:connect(function()
  7.         vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  8.         wait(1)
  9.         vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  10.     end)
  11. end
  12. local ID = game.PlaceId
  13. local GRAVITY =  3371469539
  14. local BEERUS = 3336119605
  15. function tp(id)
  16.     game:GetService("TeleportService"):Teleport(id)
  17. end
  18. local LIMIT = 255000000
  19. local repfold = game:GetService("ReplicatedStorage"):WaitForChild("_replicationFolder")
  20. local m = repfold:WaitForChild("Network");m=require(m)
  21. local function zenkai()
  22.     if game.Players.LocalPlayer:WaitForChild("Stats"):WaitForChild("ZenkaiBoost").Value == 45 then game.Players.LocalPlayer:Kick("MAXED OUT") end
  23.     m:InvokeServer("RequestZenkaiBoost")
  24. end
  25. local zenkais = require(repfold:WaitForChild("ZenkaiRequirements"))
  26. local plr = game.Players.LocalPlayer
  27. local zenks = plr:WaitForChild("Stats"):WaitForChild("ZenkaiBoost").Value
  28. local zreq = zenks < 45 and zenkais[zenks+1] or LIMIT
  29. local c = plr.Character or plr.CharacterAdded:Wait()
  30. local kival,kimaxval
  31. if c then kival = c:WaitForChild("State"):WaitForChild("Energy") kimaxval = c.State:WaitForChild("MaxEnergy") end
  32. plr.CharacterAdded:Connect(function(ch)
  33.     c = ch
  34.     kival = ch:WaitForChild("State"):WaitForChild("Energy")
  35.     kimaxval = ch.State:WaitForChild("MaxEnergy")
  36. end)
  37. local statsi = plr.Stats
  38. c:WaitForChild("HumanoidRootPart")
  39. local stats = {statsi:WaitForChild("Attack");statsi:WaitForChild("Agility");statsi:WaitForChild("Defense");statsi:WaitForChild("Ki")}
  40. if ID == BEERUS then
  41.     while wait() do
  42.         if c ~= nil and c:WaitForChild("HumanoidRootPart") then
  43.             c.HumanoidRootPart.CFrame = CFrame.new(50000,50000,50000)
  44.             c.HumanoidRootPart.Velocity = Vector3.new(0,2,0)
  45.         end
  46.         if stats[4].Value < zreq/2 or stats[3].Value >= zreq then
  47.             for i = 1,5 do spawn(function() m:FireServer("KiBlast","Left") end) end
  48.         else
  49.             for i = 1,5 do spawn(function() m:FireServer("DefenseTrain") end) end
  50.         end
  51.         if kival.Value < 10 then
  52.             repeat m:InvokeServer("ChargeEnergy",true) wait() until kival.Value == kimaxval.Value or c.Humanoid.Health <= 0
  53.             m:InvokeServer("ChargeEnergy",false)
  54.         end
  55.         if stats[3].Value >= zreq and stats[4].Value >= zreq then
  56.             break
  57.         end
  58.     end
  59.     zenkai()
  60.     while wait(1) do tp(GRAVITY) end
  61. elseif ID == GRAVITY then
  62.     while wait() do
  63.         for i = 1,5 do spawn(function() m:FireServer("Combat") end) end
  64.         if stats[1].Value >= zreq and stats[2].Value >= zreq then
  65.             break
  66.         end
  67.     end
  68.     while wait(1) do tp(BEERUS) end
  69. else
  70.     if stats[1].Value >= zreq and stats[2].Value >= zreq then
  71.         if stats[3].Value >= zreq and stats[4].Value >= zreq then
  72.             zenkai()
  73.             tp(GRAVITY)
  74.         else
  75.             tp(BEERUS)
  76.         end
  77.     else
  78.         tp(GRAVITY)
  79.     end
  80. end
RAW Paste Data Copied