Scelt

mining sim gui

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