SkeletalScripts

bh

Jun 15th, 2021 (edited)
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.58 KB | None | 0 0
  1. if not require then
  2. return error("[Destruction Simulator GUI] Incompatible exploit: missing the function [require]")
  3. end
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextLabel_2 = Instance.new("TextLabel")
  9. local AutoSell = Instance.new("TextButton")
  10. local NoCooldown = Instance.new("TextButton")
  11. local RocketSpeed = Instance.new("TextButton")
  12. local TextLabel_3 = Instance.new("TextLabel")
  13. local Explode = Instance.new("TextButton")
  14. local WalkSpeed = Instance.new("TextBox")
  15. local Gravity = Instance.new("TextBox")
  16.  
  17. ScreenGui.Parent = game:GetService("CoreGui")
  18.  
  19. Frame.Active = true
  20. Frame.Parent = ScreenGui
  21. Frame.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  22. Frame.BorderSizePixel = 0
  23. Frame.Draggable = true
  24. Frame.Position = UDim2.new(0.100000001, 0, 0.300000012, 0)
  25. Frame.Size = UDim2.new(0, 275, 0, 175)
  26.  
  27. TextLabel.Parent = Frame
  28. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  29. TextLabel.BackgroundTransparency = 1
  30. TextLabel.Size = UDim2.new(0, 275, 0, 30)
  31. TextLabel.Font = Enum.Font.SourceSans
  32. TextLabel.Text = "Destruction Simulator GUI"
  33. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  34. TextLabel.TextSize = 18
  35.  
  36. TextLabel_2.Parent = Frame
  37. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  38. TextLabel_2.BackgroundTransparency = 1
  39. TextLabel_2.Position = UDim2.new(0, 0, 0.82571429, 0)
  40. TextLabel_2.Size = UDim2.new(0, 275, 0, 30)
  41. TextLabel_2.Font = Enum.Font.SourceSans
  42. TextLabel_2.Text = "wesurt @ v3rmillion.net"
  43. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  44. TextLabel_2.TextSize = 18
  45.  
  46. AutoSell.Name = "AutoSell"
  47. AutoSell.Parent = Frame
  48. AutoSell.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  49. AutoSell.BorderColor3 = Color3.new(1, 1, 1)
  50. AutoSell.BorderSizePixel = 0
  51. AutoSell.Position = UDim2.new(0.0921212286, 0, 0.279999971, 0)
  52. AutoSell.Size = UDim2.new(0, 100, 0, 25)
  53. AutoSell.Font = Enum.Font.SourceSansSemibold
  54. AutoSell.Text = "Auto Sell"
  55. AutoSell.TextColor3 = Color3.new(1, 1, 1)
  56. AutoSell.TextSize = 16
  57.  
  58. NoCooldown.Name = "NoCooldown"
  59. NoCooldown.Parent = Frame
  60. NoCooldown.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  61. NoCooldown.BorderColor3 = Color3.new(1, 1, 1)
  62. NoCooldown.BorderSizePixel = 0
  63. NoCooldown.Position = UDim2.new(0.0921211988, 0, 0.452380896, 0)
  64. NoCooldown.Size = UDim2.new(0, 100, 0, 25)
  65. NoCooldown.Font = Enum.Font.SourceSansSemibold
  66. NoCooldown.Text = "No Cooldown"
  67. NoCooldown.TextColor3 = Color3.new(1, 1, 1)
  68. NoCooldown.TextSize = 16
  69.  
  70. RocketSpeed.Name = "RocketSpeed"
  71. RocketSpeed.Parent = Frame
  72. RocketSpeed.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  73. RocketSpeed.BorderColor3 = Color3.new(1, 1, 1)
  74. RocketSpeed.BorderSizePixel = 0
  75. RocketSpeed.Position = UDim2.new(0.0921211988, 0, 0.636190414, 0)
  76. RocketSpeed.Size = UDim2.new(0, 100, 0, 25)
  77. RocketSpeed.Font = Enum.Font.SourceSansSemibold
  78. RocketSpeed.Text = "Rocket Speed"
  79. RocketSpeed.TextColor3 = Color3.new(1, 1, 1)
  80. RocketSpeed.TextSize = 16
  81.  
  82. TextLabel_3.Parent = Frame
  83. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  84. TextLabel_3.BorderSizePixel = 0
  85. TextLabel_3.Position = UDim2.new(0.1339394, 0, 0.16761905, 0)
  86. TextLabel_3.Size = UDim2.new(0, 200, 0, 1)
  87. TextLabel_3.Font = Enum.Font.SourceSans
  88. TextLabel_3.Text = ""
  89. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  90. TextLabel_3.TextSize = 14
  91.  
  92. Explode.Name = "Explode"
  93. Explode.Parent = Frame
  94. Explode.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  95. Explode.BorderColor3 = Color3.new(1, 1, 1)
  96. Explode.BorderSizePixel = 0
  97. Explode.Position = UDim2.new(0.545454502, 0, 0.279999971, 0)
  98. Explode.Size = UDim2.new(0, 100, 0, 25)
  99. Explode.Font = Enum.Font.SourceSansSemibold
  100. Explode.Text = "Explode Area"
  101. Explode.TextColor3 = Color3.new(1, 1, 1)
  102. Explode.TextSize = 16
  103.  
  104. WalkSpeed.Name = "WalkSpeed"
  105. WalkSpeed.Parent = Frame
  106. WalkSpeed.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  107. WalkSpeed.BorderSizePixel = 0
  108. WalkSpeed.Position = UDim2.new(0.545454562, 0, 0.451428592, 0)
  109. WalkSpeed.Size = UDim2.new(0, 100, 0, 25)
  110. WalkSpeed.Font = Enum.Font.SourceSans
  111. WalkSpeed.PlaceholderColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  112. WalkSpeed.Text = "Set WalkSpeed"
  113. WalkSpeed.TextColor3 = Color3.new(1, 1, 1)
  114. WalkSpeed.TextSize = 16
  115.  
  116. Gravity.Name = "Gravity"
  117. Gravity.Parent = Frame
  118. Gravity.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  119. Gravity.BorderSizePixel = 0
  120. Gravity.Position = UDim2.new(0.545454562, 0, 0.634285748, 0)
  121. Gravity.Size = UDim2.new(0, 100, 0, 25)
  122. Gravity.Font = Enum.Font.SourceSans
  123. Gravity.PlaceholderColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  124. Gravity.Text = "Set Gravity"
  125. Gravity.TextColor3 = Color3.new(1, 1, 1)
  126. Gravity.TextSize = 16
  127.  
  128. local Plr = game:GetService("Players").LocalPlayer
  129.  
  130. local Selling = false
  131. AutoSell.MouseButton1Up:Connect(function()
  132. Selling = not Selling
  133. if Selling then
  134. AutoSell.TextColor3 = Color3.new(0, 1, 0)
  135. else
  136. AutoSell.TextColor3 = Color3.new(1, 1, 1)
  137. end
  138. end)
  139.  
  140. local CooldownDisabled = false
  141. NoCooldown.MouseButton1Up:Connect(function()
  142. CooldownDisabled = not CooldownDisabled
  143. if CooldownDisabled then
  144. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
  145. if v:IsA("ModuleScript") then
  146. pcall(function()
  147. local a = require(v)
  148. a.Cooldown = 0
  149. a.BurstWait = 0
  150. end)
  151. end
  152. end
  153. if Plr.Character then
  154. for i,v in pairs(Plr.Character:GetDescendants()) do
  155. if v:IsA("ModuleScript") then
  156. pcall(function()
  157. local a = require(v)
  158. a.Cooldown = 0
  159. a.BurstWait = 0
  160. end)
  161. end
  162. end
  163. end
  164. NoCooldown.TextColor3 = Color3.new(0, 1, 0)
  165. else
  166. NoCooldown.TextColor3 = Color3.new(1, 1, 1)
  167. end
  168. end)
  169.  
  170. local SpeedEnabled = false
  171. RocketSpeed.MouseButton1Up:Connect(function()
  172. SpeedEnabled = not SpeedEnabled
  173. if SpeedEnabled then
  174. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
  175. if v:IsA("ModuleScript") then
  176. pcall(function()
  177. local a = require(v)
  178. a.RocketSpeed = 999999999999999999
  179. end)
  180. end
  181. end
  182. if Plr.Character then
  183. for i,v in pairs(Plr.Character:GetDescendants()) do
  184. if v:IsA("ModuleScript") then
  185. pcall(function()
  186. local a = require(v)
  187. a.RocketSpeed = 999999999999999999
  188. end)
  189. end
  190. end
  191. end
  192. RocketSpeed.TextColor3 = Color3.new(0, 1, 0)
  193. else
  194. RocketSpeed.TextColor3 = Color3.new(1, 1, 1)
  195. end
  196. end)
  197.  
  198. local Fire = function(Position)
  199. if not Plr.Character:FindFirstChildOfClass("Tool") then
  200. Plr.Backpack:FindFirstChildOfClass("Tool").Parent = Plr.Character
  201. end
  202. local Tool = Plr.Character:FindFirstChildOfClass("Tool")
  203. if Tool:FindFirstChild("Assets") then
  204. local Args1 = {
  205. 0,
  206. Tool.Stats,
  207. Tool.Assets.Rocket,
  208. Tool.Handle,
  209. Position,
  210. Tool.Assets.Rocket.Boom
  211. }
  212. local Args2 = {
  213. 0,
  214. Tool.Stats,
  215. Position,
  216. Tool.Assets.Rocket.Boom
  217. }
  218. --game:GetService("ReplicatedStorage").Remotes.clientServerRocket:FireServer(unpack(Args1))
  219. game:GetService("ReplicatedStorage").Remotes.explodeRocket:FireServer(unpack(Args2))
  220. else
  221. local Args1 = {
  222. 0,
  223. Tool.Stats,
  224. Plr,
  225. Tool.Handle,
  226. Tool.Handle,
  227. Position
  228. }
  229. local Args2 = {
  230. 0,
  231. Tool.Stats,
  232. Position,
  233. }
  234. --game:GetService("ReplicatedStorage").Remotes.clientServerBomb:FireServer(unpack(Args1))
  235. game:GetService("ReplicatedStorage").Remotes.explodeBomb:FireServer(unpack(Args2))
  236. end
  237. end
  238.  
  239. Explode.MouseButton1Up:Connect(function()
  240. if Plr.CurrentArea.Value ~= "NoZone" then
  241. for i,v in pairs(workspace.Areas[Plr.CurrentArea.Value]:GetDescendants()) do
  242. pcall(function()
  243. Fire(v.Position)
  244. end)
  245. end
  246. end
  247. end)
  248.  
  249. local WalkSpeedSet = false
  250. WalkSpeed.FocusLost:Connect(function()
  251. if tonumber(WalkSpeed.Text) ~= nil then
  252. if Plr.Character then
  253. Plr.Character.Humanoid.WalkSpeed = tonumber(WalkSpeed.Text)
  254. WalkSpeedSet = tonumber(WalkSpeed.Text)
  255. end
  256. end
  257. WalkSpeed.Text = "Set WalkSpeed"
  258. end)
  259.  
  260. local GravitySet = false
  261. Gravity.FocusLost:Connect(function()
  262. if tonumber(Gravity.Text) ~= nil then
  263. workspace.Gravity = tonumber(Gravity.Text)
  264. GravitySet = tonumber(Gravity.Text)
  265. end
  266. Gravity.Text = "Set Gravity"
  267. end)
  268.  
  269. Plr.CharacterAdded:Connect(function()
  270. if CooldownDisabled then
  271. spawn(function()
  272. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
  273. if v:IsA("ModuleScript") then
  274. pcall(function()
  275. local a = require(v)
  276. a.Cooldown = 0
  277. a.BurstWait = 0
  278. end)
  279. end
  280. end
  281. repeat wait() until Plr.Character
  282. for i,v in pairs(Plr.Character:GetDescendants()) do
  283. if v:IsA("ModuleScript") then
  284. pcall(function()
  285. local a = require(v)
  286. a.Cooldown = 0
  287. a.BurstWait = 0
  288. end)
  289. end
  290. end
  291. end)
  292. end
  293. if SpeedEnabled then
  294. spawn(function()
  295. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
  296. if v:IsA("ModuleScript") then
  297. pcall(function()
  298. local a = require(v)
  299. a.RocketSpeed = 20
  300. end)
  301. end
  302. end
  303. repeat wait() until Plr.Character
  304. for i,v in pairs(Plr.Character:GetDescendants()) do
  305. if v:IsA("ModuleScript") then
  306. pcall(function()
  307. local a = require(v)
  308. a.RocketSpeed = 20
  309. end)
  310. end
  311. end
  312. end)
  313. end
  314. if WalkSpeedSet then
  315. spawn(function()
  316. repeat wait() until Plr.Character
  317. Plr.Character.Humanoid.WalkSpeed = WalkSpeedSet
  318. end)
  319. end
  320. if GravitySet then
  321. workspace.Gravity = GravitySet
  322. end
  323. end)
  324.  
  325. game:GetService("RunService").RenderStepped:Connect(function()
  326. if Selling then
  327. for i = 1, 5 do
  328. game:GetService("ReplicatedStorage").Remotes.sellBricks:FireServer()
  329. end
  330. end
  331. end)
Add Comment
Please, Sign In to add comment