Advertisement
UnknownRoblox

Mining Simulator

Oct 7th, 2019
1,209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. -- Objects
  2.  
  3. local MiningSimGUI = Instance.new("ScreenGui")
  4. local ScrollingFrame = Instance.new("ScrollingFrame")
  5. local SpaceMine = Instance.new("TextButton")
  6. local EarthMine = Instance.new("TextButton")
  7. local SavePos = Instance.new("TextButton")
  8. local Sell = Instance.new("TextButton")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TPBypass = Instance.new("TextButton")
  11.  
  12. -- Properties
  13.  
  14. MiningSimGUI.Name = "Mining Sim GUI"
  15. MiningSimGUI.Parent = game.CoreGui
  16.  
  17. ScrollingFrame.Parent = MiningSimGUI
  18. ScrollingFrame.BackgroundColor3 = Color3.new(0.262745, 0.262745, 0.262745)
  19. ScrollingFrame.BackgroundTransparency = 0.050000000745058
  20. ScrollingFrame.BorderColor3 = Color3.new(1, 1, 1)
  21. ScrollingFrame.BorderSizePixel = 2
  22. ScrollingFrame.Position = UDim2.new(0.725601196, 0, 0.227272734, 0)
  23. ScrollingFrame.Selectable = false
  24. ScrollingFrame.Size = UDim2.new(0, 169, 0, 192)
  25. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0.75, 0)
  26. ScrollingFrame.ScrollBarThickness = 10
  27.  
  28. SpaceMine.Name = "SpaceMine"
  29. SpaceMine.Parent = ScrollingFrame
  30. SpaceMine.BackgroundColor3 = Color3.new(1, 1, 1)
  31. SpaceMine.BorderColor3 = Color3.new(0.262745, 0.262745, 0.262745)
  32. SpaceMine.BorderSizePixel = 0
  33. SpaceMine.Position = UDim2.new(0.106508881, 0, 0.227828577, 0)
  34. SpaceMine.Size = UDim2.new(0, 120, 0, 40)
  35. SpaceMine.Font = Enum.Font.SciFi
  36. SpaceMine.Text = "Tele SpaceMine"
  37. SpaceMine.TextColor3 = Color3.new(0, 0, 0)
  38. SpaceMine.TextSize = 14
  39. SpaceMine.MouseButton1Click:connect(function()
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2.66, 11.2, 1574.72)
  41. end)
  42.  
  43. EarthMine.Name = "EarthMine"
  44. EarthMine.Parent = ScrollingFrame
  45. EarthMine.BackgroundColor3 = Color3.new(1, 1, 1)
  46. EarthMine.BorderSizePixel = 0
  47. EarthMine.Position = UDim2.new(0.106508881, 0, 0.356081188, 0)
  48. EarthMine.Size = UDim2.new(0, 120, 0, 40)
  49. EarthMine.Font = Enum.Font.SciFi
  50. EarthMine.Text = "Tele EarthMine"
  51. EarthMine.TextColor3 = Color3.new(0, 0, 0)
  52. EarthMine.TextSize = 14
  53. EarthMine.MouseButton1Click:connect(function()
  54. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2.845, 11.115, 2.871)
  55. end)
  56.  
  57. SavePos.Name = "Save Pos"
  58. SavePos.Parent = ScrollingFrame
  59. SavePos.BackgroundColor3 = Color3.new(1, 1, 1)
  60. SavePos.BorderSizePixel = 0
  61. SavePos.Position = UDim2.new(0.106508881, 0, 0.520792127, 0)
  62. SavePos.Size = UDim2.new(0, 120, 0, 40)
  63. SavePos.Font = Enum.Font.SciFi
  64. SavePos.Text = "Buy Tools"
  65. SavePos.TextColor3 = Color3.new(0, 0, 0)
  66. SavePos.TextSize = 14
  67. SavePos.MouseButton1Click:Connect(function()
  68. local part = Instance.new("Part", workspace)
  69.  
  70.  
  71. local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  72. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Buy.CFrame * CFrame.new(0,5,0)
  73. wait(1)
  74. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
  75.  
  76.  
  77. end)
  78.  
  79. Sell.Name = "Sell"
  80. Sell.Parent = ScrollingFrame
  81. Sell.BackgroundColor3 = Color3.new(1, 1, 1)
  82. Sell.BorderColor3 = Color3.new(0.262745, 0.262745, 0.262745)
  83. Sell.BorderSizePixel = 0
  84. Sell.Position = UDim2.new(0.106508881, 0, 0.10153164, 0)
  85. Sell.Size = UDim2.new(0, 120, 0, 40)
  86. Sell.Font = Enum.Font.SciFi
  87. Sell.Text = "Sell Ores"
  88. Sell.TextColor3 = Color3.new(0, 0, 0)
  89. Sell.TextSize = 14
  90. Sell.MouseButton1Click:connect(function()
  91. local part = Instance.new("Part", workspace)
  92.  
  93. local var = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  94. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Sell.CFrame * CFrame.new(0,5,0)
  95. wait(1)
  96. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = var
  97.  
  98. end)
  99.  
  100. TextLabel.Parent = ScrollingFrame
  101. TextLabel.BackgroundColor3 = Color3.new(0.262745, 0.262745, 0.262745)
  102. TextLabel.BackgroundTransparency = 1
  103. TextLabel.BorderColor3 = Color3.new(1, 1, 1)
  104. TextLabel.BorderSizePixel = 0
  105. TextLabel.Position = UDim2.new(0, 0, -0.00747282431, 0)
  106. TextLabel.Size = UDim2.new(0, 156, 0, 25)
  107. TextLabel.Font = Enum.Font.SciFi
  108. TextLabel.Text = "Mining Simulator GUI"
  109. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  110. TextLabel.TextSize = 14
  111.  
  112. TPBypass.Name = "TPBypass"
  113. TPBypass.Parent = ScrollingFrame
  114. TPBypass.BackgroundColor3 = Color3.new(1, 1, 1)
  115. TPBypass.Position = UDim2.new(0.0532544367, 0, 0.0520833358, 0)
  116. TPBypass.Size = UDim2.new(0, 137, 0, 15)
  117. TPBypass.Font = Enum.Font.SciFi
  118. TPBypass.Text = "TP Bypass"
  119. TPBypass.TextColor3 = Color3.new(0, 0, 0)
  120. TPBypass.TextSize = 14
  121. TPBypass.MouseButton1Click:connect(function()
  122. local plr = game:GetService("Players").LocalPlayer.Character.Humanoid
  123. plr.Parent = nil
  124. wait()
  125. local clone = Instance.new("Humanoid",game:GetService("Players").LocalPlayer.Character)
  126. clone.Parent.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0,1000,0))
  127. wait(.6)
  128. clone:Destroy()
  129. plr.Parent = game:GetService("Players").LocalPlayer.Character
  130. end)
  131.  
  132. -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement