Advertisement
Igorkot_yt

destruction simulator script

Aug 22nd, 2021
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.61 KB | None | 0 0
  1. if PROTOSMASHER_LOADED then
  2. local backup = debug.getupvalues
  3. make_writeable(debug)
  4.  
  5. getgenv().debug.getupvalues = function(f)
  6. if typeof(f) == "function" then
  7. local s, e = pcall(backup, f)
  8. return (typeof(e) == 'table' and e or {})
  9. else
  10. return backup(f + 1)
  11. end
  12. end
  13.  
  14. make_readonly(debug)
  15. end
  16.  
  17. if game.CoreGui:FindFirstChild("DestructionSimGui") then
  18. game.CoreGui:FindFirstChild("DestructionSimGui"):Destroy()
  19. end
  20. -- Instances:
  21. local DestructionSimGui = Instance.new("ScreenGui")
  22. local Main = Instance.new("Frame")
  23. local TItle = Instance.new("TextLabel")
  24. local insaneBlastRBtn = Instance.new("TextButton")
  25. local autoSellBtn = Instance.new("TextButton")
  26. local minMaxBtn = Instance.new("TextButton")
  27. local fastRocketBtn = Instance.new("TextButton")
  28. local rapidFireBtn = Instance.new("TextButton")
  29. local insaneBlastFBtn = Instance.new("TextButton")
  30. --Properties:
  31. DestructionSimGui.Name = "DestructionSimGui"
  32. DestructionSimGui.Parent = game.CoreGui
  33.  
  34. Main.Name = "Main"
  35. Main.Parent = DestructionSimGui
  36. Main.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  37. Main.BorderSizePixel = 0
  38. Main.ClipsDescendants = true
  39. Main.Position = UDim2.new(0.5, -250, 0.5, -150)
  40. Main.Size = UDim2.new(0, 500, 0, 300)
  41. Main.Active = true
  42. Main.Draggable = true
  43.  
  44. TItle.Name = "TItle"
  45. TItle.Parent = Main
  46. TItle.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  47. TItle.BorderSizePixel = 0
  48. TItle.Size = UDim2.new(0, 500, 0, 30)
  49. TItle.Font = Enum.Font.Fantasy
  50. TItle.Text = "Destruction Simulator GUI - Made by Polar Bear#9569"
  51. TItle.TextColor3 = Color3.new(1, 1, 1)
  52. TItle.TextSize = 14
  53.  
  54. insaneBlastRBtn.Name = "insaneBlastRBtn"
  55. insaneBlastRBtn.Parent = Main
  56. insaneBlastRBtn.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  57. insaneBlastRBtn.BorderColor3 = Color3.new(1, 0.435294, 0.443137)
  58. insaneBlastRBtn.Position = UDim2.new(0, 10, 0.342999995, 50)
  59. insaneBlastRBtn.Size = UDim2.new(0, 150, 0, 30)
  60. insaneBlastRBtn.Font = Enum.Font.Code
  61. insaneBlastRBtn.Text = "Insane Blast Radius"
  62. insaneBlastRBtn.TextColor3 = Color3.new(1, 1, 1)
  63. insaneBlastRBtn.TextScaled = true
  64. insaneBlastRBtn.TextSize = 12
  65. insaneBlastRBtn.TextWrapped = true
  66.  
  67. autoSellBtn.Name = "autoSellBtn"
  68. autoSellBtn.Parent = Main
  69. autoSellBtn.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  70. autoSellBtn.BorderColor3 = Color3.new(1, 0.435294, 0.443137)
  71. autoSellBtn.Position = UDim2.new(0.00200000009, 175, 0.164000005, 50)
  72. autoSellBtn.Size = UDim2.new(0, 150, 0, 30)
  73. autoSellBtn.Font = Enum.Font.Code
  74. autoSellBtn.Text = "Autosell"
  75. autoSellBtn.TextColor3 = Color3.new(1, 1, 1)
  76. autoSellBtn.TextSize = 14
  77.  
  78. minMaxBtn.Name = "minMaxBtn"
  79. minMaxBtn.Parent = Main
  80. minMaxBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  81. minMaxBtn.BackgroundTransparency = 1
  82. minMaxBtn.Position = UDim2.new(0.939999998, 0, 0, 0)
  83. minMaxBtn.Size = UDim2.new(0, 30, 0, 30)
  84. minMaxBtn.Font = Enum.Font.Code
  85. minMaxBtn.Text = "-"
  86. minMaxBtn.TextColor3 = Color3.new(1, 1, 1)
  87. minMaxBtn.TextScaled = true
  88. minMaxBtn.TextSize = 18
  89. minMaxBtn.TextWrapped = true
  90.  
  91. fastRocketBtn.Name = "fastRocketBtn"
  92. fastRocketBtn.Parent = Main
  93. fastRocketBtn.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  94. fastRocketBtn.BorderColor3 = Color3.new(1, 0.435294, 0.443137)
  95. fastRocketBtn.Position = UDim2.new(0, 343, 0.164000005, 50)
  96. fastRocketBtn.Size = UDim2.new(0, 150, 0, 30)
  97. fastRocketBtn.Font = Enum.Font.Code
  98. fastRocketBtn.Text = "Fast Rocket"
  99. fastRocketBtn.TextColor3 = Color3.new(1, 1, 1)
  100. fastRocketBtn.TextSize = 14
  101.  
  102. rapidFireBtn.Name = "rapidFireBtn"
  103. rapidFireBtn.Parent = Main
  104. rapidFireBtn.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  105. rapidFireBtn.BorderColor3 = Color3.new(1, 0.435294, 0.443137)
  106. rapidFireBtn.Position = UDim2.new(0, 10, 0.163000003, 50)
  107. rapidFireBtn.Size = UDim2.new(0, 150, 0, 30)
  108. rapidFireBtn.Font = Enum.Font.Code
  109. rapidFireBtn.Text = "Rapid Fire (No cooldown)"
  110. rapidFireBtn.TextColor3 = Color3.new(1, 1, 1)
  111. rapidFireBtn.TextScaled = true
  112. rapidFireBtn.TextSize = 12
  113. rapidFireBtn.TextWrapped = true
  114.  
  115. insaneBlastFBtn.Name = "insaneBlastFBtn"
  116. insaneBlastFBtn.Parent = Main
  117. insaneBlastFBtn.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  118. insaneBlastFBtn.BorderColor3 = Color3.new(1, 0.435294, 0.443137)
  119. insaneBlastFBtn.Position = UDim2.new(0.331999987, 10, 0.342999995, 50)
  120. insaneBlastFBtn.Size = UDim2.new(0, 150, 0, 30)
  121. insaneBlastFBtn.Font = Enum.Font.Code
  122. insaneBlastFBtn.Text = "Insane Blast Force"
  123. insaneBlastFBtn.TextColor3 = Color3.new(1, 1, 1)
  124. insaneBlastFBtn.TextScaled = true
  125. insaneBlastFBtn.TextSize = 12
  126. insaneBlastFBtn.TextWrapped = true
  127. -- Scripts:
  128. local blastRadius = false
  129.  
  130. spawn(function()
  131. while wait() do
  132. if blastRadius then
  133. for _,obj in pairs(debug.getregistry()) do
  134. if type(obj) == "table" then
  135. if obj.BlastRadius then
  136. obj.BlastRadius = 999999
  137. end
  138. end
  139. end
  140. else
  141. for _,obj in pairs(debug.getregistry()) do
  142. if type(obj) == "table" then
  143. if obj.BlastRadius then
  144. obj.BlastRadius = 500
  145. end
  146. end
  147. end
  148. end
  149. end
  150. end)
  151.  
  152. insaneBlastRBtn.MouseButton1Down:Connect(function()
  153. blastRadius = not blastRadius
  154. insaneBlastRBtn.BorderColor3 = blastRadius and Color3.fromRGB(201, 255, 171) or Color3.fromRGB(255, 111, 113)
  155. end)
  156. local autoSell = false
  157.  
  158. local remote = game:GetService("ReplicatedStorage").Remotes.sellBricks
  159. local FireServer = Instance.new("RemoteEvent").FireServer
  160.  
  161. spawn(function()
  162. while wait() do
  163. if autoSell then
  164. FireServer(remote)
  165. end
  166. end
  167. end)
  168.  
  169. autoSellBtn.MouseButton1Down:Connect(function()
  170. autoSell = not autoSell
  171. autoSellBtn.BorderColor3 = autoSell and Color3.fromRGB(201, 255, 171) or Color3.fromRGB(255, 111, 113)
  172. end)
  173. minMaxBtn.MouseButton1Down:Connect(function()
  174. if Main.Size == UDim2.new(0,500,0,300) then
  175. Main:TweenSize(UDim2.new(0,500,0,30),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.3)
  176. minMaxBtn.Text = "+"
  177. elseif Main.Size == UDim2.new(0,500,0,30) then
  178. Main:TweenSize(UDim2.new(0,500,0,300),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.3)
  179. minMaxBtn.Text = "-"
  180. end
  181. end)
  182. local fastRocket = false
  183.  
  184. spawn(function()
  185. while wait() do
  186. if fastRocket then
  187. for _,obj in pairs(debug.getregistry()) do
  188. if type(obj) == "table" then
  189. if obj.RocketSpeed then
  190. obj.RocketSpeed = 99999999
  191. end
  192. end
  193. end
  194. else
  195. for _,obj in pairs(debug.getregistry()) do
  196. if type(obj) == "table" then
  197. if obj.RocketSpeed then
  198. obj.RocketSpeed = 2
  199. end
  200. end
  201. end
  202. end
  203. end
  204. end)
  205.  
  206. fastRocketBtn.MouseButton1Down:Connect(function()
  207. fastRocket = not fastRocket
  208. fastRocketBtn.BorderColor3 = fastRocket and Color3.fromRGB(201, 255, 171) or Color3.fromRGB(255, 111, 113)
  209. end)
  210. local rapidFire = false
  211.  
  212. spawn(function()
  213. while wait() do
  214. if rapidFire then
  215. for _,obj in pairs(debug.getregistry()) do
  216. if type(obj) == "table" then
  217. if obj.Cooldown then
  218. obj.Cooldown = 0
  219. obj.BurstWait = 0
  220. obj.Bursts = 1
  221. end
  222. end
  223. end
  224. else
  225. for _,obj in pairs(debug.getregistry()) do
  226. if type(obj) == "table" then
  227. if obj.Cooldown then
  228. obj.Cooldown = 5
  229. end
  230. end
  231. end
  232. end
  233. end
  234. end)
  235.  
  236. rapidFireBtn.MouseButton1Down:Connect(function()
  237. rapidFire = not rapidFire
  238. rapidFireBtn.BorderColor3 = rapidFire and Color3.fromRGB(201, 255, 171) or Color3.fromRGB(255, 111, 113)
  239. end)
  240. local blastForce = false
  241.  
  242. spawn(function()
  243. while wait() do
  244. if blastForce then
  245. for _,obj in pairs(debug.getregistry()) do
  246. if type(obj) == "table" then
  247. if obj.BlastForce then
  248. obj.BlastForce = 999999
  249. end
  250. end
  251. end
  252. else
  253. for _,obj in pairs(debug.getregistry()) do
  254. if type(obj) == "table" then
  255. if obj.BlastForce then
  256. obj.BlastForce = 500
  257. end
  258. end
  259. end
  260. end
  261. end
  262. end)
  263.  
  264. insaneBlastFBtn.MouseButton1Down:Connect(function()
  265. blastForce = not blastForce
  266. insaneBlastFBtn.BorderColor3 = blastForce and Color3.fromRGB(201, 255, 171) or Color3.fromRGB(255, 111, 113)
  267. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement