The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Dragon Ball Rage script pastebin roblox
By Dragon Ball Rage on 2024-09-19 08:00 am | Syntax: LUA | Views: 10



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/preztel/AzureLibrary/master/uilib.lua", true))()
  2.  
  3. function GetCurrentHealth()
  4.     local health_text = game.Players.LocalPlayer.PlayerGui.PlayerInterface.HealthBar.DisplayText.Text
  5.     return tonumber(string.match(health_text, "%d+"))
  6. end
  7.  
  8. AutofarmTab = library:CreateTab("Autofarm")
  9. AutofarmTab:CreateToggle("Attack autofarm", function(bool)
  10.     _G.AttackAutoFarmBool = bool
  11.  
  12.     while _G.AttackAutoFarmBool do
  13.         game:GetService("ReplicatedStorage").Remotes.Training.Combat:InvokeServer()
  14.         wait(0.2)
  15.     end
  16. end)
  17. AutofarmTab:CreateToggle("Energy gain", function(bool)
  18.     _G.EnergyAutoFarmBool = bool
  19.    
  20.     if not bool then
  21.         game:GetService("ReplicatedStorage").Remotes.Training.ChargeFinish:FireServer()
  22.     end
  23.    
  24.     while _G.EnergyAutoFarmBool do
  25.         local args = {
  26.             [1] = true
  27.         }
  28.         game:GetService("ReplicatedStorage").Remotes.Training.Charge:InvokeServer(unpack(args))
  29.         wait(0.2)
  30.     end
  31. end)
  32. AutofarmTab:CreateToggle("Defense gain", function(bool)
  33.     _G.DefenseAutoFarmBool = bool
  34.  
  35.     while _G.DefenseAutoFarmBool do
  36.         if GetCurrentHealth() > 9 then
  37.             local args = {
  38.                 [1] = game:GetService("Players").LocalPlayer.Stats,
  39.                 [2] = game:GetService("Players").LocalPlayer.Status,
  40.                 [3] = game:GetService("Players").LocalPlayer.Character.Humanoid, -- remove humanoid to not lose health
  41.                 [4] = game:GetService("Players").LocalPlayer.Character.RightHand
  42.             }
  43.             game:GetService("ReplicatedStorage").Remotes.Training.Defense:InvokeServer(unpack(args))
  44.         end
  45.         wait(0.2)
  46.     end
  47. end)
  48. AutofarmTab:CreateToggle("Qi autofarm", function(bool)
  49.     _G.QiAutoFarmBool = bool
  50.  
  51.     while _G.QiAutoFarmBool do
  52.         game:GetService("ReplicatedStorage").Remote.KiBlast:InvokeServer()
  53.         wait(0.2)
  54.     end
  55. end)