Nghientapgym

Zombie Mining Simulator

May 26th, 2018
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. -- Fixed By NTS
  2. -- Objects
  3.  
  4. local ZombireMiningSimulator = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local Credits = Instance.new("TextLabel")
  7. local Credits2 = Instance.new("TextLabel")
  8. local Nuke = Instance.new("TextButton")
  9. local InfMoney = Instance.new("TextButton")
  10. local exit = Instance.new("TextButton")
  11. local ImageLabel = Instance.new("ImageLabel")
  12. local nts = game.Players.LocalPlayer.PlayerGui
  13.  
  14. -- Properties
  15.  
  16. ZombireMiningSimulator.Name = "ZombireMiningSimulator"
  17. ZombireMiningSimulator.Parent = nts
  18. Main.Name = "Main"
  19. Main.Parent = ZombireMiningSimulator
  20. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  21. Main.BackgroundTransparency = 0.30000001192093
  22. Main.BorderColor3 = Color3.new(0.333333, 0.666667, 0)
  23. Main.BorderSizePixel = 2
  24. Main.Position = UDim2.new(0.013029322, 0, 0.204156473, 0)
  25. Main.Size = UDim2.new(0, 278, 0, 421)
  26.  
  27. Credits.Name = "Credits"
  28. Credits.Parent = Main
  29. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  30. Credits.BackgroundTransparency = 1
  31. Credits.Size = UDim2.new(0, 278, 0, 50)
  32. Credits.Font = Enum.Font.SourceSans
  33. Credits.Text = "Credits: JeSuisFrançais/colonelmeatball"
  34. Credits.TextColor3 = Color3.new(1, 0, 0)
  35. Credits.TextSize = 14
  36.  
  37. Credits2.Name = "Credits2"
  38. Credits2.Parent = Main
  39. Credits2.BackgroundColor3 = Color3.new(1, 1, 1)
  40. Credits2.BackgroundTransparency = 1
  41. Credits2.Position = UDim2.new(0, 0, 0.0332541578, 0)
  42. Credits2.Size = UDim2.new(0, 278, 0, 50)
  43. Credits2.Font = Enum.Font.SourceSans
  44. Credits2.Text = "Oxegonal"
  45. Credits2.TextColor3 = Color3.new(1, 0, 0)
  46. Credits2.TextSize = 14
  47.  
  48. Nuke.Name = "Nuke"
  49. Nuke.Parent = Main
  50. Nuke.BackgroundColor3 = Color3.new(1, 1, 1)
  51. Nuke.Position = UDim2.new(0.140287772, 0, 0.28978622, 0)
  52. Nuke.Size = UDim2.new(0, 200, 0, 50)
  53. Nuke.Font = Enum.Font.SciFi
  54. Nuke.Text = "Epic bucket"
  55. Nuke.TextColor3 = Color3.new(0, 0, 0)
  56. Nuke.TextScaled = true
  57. Nuke.TextSize = 14
  58. Nuke.TextWrapped = true
  59. Nuke.MouseButton1Down:connect(function()
  60. game.Players.LocalPlayer.Data.ActiveTool.Value = "Nuke"
  61. end)
  62.  
  63. InfMoney.Name = "InfMoney"
  64. InfMoney.Parent = Main
  65. InfMoney.BackgroundColor3 = Color3.new(1, 1, 1)
  66. InfMoney.Position = UDim2.new(0.140287772, 0, 0.515439391, 0)
  67. InfMoney.Size = UDim2.new(0, 200, 0, 50)
  68. InfMoney.Font = Enum.Font.SciFi
  69. InfMoney.Text = "InfMoney (lags)"
  70. InfMoney.TextColor3 = Color3.new(0, 0, 0)
  71. InfMoney.TextScaled = true
  72. InfMoney.TextSize = 14
  73. InfMoney.TextWrapped = true
  74. InfMoney.MouseButton1Down:connect(function()
  75. coroutine.wrap(function()
  76. while wait() do
  77. for i,v in pairs(game.Workspace.ActiveBlocks:GetChildren()) do
  78. game.ReplicatedStorage.Events.BreakBlockEvent:FireServer(v)
  79. game.ReplicatedStorage.Events.SellResourceEvent:FireServer("Minerals")
  80. game.ReplicatedStorage.Events.SellResourceEvent:FireServer("Brains")
  81. game:GetService("RunService").RenderStepped:Wait()
  82. end
  83. end
  84. end)()
  85. end)
  86.  
  87. exit.Name = "exit"
  88. exit.Parent = Main
  89. exit.BackgroundColor3 = Color3.new(1, 1, 1)
  90. exit.BorderColor3 = Color3.new(1, 0, 0)
  91. exit.BorderSizePixel = 3
  92. exit.Position = UDim2.new(0.140287772, 0, 0.762470245, 0)
  93. exit.Size = UDim2.new(0, 200, 0, 50)
  94. exit.Font = Enum.Font.SciFi
  95. exit.Text = "Exit"
  96. exit.TextColor3 = Color3.new(1, 0, 0)
  97. exit.TextScaled = true
  98. exit.TextSize = 14
  99. exit.TextWrapped = true
  100. exit.MouseButton1Down:connect(function()
  101. Main.Visible = false
  102. end)
  103.  
  104. ImageLabel.Parent = Main
  105. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  106. ImageLabel.Position = UDim2.new(0.0863309354, 0, 0.118764848, 0)
  107. ImageLabel.Size = UDim2.new(0, 243, 0, 61)
  108. ImageLabel.Image = "rbxgameasset://Images/9e206309e5fe64f8f1e09550184f10ac"
Advertisement
Add Comment
Please, Sign In to add comment