Advertisement
VanThangzxc

Destruction Simulator

Sep 3rd, 2018
8,534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.52 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Simulator = Instance.new("ScreenGui")
  5. local Box = Instance.new("Frame")
  6. local Ship = Instance.new("TextButton")
  7. local Home = Instance.new("TextButton")
  8. local Farm = Instance.new("TextButton")
  9. local Title = Instance.new("TextLabel")
  10. local _30 = Instance.new("TextButton")
  11. local AutoSell = Instance.new("TextButton")
  12. local Space = Instance.new("TextButton")
  13. local Close = Instance.new("TextButton")
  14. local Gravity = Instance.new("TextButton")
  15. local AutoFarm = Instance.new("TextButton")
  16. local Speed = Instance.new("TextButton")
  17. local Frame = Instance.new("Frame")
  18. local OPEN = Instance.new("TextButton")
  19. --Properties:
  20. Simulator.Name = "Simulator"
  21. Simulator.Parent = game.Players.LocalPlayer.PlayerGui
  22.  
  23. Box.Name = "Box"
  24. Box.Parent = Simulator
  25. Box.BackgroundColor3 = Color3.new(1, 1, 1)
  26. Box.Position = UDim2.new(0.296139628, 0, 0.248756215, 0)
  27. Box.Size = UDim2.new(0, 562, 0, 459)
  28. Box.Visible = false
  29. Box.Active = true
  30. Box.Draggable = true
  31.  
  32. Ship.Name = "Ship"
  33. Ship.Parent = Box
  34. Ship.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0)
  35. Ship.BorderColor3 = Color3.new(0.666667, 0.666667, 1)
  36. Ship.Position = UDim2.new(0, 0, 0.151079133, 0)
  37. Ship.Size = UDim2.new(0, 148, 0, 50)
  38. Ship.Font = Enum.Font.SourceSans
  39. Ship.Text = "Ship"
  40. Ship.TextColor3 = Color3.new(0, 0, 0)
  41. Ship.TextScaled = true
  42. Ship.TextSize = 14
  43. Ship.TextWrapped = true
  44.  
  45. Home.Name = "Home"
  46. Home.Parent = Box
  47. Home.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  48. Home.Position = UDim2.new(0, 0, 0.442446053, 0)
  49. Home.Size = UDim2.new(0, 148, 0, 50)
  50. Home.Font = Enum.Font.SourceSans
  51. Home.Text = "Home"
  52. Home.TextColor3 = Color3.new(0, 0, 0)
  53. Home.TextScaled = true
  54. Home.TextSize = 14
  55. Home.TextWrapped = true
  56.  
  57. Farm.Name = "Farm"
  58. Farm.Parent = Box
  59. Farm.BackgroundColor3 = Color3.new(1, 0, 0)
  60. Farm.Position = UDim2.new(0, 0, 0.730215847, 0)
  61. Farm.Size = UDim2.new(0, 148, 0, 50)
  62. Farm.Font = Enum.Font.SourceSans
  63. Farm.Text = "Farm"
  64. Farm.TextColor3 = Color3.new(0, 0, 0)
  65. Farm.TextScaled = true
  66. Farm.TextSize = 14
  67. Farm.TextWrapped = true
  68.  
  69. Title.Name = "Title"
  70. Title.Parent = Box
  71. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  72. Title.Size = UDim2.new(0, 535, 0, 42)
  73. Title.Font = Enum.Font.SourceSans
  74. Title.Text = "By a ThangDz"
  75. Title.TextColor3 = Color3.new(0, 0, 0)
  76. Title.TextSize = 80
  77. Title.TextWrapped = true
  78.  
  79. _30.Name = "30"
  80. _30.Parent = Box
  81. _30.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0)
  82. _30.BorderColor3 = Color3.new(0.666667, 0.666667, 1)
  83. _30.Position = UDim2.new(0, 210, 0.150999993, 0)
  84. _30.Size = UDim2.new(0, 148, 0, 50)
  85. _30.Font = Enum.Font.SourceSans
  86. _30.Text = "30"
  87. _30.TextColor3 = Color3.new(0, 0, 0)
  88. _30.TextScaled = true
  89. _30.TextSize = 14
  90. _30.TextWrapped = true
  91.  
  92. AutoSell.Name = "AutoSell"
  93. AutoSell.Parent = Box
  94. AutoSell.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  95. AutoSell.Position = UDim2.new(0, 210, 0.442000002, 0)
  96. AutoSell.Size = UDim2.new(0, 148, 0, 50)
  97. AutoSell.Font = Enum.Font.SourceSans
  98. AutoSell.Text = "AutoSell"
  99. AutoSell.TextColor3 = Color3.new(0, 0, 0)
  100. AutoSell.TextScaled = true
  101. AutoSell.TextSize = 14
  102. AutoSell.TextWrapped = true
  103.  
  104. Space.Name = "Space"
  105. Space.Parent = Box
  106. Space.BackgroundColor3 = Color3.new(1, 0, 0)
  107. Space.Position = UDim2.new(0, 210, 0.730000019, 0)
  108. Space.Size = UDim2.new(0, 148, 0, 50)
  109. Space.Font = Enum.Font.SourceSans
  110. Space.Text = "Space"
  111. Space.TextColor3 = Color3.new(0, 0, 0)
  112. Space.TextScaled = true
  113. Space.TextSize = 14
  114. Space.TextWrapped = true
  115.  
  116. Close.Name = "Close"
  117. Close.Parent = Box
  118. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  119. Close.Position = UDim2.new(0.951957285, 0, 0, 0)
  120. Close.Size = UDim2.new(0, 27, 0, 48)
  121. Close.Font = Enum.Font.SourceSans
  122. Close.Text = "X"
  123. Close.TextColor3 = Color3.new(0, 0, 0)
  124. Close.TextScaled = true
  125. Close.TextSize = 14
  126. Close.TextWrapped = true
  127.  
  128. Gravity.Name = "Gravity"
  129. Gravity.Parent = Box
  130. Gravity.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0)
  131. Gravity.BorderColor3 = Color3.new(0.666667, 0.666667, 1)
  132. Gravity.Position = UDim2.new(-0.00177935942, 415, 0.150999993, 0)
  133. Gravity.Size = UDim2.new(0, 148, 0, 50)
  134. Gravity.Font = Enum.Font.SourceSans
  135. Gravity.Text = "Gravity"
  136. Gravity.TextColor3 = Color3.new(0, 0, 0)
  137. Gravity.TextScaled = true
  138. Gravity.TextSize = 14
  139. Gravity.TextWrapped = true
  140.  
  141. AutoFarm.Name = "AutoFarm"
  142. AutoFarm.Parent = Box
  143. AutoFarm.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  144. AutoFarm.Position = UDim2.new(0, 415, 0.442000002, 0)
  145. AutoFarm.Size = UDim2.new(0, 148, 0, 50)
  146. AutoFarm.Font = Enum.Font.SourceSans
  147. AutoFarm.Text = "AutoFarm"
  148. AutoFarm.TextColor3 = Color3.new(0, 0, 0)
  149. AutoFarm.TextScaled = true
  150. AutoFarm.TextSize = 14
  151. AutoFarm.TextWrapped = true
  152.  
  153. Speed.Name = "Speed"
  154. Speed.Parent = Box
  155. Speed.BackgroundColor3 = Color3.new(1, 0, 0)
  156. Speed.Position = UDim2.new(0, 415, 0.730000019, 0)
  157. Speed.Size = UDim2.new(0, 148, 0, 50)
  158. Speed.Font = Enum.Font.SourceSans
  159. Speed.Text = "Speed"
  160. Speed.TextColor3 = Color3.new(0, 0, 0)
  161. Speed.TextScaled = true
  162. Speed.TextSize = 14
  163. Speed.TextWrapped = true
  164.  
  165. Frame.Parent = Simulator
  166. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  167. Frame.Position = UDim2.new(0, 0, 0.49626866, 0)
  168. Frame.Size = UDim2.new(0, 156, 0, 54)
  169.  
  170. OPEN.Name = "OPEN"
  171. OPEN.Parent = Frame
  172. OPEN.BackgroundColor3 = Color3.new(255, 10, 50)
  173. OPEN.Position = UDim2.new(-0.0384615399, 0, 0, 0)
  174. OPEN.Size = UDim2.new(0, 162, 0, 55)
  175. OPEN.Font = Enum.Font.SourceSans
  176. OPEN.Text = "OPEN"
  177. OPEN.TextColor3 = Color3.new(0, 0, 0)
  178. OPEN.TextScaled = true
  179. OPEN.TextSize = 14
  180. OPEN.TextWrapped = true
  181.  
  182. -- Scripts:
  183.  
  184. OPEN.MouseButton1Down:connect(function()
  185. Box.Visible = true
  186. Frame.Visible = false
  187. end)
  188.  
  189. Close.MouseButton1Down:connect(function()
  190. Frame.Visible = true
  191. Box.Visible = false
  192. end)
  193.  
  194. Ship.MouseButton1Down:connect(function()
  195. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(18.19, 3.35, 144)
  196. end)
  197.  
  198. Home.MouseButton1Down:connect(function()
  199. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-88, 3.5, -150)
  200. end)
  201.  
  202.  
  203. Farm.MouseButton1Down:connect(function()
  204. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(16.23, 3.35, -152.98)
  205. end)
  206.  
  207. Space.MouseButton1Down:connect(function()
  208. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-89.05, 3.35, 144)
  209. end)
  210.  
  211. _30.MouseButton1Down:connect(function()
  212. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(17.74, 3.35, 453.33)
  213. end)
  214.  
  215. Speed.MouseButton1Click:connect(function()game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=game.Players.LocalPlayer.Character.Humanoid.WalkSpeed + 100
  216. end)
  217. AutoSell.MouseButton1Click:connect(function()
  218. local remote = game["ReplicatedStorage"]["Remotes"]["sellBricks"]
  219. while true do
  220. remote:FireServer()
  221. wait(1.5)
  222. end
  223. end)
  224.  
  225. AutoFarm.MouseButton1Down:connect(function()
  226. local launcher = game:GetService"Players".LocalPlayer.Character.Launcher
  227. local explodeRocket = game:GetService"ReplicatedStorage".Remotes.explodeRocket
  228. local sell = game:GetService"ReplicatedStorage".Remotes.sellBricks
  229. local level = game:GetService"Players".LocalPlayer.leaderstats.Level.Value
  230. local tracks = {"Racetrack","Construction","Farm","Classic","Boat","Space","Prison","Desert","Castle","Towers"}
  231.  
  232. function farm(Place)
  233. game:GetService"Players".LocalPlayer.Character.HumanoidRootPart.CFrame = Workspace.Areas[Place]:FindFirstChild("Spawns").Spawn1.CFrame
  234. for i,v in next, Workspace.Areas[Place]:GetDescendants() do
  235. if v:IsA"Part" then
  236. explodeRocket:FireServer(tick(), launcher.Stats, v.CFrame.p, launcher.Assets.Rocket.Boom)
  237. sell:FireServer()
  238. wait(0.2)
  239. end
  240. end
  241. end
  242. function operationTerribleCode()
  243. if level < 5 then farm(tracks[1]) elseif level < 10 and level >= 5 then farm(tracks[2]) elseif level < 15 and level >= 10 then farm(tracks[3]) elseif level < 20 and level >= 15 then farm(tracks[4])
  244. elseif level < 25 and level >= 20 then farm(tracks[5]) elseif level < 30 and level >= 25 then farm(tracks[6]) elseif level < 35 and level >= 30 then farm(tracks[7]) elseif level < 40 and level >= 35
  245. then farm(tracks[8]) elseif level < 45 and level >= 40 then farm(tracks[9]) elseif level < 50 and level >= 45 then farm(tracks[10]) end
  246. end
  247. while wait(0.3) do level = game:GetService"Players".LocalPlayer.leaderstats.Level.Value operationTerribleCode() end
  248. end)
  249.  
  250. Gravity.MouseButton1Down:connect(function()
  251. if Gravity == true then
  252. Gravity = false
  253. game.Workspace.Gravity = 500
  254. else
  255. Gravity = true
  256. game.Workspace.Gravity = 70
  257. end
  258. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement