Digitalsweatgamesyt

Strongest punch simulator script

Sep 4th, 2021 (edited)
30,555
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SUB TO MY YT ITS DIGITALSWEATGAMES HOPE YOU ENJOY THE SCRIPT:
  2.  
  3. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  4. local w = library:CreateWindow("Strongest Punch Simulator")
  5. local b = w:CreateFolder("AutoFarm (Detectable)")
  6. local f = w:CreateFolder("AutoFarm (Undetectable)")
  7. local e = w:CreateFolder("Mix")
  8. local u = w:CreateFolder("Credits")
  9.  
  10. b:Toggle("AutoClicker",function(bool)
  11. shared.toggle = bool
  12. AutoClickerv1 = bool
  13. end)
  14.  
  15. b:Toggle("AutoCollectOrbs",function(bool)
  16. shared.toggle = bool
  17. AutoCollectOrbsv1 = bool
  18. end)
  19.  
  20. f:Toggle("AutoClicker",function(bool)
  21. shared.toggle = bool
  22. AutoClickerv2 = bool
  23. end)
  24.  
  25. f:Toggle("AutoCollectOrbs",function(bool)
  26. shared.toggle = bool
  27. AutoCollectOrbsv2 = bool
  28. end)
  29.  
  30. e:Toggle("Noclip",function(bool)
  31. shared.toggle = bool
  32. noclip = bool
  33. end)
  34.  
  35. e:Toggle("AntiAfk",function(bool)
  36. shared.toggle = bool
  37. AntiAfk = bool
  38. end)
  39.  
  40. --Credits
  41. u:Button("maxgat5#8395",function()
  42. setclipboard("maxgat5#8395")
  43. end)
  44.  
  45. u:Button("Discord Server",function()
  46. setclipboard("https://discord.gg/K4txdRSVfq")
  47. end)
  48.  
  49. game:GetService('RunService').Stepped:connect(function()
  50. spawn(function()
  51. if AntiAfk == true then
  52. local bb=game:service'VirtualUser'
  53. bb:CaptureController()
  54. bb:ClickButton2(Vector2.new())
  55. end
  56. end)
  57. spawn(function()
  58. if AutoClickerv2 == true then
  59. mouse1press() wait() mouse1release()
  60. end
  61. end)
  62. spawn(function()
  63. if noclip == true then
  64. pcall(function()
  65. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  66. end)
  67. end
  68. end)
  69. end)
  70.  
  71. spawn(function()
  72. world = ""
  73. allow = true
  74. while wait(math.random(1,3)) do
  75. if AutoCollectOrbsv1 == true then
  76. if allow == true then
  77. allow = false
  78. function ClosestPart()
  79. local dist = math.huge
  80. local target = nil
  81. for i,v in pairs(game:GetService("Workspace").Map.Stages.Boosts:GetDescendants()) do
  82. if v.ClassName == "TouchTransmitter" then
  83. local magnitude = (v.Parent.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
  84. if magnitude < dist then
  85. dist = magnitude
  86. target = v.Parent
  87. end
  88. end
  89. end
  90. return target
  91. end
  92. world = ClosestPart().Parent.Parent
  93. function ClosestPart1()
  94. local dist = math.huge
  95. local target = nil
  96. for i,v in pairs(game:GetService("Workspace").Map.Stages.Boosts:GetChildren()) do
  97. if tostring(v.Name) == tostring(world) then
  98. for i,v1 in pairs(v:GetChildren()) do
  99. for i,v2 in pairs(v1:GetChildren()) do
  100. for i,v3 in pairs(v2:GetChildren()) do
  101. if v3.ClassName == "TouchTransmitter" then
  102. if v3.Parent.Transparency ~= 1 then
  103. local magnitude = (v3.Parent.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
  104. if magnitude < dist then
  105. dist = magnitude
  106. target = v3.Parent
  107. end
  108. end
  109. end
  110. end
  111. end
  112. end
  113. end
  114. end
  115. return target
  116. end
  117. end
  118. pcall(function()
  119. ClosestPart1().CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,0)
  120. end)
  121. else
  122. allow = true
  123. world = ""
  124. end
  125. end
  126. end)
  127.  
  128. spawn(function()
  129. world = ""
  130. allow = true
  131. while wait() do
  132. if AutoCollectOrbsv2 == true then
  133. if allow == true then
  134. allow = false
  135. function ClosestPart()
  136. local dist = math.huge
  137. local target = nil
  138. for i,v in pairs(game:GetService("Workspace").Map.Stages.Boosts:GetDescendants()) do
  139. if v.ClassName == "TouchTransmitter" then
  140. local magnitude = (v.Parent.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
  141. if magnitude < dist then
  142. dist = magnitude
  143. target = v.Parent
  144. end
  145. end
  146. end
  147. return target
  148. end
  149. world = ClosestPart().Parent.Parent
  150. function ClosestPart1()
  151. local dist = math.huge
  152. local target = nil
  153. for i,v in pairs(game:GetService("Workspace").Map.Stages.Boosts:GetChildren()) do
  154. if tostring(v.Name) == tostring(world) then
  155. for i,v1 in pairs(v:GetChildren()) do
  156. for i,v2 in pairs(v1:GetChildren()) do
  157. for i,v3 in pairs(v2:GetChildren()) do
  158. if v3.ClassName == "TouchTransmitter" then
  159. if v3.Parent.Transparency ~= 1 then
  160. local magnitude = (v3.Parent.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
  161. if magnitude < dist then
  162. dist = magnitude
  163. target = v3.Parent
  164. end
  165. end
  166. end
  167. end
  168. end
  169. end
  170. end
  171. end
  172. return target
  173. end
  174. end
  175. pcall(function()
  176. game.Players.LocalPlayer.Character.Humanoid:MoveTo(ClosestPart1().Position)
  177. end)
  178. else
  179. allow = true
  180. world = ""
  181. end
  182. end
  183. game:GetService('Players').LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function()
  184. world = ""
  185. allow = true
  186. while wait() do
  187. if AutoCollectOrbsv2 == true then
  188. if allow == true then
  189. allow = false
  190. function ClosestPart()
  191. local dist = math.huge
  192. local target = nil
  193. for i,v in pairs(game:GetService("Workspace").Map.Stages.Boosts:GetDescendants()) do
  194. if v.ClassName == "TouchTransmitter" then
  195. local magnitude = (v.Parent.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
  196. if magnitude < dist then
  197. dist = magnitude
  198. target = v.Parent
  199. end
  200. end
  201. end
  202. return target
  203. end
  204. world = ClosestPart().Parent.Parent
  205. function ClosestPart1()
  206. local dist = math.huge
  207. local target = nil
  208. for i,v in pairs(game:GetService("Workspace").Map.Stages.Boosts:GetChildren()) do
  209. if tostring(v.Name) == tostring(world) then
  210. for i,v1 in pairs(v:GetChildren()) do
  211. for i,v2 in pairs(v1:GetChildren()) do
  212. for i,v3 in pairs(v2:GetChildren()) do
  213. if v3.ClassName == "TouchTransmitter" then
  214. if v3.Parent.Transparency ~= 1 then
  215. local magnitude = (v3.Parent.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
  216. if magnitude < dist then
  217. dist = magnitude
  218. target = v3.Parent
  219. end
  220. end
  221. end
  222. end
  223. end
  224. end
  225. end
  226. end
  227. return target
  228. end
  229. end
  230. pcall(function()
  231. game.Players.LocalPlayer.Character.Humanoid:MoveTo(ClosestPart1().Position)
  232. end)
  233. else
  234. allow = true
  235. world = ""
  236. end
  237. end
  238. end)
  239. end)
  240.  
  241. while wait() do
  242. if AutoClickerv1 == true then
  243. game:GetService("ReplicatedStorage").RemoteEvent:FireServer({"Activate_Punch"})
  244. end
  245. end
RAW Paste Data