Advertisement
iiDaCyborgxX

Strongest Punch Sim

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