SkyGutter-GMG

Clicking Havoc

Jul 4th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.45 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("Clicking Havoc")
  3. local b = w:CreateFolder("AutoFarm")
  4. local f = w:CreateFolder("AutoBuy")
  5. local e = w:CreateFolder("Mix")
  6. local u = w:CreateFolder("Credits")
  7. local SelectedRebirth = tonumber(1)
  8. Rebirths = {}
  9. for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.GUI.Rebirths.Main.Rebirth.Rebirth:GetDescendants()) do
  10. if v.ClassName == "IntValue" then
  11. table.insert(Rebirths,tonumber(v.Value))
  12. end
  13. end
  14.  
  15. if game:GetService("CoreGui"):FindFirstChild("PurchasePromptApp") then
  16. game:GetService("CoreGui").PurchasePromptApp:Destroy()
  17. end
  18.  
  19. b:Toggle("AutoClicker",function(bool)
  20. shared.toggle = bool
  21. AutoClicker = bool
  22. end)
  23.  
  24. b:Toggle("AutoCollectGems",function(bool)
  25. shared.toggle = bool
  26. AutoCollectGems = bool
  27. end)
  28.  
  29. f:Toggle("Rebirth",function(bool)
  30. shared.toggle = bool
  31. AutoRebirth = bool
  32. end)
  33.  
  34. f:Dropdown("Select Rebirth",Rebirths,true,function(mob)
  35. SelectedRebirth = mob
  36. end)
  37.  
  38. f:Toggle("Upgrades",function(bool)
  39. shared.toggle = bool
  40. Upgrades = bool
  41. end)
  42.  
  43. e:Toggle("AntiAfk",function(bool)
  44. shared.toggle = bool
  45. AntiAfk = bool
  46. end)
  47.  
  48. e:Button("Tp Cheats",function()
  49. pcall(function()
  50. for i,v in pairs(game:GetService("Workspace").Chests:GetDescendants()) do
  51. if v.ClassName == "TouchTransmitter" then
  52. if not string.find(v.Parent.Info.Type.Text,"VIP") and
  53. not string.find(v.Parent.Info.Type.Text,"PREMIUM") and
  54. not string.find(v.Parent.Info.Type.Text,"GROUP") then
  55. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Parent.CFrame.Position + Vector3.new(0,0,0))
  56. wait(.1)
  57. end
  58. end
  59. end
  60. end)
  61. end)
  62.  
  63. --Credits
  64. u:Button("maxgat5#8395",function()
  65. setclipboard("maxgat5#8395")
  66. end)
  67.  
  68. u:Button("Discord Server",function()
  69. setclipboard("https://discord.gg/K4txdRSVfq")
  70. end)
  71.  
  72. function Upgrades1()
  73. local Gems = {}
  74. local table = {}
  75. local K = {}
  76. local M = {}
  77. local B = {}
  78. local T = {}
  79. local noV = {}
  80. i = 1
  81. table[i] = game:GetService("Players").LocalPlayer.leaderstats.Gems.Value
  82. if not string.find(table[i], "K") and
  83. not string.find(table[i], "M") and
  84. not string.find(table[i], "B") and
  85. not string.find(table[i], "T") then
  86. noV[i] = table[i]
  87. end
  88. if string.find(table[i], "K") then
  89. K[i] = string.gsub(table[i], "K", "")
  90. end
  91. if string.find(table[i], "M") then
  92. M[i] = string.gsub(table[i], "M", "")
  93. end
  94. if string.find(table[i], "B") then
  95. B[i] = string.gsub(table[i], "B", "")
  96. end
  97. if string.find(table[i], "T") then
  98. T[i] = string.gsub(table[i], "T", "")
  99. end
  100. for i, v in pairs(noV) do
  101. Gems[i] = tonumber(v)
  102. end
  103. for i, v in pairs(K) do
  104. Gems[i] = tonumber(v * 1000)
  105. end
  106. for i, v in pairs(M) do
  107. Gems[i] = tonumber(v * 1000000)
  108. end
  109. for i, v in pairs(B) do
  110. Gems[i] = tonumber(v * 1000000000)
  111. end
  112. for i, v in pairs(T) do
  113. Gems[i] = tonumber(v * 1000000000000)
  114. end
  115. local Cost = {}
  116. local table = {}
  117. local K = {}
  118. local M = {}
  119. local B = {}
  120. local T = {}
  121. local noV = {}
  122. for i, v2 in pairs(game:GetService("Players").LocalPlayer.PlayerGui.GUI.Upgrades.Main.RebirthShop.RebirthShop:GetChildren()) do
  123. if v2.ClassName == "ImageButton" then
  124. v2.Visible = true
  125. table[i] = v2.Price.Text
  126. end
  127. for i,v in pairs(table) do
  128. if not string.find(table[i], "K") and
  129. not string.find(table[i], "M") and
  130. not string.find(table[i], "B") and
  131. not string.find(table[i], "T") then
  132. noV[i] = table[i]
  133. end
  134. if string.find(table[i], "K") then
  135. K[i] = string.gsub(table[i], "K", "")
  136. end
  137. if string.find(table[i], "M") then
  138. M[i] = string.gsub(table[i], "M", "")
  139. end
  140. if string.find(table[i], "B") then
  141. B[i] = string.gsub(table[i], "B", "")
  142. end
  143. if string.find(table[i], "T") then
  144. T[i] = string.gsub(table[i], "T", "")
  145. end
  146. end
  147. end
  148. for i,v in pairs(noV) do
  149. Cost[i] = tonumber(v)
  150. end
  151. for i,v in pairs(K) do
  152. Cost[i] = tonumber(v * 1000)
  153. end
  154. for i,v in pairs(M) do
  155. Cost[i] = tonumber(v * 1000000)
  156. end
  157. for i,v in pairs(B) do
  158. Cost[i] = tonumber(v * 1000000000)
  159. end
  160. for i,v in pairs(T) do
  161. Cost[i] = tonumber(v * 1000000000000)
  162. end
  163. for i,v in pairs(Cost) do
  164. if Cost[i] <= Gems[1] then
  165. for i,v1 in pairs(game:GetService("Players").LocalPlayer.PlayerGui.GUI.Upgrades.Main.RebirthShop.RebirthShop:GetChildren()) do
  166. if v1.ClassName == "ImageButton" then
  167. game:GetService("ReplicatedStorage").Upgrade:FireServer(v1.Name)
  168. end
  169. end
  170. end
  171. end
  172. end
  173.  
  174. function CollectGems1()
  175. pcall(function()
  176. for i,v in pairs(game:GetService("Workspace").Gems:GetDescendants()) do
  177. if v.ClassName == "TouchTransmitter" then
  178. v.Parent.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,0)
  179. end
  180. end
  181. end)
  182. end
  183.  
  184. function Click1()
  185. firesignal(game:GetService("Players").LocalPlayer.PlayerGui.GUI.BottomBar.Clicker.Activated)
  186. end
  187.  
  188. function Rebirth1()
  189. game:GetService("ReplicatedStorage").Rebirth:FireServer(tonumber(SelectedRebirth))
  190. end
  191.  
  192. while wait() do
  193. spawn(function()
  194. if AutoRebirth == true then
  195. Rebirth1()
  196. end
  197. end)
  198.  
  199. spawn(function()
  200. if AutoClicker == true then
  201. Click1()
  202. end
  203. end)
  204.  
  205. spawn(function()
  206. if AutoCollectGems == true then
  207. CollectGems1()
  208. end
  209. end)
  210.  
  211. spawn(function()
  212. if Upgrades == true then
  213. Upgrades1()
  214. end
  215. end)
  216.  
  217. spawn(function()
  218. if AntiAfk == true then
  219. local bb=game:service'VirtualUser'
  220. bb:CaptureController()
  221. bb:ClickButton2(Vector2.new())
  222. end
  223. end)
  224. end
Advertisement
Add Comment
Please, Sign In to add comment