Advertisement
jett123567

Untitled

May 6th, 2019
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.69 KB | None | 0 0
  1. --[[
  2. -----------------------------
  3. Controls:
  4.  
  5. F3 to farm Racetrack
  6.  
  7. J to farm Construction
  8.  
  9. K to farm Farm
  10.  
  11. L to farm Classic
  12.  
  13. B to farm Boat
  14.  
  15. N to farm Space
  16.  
  17. M to farm Desert
  18.  
  19. P to farm Prison
  20.  
  21. G to farm Castle
  22.  
  23. H to farm Towers
  24.  
  25. f4 to stop
  26. -----------------------------
  27. Game:
  28. https://www.roblox.com/games/2248408710/NEW-Destruction-Simulator
  29. -----------------------------
  30. Description:
  31. Depending on what you hit, this will tp you to the location and autosell + auto destroy everything.
  32. -----------------------------
  33. Credit:
  34. Original: @Verm - brianops16
  35. -----------------------------
  36. --]]
  37. waitT = 0 --Change this for a higherwait time if this lags you
  38. function codeW()
  39. local S = game.workspace.Areas[Place]:FindFirstChild("Spawns")
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = S.Spawn1.CFrame
  41. for i,a in pairs(game.workspace.Areas[Place]:GetChildren()) do
  42. if a.ClassName == "Model" and on == 1 then
  43. for i,v in pairs(a:GetChildren()) do
  44. if v.ClassName == "Part" and on == 1 then
  45. local plrN = game.Players.LocalPlayer.Name
  46. local A_1 = 15353659219.5737
  47. local A_2 = game:GetService("Workspace")[plrN].Launcher.Stats
  48. local A_3 = v.Position
  49. local A_4 = game:GetService("Workspace")[plrN].Launcher.Assets.Rocket.Boom
  50. local Event = game:GetService("ReplicatedStorage").Remotes.explodeRocket
  51. Event:FireServer(A_1, A_2, A_3, A_4)
  52. local Event = game:GetService("ReplicatedStorage").Remotes.sellBricks
  53. Event:FireServer()
  54. wait(waitT)
  55. end
  56. end
  57. end
  58. end
  59. end
  60. function codeB()
  61. local S = game.workspace.Areas[Place]:FindFirstChild("Spawns")
  62. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = S.Spawn1.CFrame
  63. for i,a in pairs(game.workspace.Areas[Place]:GetChildren()) do
  64. if a.ClassName == "Model" and on == 1 then
  65. for i,v in pairs(a:GetChildren()) do
  66. if v.ClassName == "Part" and on == 1 then
  67. local plrN = game.Players.LocalPlayer.Name
  68. local A_1 = 15353659219.5737
  69. local A_2 = game:GetService("Players")[plrN].Backpack.Launcher.Stats
  70. local A_3 = v.Position
  71. local A_4 = game:GetService("Players")[plrN].Backpack.Launcher.Assets.Rocket.Boom
  72. local Event = game:GetService("ReplicatedStorage").Remotes.explodeRocket
  73. Event:FireServer(A_1, A_2, A_3, A_4)
  74. local Event = game:GetService("ReplicatedStorage").Remotes.sellBricks
  75. Event:FireServer()
  76. wait(waitT)
  77. end
  78. end
  79. end
  80. end
  81. end
  82. ----
  83.  
  84. on = 1
  85.  
  86. ----
  87. local UIS = game:GetService("UserInputService")
  88. UIS.InputBegan:connect(function(Input)
  89. local KeyCode = Input.KeyCode
  90. if KeyCode == Enum.KeyCode.F3 then
  91. on = 1
  92. wait(.2)
  93. while on == 1 do
  94. game:GetService('RunService').Stepped:wait(waitT)
  95. Place = "Area1"
  96. local good,bad = pcall(codeW)
  97. if good and on == 1 then
  98. codeW()
  99. else
  100. local good,bad = pcall(codeB)
  101. if good and on == 1 then
  102. codeB()
  103. else
  104. print(bad)
  105. end
  106. end
  107. end
  108. end
  109. end)
  110. local UIS = game:GetService("UserInputService")
  111. UIS.InputBegan:connect(function(Input)
  112. local KeyCode = Input.KeyCode
  113. if KeyCode == Enum.KeyCode.J then
  114. on = 1
  115. wait(.2)
  116. while on == 1 do
  117. game:GetService('RunService').Stepped:wait(waitT)
  118. Place = "Area2"
  119. local good,bad = pcall(codeW)
  120. if good and on == 1 then
  121. codeW()
  122. else
  123. local good,bad = pcall(codeB)
  124. if good and on == 1 then
  125. codeB()
  126. else
  127. print(bad)
  128. end
  129. end
  130. end
  131. end
  132. end)
  133. UIS.InputBegan:connect(function(Input)
  134. local KeyCode = Input.KeyCode
  135. if KeyCode == Enum.KeyCode.K then
  136. on = 1
  137. wait(.2)
  138. while on == 1 do
  139. game:GetService('RunService').Stepped:wait(waitT)
  140. Place = "Area3"
  141. local good,bad = pcall(codeW)
  142. if good and on == 1 then
  143. codeW()
  144. else
  145. local good,bad = pcall(codeB)
  146. if good and on == 1 then
  147. codeB()
  148. else
  149. print(bad)
  150. end
  151. end
  152. end
  153. end
  154. end)
  155. UIS.InputBegan:connect(function(Input)
  156. local KeyCode = Input.KeyCode
  157. if KeyCode == Enum.KeyCode.L then
  158. on = 1
  159. wait(.2)
  160. while on == 1 do
  161. game:GetService('RunService').Stepped:wait(waitT)
  162. Place = "Area4"
  163. local good,bad = pcall(codeW)
  164. if good and on == 1 then
  165. codeW()
  166. else
  167. local good,bad = pcall(codeB)
  168. if good and on == 1 then
  169. codeB()
  170. else
  171. print(bad)
  172. end
  173. end
  174. end
  175. end
  176. end)
  177. UIS.InputBegan:connect(function(Input)
  178. local KeyCode = Input.KeyCode
  179. if KeyCode == Enum.KeyCode.B then
  180. on = 1
  181. wait(.2)
  182. while on == 1 do
  183. game:GetService('RunService').Stepped:wait(waitT)
  184. Place = "Area5"
  185. local good,bad = pcall(codeW)
  186. if good and on == 1 then
  187. codeW()
  188. else
  189. local good,bad = pcall(codeB)
  190. if good and on == 1 then
  191. codeB()
  192. else
  193. print(bad)
  194. end
  195. end
  196. end
  197. end
  198. end)
  199. UIS.InputBegan:connect(function(Input)
  200. local KeyCode = Input.KeyCode
  201. if KeyCode == Enum.KeyCode.N then
  202. on = 1
  203. wait(.2)
  204. while on == 1 do
  205. game:GetService('RunService').Stepped:wait(waitT)
  206. Place = "Area6"
  207. local good,bad = pcall(codeW)
  208. if good and on == 1 then
  209. codeW()
  210. else
  211. local good,bad = pcall(codeB)
  212. if good and on == 1 then
  213. codeB()
  214. else
  215. print(bad)
  216. end
  217. end
  218. end
  219. end
  220. end)
  221. UIS.InputBegan:connect(function(Input)
  222. local KeyCode = Input.KeyCode
  223. if KeyCode == Enum.KeyCode.M then
  224. on = 1
  225. wait(.2)
  226. while on == 1 do
  227. game:GetService('RunService').Stepped:wait(waitT)
  228. Place = "Area7"
  229. local good,bad = pcall(codeW)
  230. if good and on == 1 then
  231. codeW()
  232. else
  233. local good,bad = pcall(codeB)
  234. if good and on == 1 then
  235. codeB()
  236. else
  237. print(bad)
  238. end
  239. end
  240. end
  241. end
  242. end)
  243. UIS.InputBegan:connect(function(Input)
  244. local KeyCode = Input.KeyCode
  245. if KeyCode == Enum.KeyCode.P then
  246. on = 1
  247. wait(.2)
  248. while on == 1 do
  249. game:GetService('RunService').Stepped:wait(waitT)
  250. Place = "Area8"
  251. local good,bad = pcall(codeW)
  252. if good and on == 1 then
  253. codeW()
  254. else
  255. local good,bad = pcall(codeB)
  256. if good and on == 1 then
  257. codeB()
  258. else
  259. print(bad)
  260. end
  261. end
  262. end
  263. end
  264. end)
  265. UIS.InputBegan:connect(function(Input)
  266. local KeyCode = Input.KeyCode
  267. if KeyCode == Enum.KeyCode.G then
  268. on = 1
  269. wait(.2)
  270. while on == 1 do
  271. game:GetService('RunService').Stepped:wait(waitT)
  272. Place = "Area8"
  273. local good,bad = pcall(codeW)
  274. if good and on == 1 then
  275. codeW()
  276. else
  277. local good,bad = pcall(codeB)
  278. if good and on == 1 then
  279. codeB()
  280. else
  281. print(bad)
  282. end
  283. end
  284. end
  285. end
  286. end)
  287. UIS.InputBegan:connect(function(Input)
  288. local KeyCode = Input.KeyCode
  289. if KeyCode == Enum.KeyCode.H then
  290. on = 1
  291. wait(.2)
  292. while on == 1 do
  293. game:GetService('RunService').Stepped:wait(waitT)
  294. Place = "Area9"
  295. local good,bad = pcall(codeW)
  296. if good and on == 1 then
  297. codeW()
  298. else
  299. local good,bad = pcall(codeB)
  300. if good and on == 1 then
  301. codeB()
  302. else
  303. print(bad)
  304. end
  305. end
  306. end
  307. end
  308. end)
  309.  
  310.  
  311. UIS.InputBegan:connect(function(Input)
  312. local KeyCode = Input.KeyCode
  313. if KeyCode == Enum.KeyCode.F4 then
  314. on = 0
  315. end
  316. end)
  317. --Description and controls at the top
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement