Advertisement
CodingSquid

Miners Haven GUI

Jun 25th, 2017
726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.95 KB | None | 0 0
  1. MINERS HAVEN GUIS
  2. ---------------------
  3.   -- Objects
  4. local x = 0
  5. local MinersHavenGui = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local background = Instance.new("ImageLabel")
  8. local Exit = Instance.new("TextButton")
  9. local AutoCrates = Instance.new("TextButton")
  10. local TwitchPoints = Instance.new("TextButton")
  11. local Clovers = Instance.new("TextButton")
  12. local Speed = Instance.new("TextButton")
  13. local Jump = Instance.new("TextButton")
  14. local MaskedMan = Instance.new("TextButton")
  15. local Credits = Instance.new("TextButton")
  16. local CreditsGUI = Instance.new("ScreenGui")
  17. local Frame2 = Instance.new("Frame")
  18. local background2 = Instance.new("ImageLabel")
  19. local Exit2 = Instance.new("TextButton")
  20. local CreditsCharWar = Instance.new("TextButton")
  21. local CreditsXtrodinary = Instance.new("TextButton")
  22. local CreditsCharWar2 = Instance.new("TextButton")
  23. local CreditsXtrodinary2 = Instance.new("TextButton")
  24. local RemoteButtons = Instance.new("TextButton")
  25. local RemoteOn = Instance.new("TextButton")
  26. local RemoteOff = Instance.new("TextButton")
  27. local CreditsBacktalkers = Instance.new("TextButton")
  28. local CreditsBacktalkers2 = Instance.new("TextButton")
  29.  
  30. -- Properties
  31.  
  32. MinersHavenGui.Name = "MinersHavenGui"
  33. MinersHavenGui.Parent = game.CoreGui
  34.  
  35. Frame.Parent = MinersHavenGui
  36. Frame.Active = true
  37. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  38. Frame.Draggable = true
  39. Frame.Position = UDim2.new(0, 400, 0, 60)
  40. Frame.Size = UDim2.new(0, 360, 0, 270)
  41.  
  42. background.Name = "background"
  43. background.Parent = Frame
  44. background.BackgroundColor3 = Color3.new(1, 1, 1)
  45. background.Size = UDim2.new(0, 360, 0, 270)
  46. background.Image = "rbxassetid://441828537"
  47.  
  48. Exit.Name = "Exit"
  49. Exit.Parent = Frame
  50. Exit.Position = UDim2.new(0, 300, 0, 30)
  51. Exit.Size = UDim2.new(0, 40, 0, 20)
  52. Exit.Style = Enum.ButtonStyle.RobloxRoundButton
  53. Exit.Font = Enum.Font.SciFi
  54. Exit.FontSize = Enum.FontSize.Size14
  55. Exit.Text = "Exit"
  56. Exit.TextSize = 14
  57. Exit.MouseButton1Click:connect(function()
  58.        MinersHavenGui:Destroy()
  59. end)
  60.  
  61. AutoCrates.Name = "AutoCrates"
  62. AutoCrates.Parent = Frame
  63. AutoCrates.Position = UDim2.new(0, 8, 0, 215)
  64. AutoCrates.Size = UDim2.new(0, 100, 0, 50)
  65. AutoCrates.Style = Enum.ButtonStyle.RobloxRoundButton
  66. AutoCrates.Font = Enum.Font.SciFi
  67. AutoCrates.FontSize = Enum.FontSize.Size14
  68. AutoCrates.Text = "AutoCrates"
  69. AutoCrates.TextSize = 20
  70. AutoCrates.MouseButton1Click:connect(function()
  71. while wait() do
  72. while wait(2) do
  73. for _,v in pairs(game.Workspace:GetChildren()) do
  74. if string.match(v.Name, "DiamondCrate") or string.match(v.Name, "ResearchCrate") or string.match(v.Name, "GoldenCrate") or string.match(v.Name, "CrystalCrate") or string.match(v.Name, "Pumpkin") or string.match(v.Name, "MegaPumpkin") or string.match(v.Name, "Pumpkin") or string.match(v.Name, "LuckyCrate") or string.match(v.Name, "ExecutiveCrate") or string.match(v.Name, "GiftCrate") then
  75. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)
  76. v.CanCollide = false
  77. v.Transparency = 1
  78. for _,v in pairs(game.Workspace.Shadows:GetChildren()) do
  79. if string.match(v.Name, "ShadowCrate") or string.match(v.Name, "MegaPumpkin") then
  80. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)
  81. v.CanCollide = false
  82. v.Transparency = 1
  83. end
  84. end
  85. end
  86. end
  87. end
  88. end
  89. end)
  90.  
  91. TwitchPoints.Name = "TwitchPoints"
  92. TwitchPoints.Parent = Frame
  93. TwitchPoints.Position = UDim2.new(0, 118, 0, 215)
  94. TwitchPoints.Size = UDim2.new(0, 115, 0, 50)
  95. TwitchPoints.Style = Enum.ButtonStyle.RobloxRoundButton
  96. TwitchPoints.Font = Enum.Font.SciFi
  97. TwitchPoints.FontSize = Enum.FontSize.Size14
  98. TwitchPoints.Text = "TwitchPoints"
  99. TwitchPoints.TextSize = 20
  100. TwitchPoints.MouseButton1Click:connect(function()
  101. while wait() do
  102. while wait(1) do
  103. game.Players.LocalPlayer.TwitchPoints.Value = game.Players.LocalPlayer.TwitchPoints.Value +1000000
  104. end
  105. end
  106. end)
  107.  
  108. Clovers.Name = "Clovers"
  109. Clovers.Parent = Frame
  110. Clovers.Position = UDim2.new(0, 238, 0, 215)
  111. Clovers.Size = UDim2.new(0, 105, 0, 50)
  112. Clovers.Style = Enum.ButtonStyle.RobloxRoundButton
  113. Clovers.Font = Enum.Font.SciFi
  114. Clovers.FontSize = Enum.FontSize.Size14
  115. Clovers.Text = "Clovers"
  116. Clovers.TextSize = 20
  117. Clovers.MouseButton1Click:connect(function()
  118. while wait() do
  119. while wait(1) do
  120. game.Players.LocalPlayer.Clovers.Value = game.Players.LocalPlayer.Clovers.Value +1000000
  121. end
  122. end
  123. end)
  124.  
  125. Speed.Name = "Speed"
  126. Speed.Parent = Frame
  127. Speed.Position = UDim2.new(0, 238, 0, 155)
  128. Speed.Size = UDim2.new(0, 105, 0, 50)
  129. Speed.Style = Enum.ButtonStyle.RobloxRoundButton
  130. Speed.Font = Enum.Font.SciFi
  131. Speed.FontSize = Enum.FontSize.Size14
  132. Speed.Text = "Speed"
  133. Speed.TextSize = 20
  134. Speed.MouseButton1Click:connect(function()
  135. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 80
  136. end)
  137.  
  138. Jump.Name = "Jump"
  139. Jump.Parent = Frame
  140. Jump.Position = UDim2.new(0, 8, 0, 155)
  141. Jump.Size = UDim2.new(0, 100, 0, 50)
  142. Jump.Style = Enum.ButtonStyle.RobloxRoundButton
  143. Jump.Font = Enum.Font.SciFi
  144. Jump.FontSize = Enum.FontSize.Size14
  145. Jump.Text = "Jump"
  146. Jump.TextSize = 20
  147. Jump.MouseButton1Click:connect(function()
  148. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 180
  149. end)
  150.  
  151. MaskedMan.Name = "MaskedMan"
  152. MaskedMan.Parent = Frame
  153. MaskedMan.Position = UDim2.new(0, 118, 0, 155)
  154. MaskedMan.Size = UDim2.new(0, 115, 0, 50)
  155. MaskedMan.Style = Enum.ButtonStyle.RobloxRoundButton
  156. MaskedMan.Font = Enum.Font.SciFi
  157. MaskedMan.FontSize = Enum.FontSize.Size14
  158. MaskedMan.Text = "MaskedMan"
  159. MaskedMan.TextSize = 20
  160. MaskedMan.MouseButton1Click:connect(function()
  161. thing = game.Workspace.Market.Hitfox
  162. thing.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(0,0),0,math.random(0,0))
  163. thing.Transparency = 0
  164. thing.BrickColor = BrickColor.new(255,0,100)
  165. tell = Instance.new("SurfaceGui",thing)
  166. tell2 = Instance.new("TextLabel",tell)
  167. tell2.Size = UDim2.new(0, 800, 0, 750)
  168. tell2.TextWrapped= true
  169. tell2.TextScaled = true
  170. tell2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  171. tell2.TextColor3 = Color3.fromRGB(255, 255, 255)
  172. tell2.Text =  "Click Me!"
  173. end)
  174.  
  175. Credits.Name = "-=-?-=- Credits -=-?-=-"
  176. Credits.Parent = Frame
  177. Credits.Position = UDim2.new(0, 8, 0, 100)
  178. Credits.Size = UDim2.new(0, 338, 0, 50)
  179. Credits.Style = Enum.ButtonStyle.RobloxRoundButton
  180. Credits.Font = Enum.Font.SciFi
  181. Credits.FontSize = Enum.FontSize.Size14
  182. Credits.Text = "-=-*-=- Credits -=-*-=-"
  183. Credits.TextSize = 20
  184. Credits.MouseButton1Click:connect(function()
  185. CreditsGUI.Name = "CreditsGUI"
  186. CreditsGUI.Parent = game.CoreGui
  187. Frame2.Parent = CreditsGUI
  188. Frame2.Active = true
  189. Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
  190. Frame2.Draggable = true
  191. Frame2.Position = UDim2.new(0, 400, 0, 60)
  192. Frame2.Size = UDim2.new(0, 150, 0, 300)
  193. background2.Name = "background2"
  194. background2.Parent = Frame2
  195. background2.BackgroundColor3 = Color3.new(1, 1, 1)
  196. background2.Size = UDim2.new(0, 150, 0, 300)
  197. background2.Image = "rbxassetid://584906519"
  198. Exit2.Name = "Exit2"
  199. Exit2.Parent = Frame2
  200. Exit2.Position = UDim2.new(0, 50, 0, 10)
  201. Exit2.Size = UDim2.new(0, 40, 0, 20)
  202. Exit2.Style = Enum.ButtonStyle.RobloxRoundButton
  203. Exit2.Font = Enum.Font.SciFi
  204. Exit2.FontSize = Enum.FontSize.Size14
  205. Exit2.Text = "Exit"
  206. Exit2.TextSize = 14
  207. Exit2.MouseButton1Click:connect(function()
  208.        CreditsGUI:Destroy()
  209. end)
  210. CreditsCharWar.Name = "V3rm: CharWar"
  211. CreditsCharWar.Parent = Frame2
  212. CreditsCharWar.Position = UDim2.new(0, 5, 0, 40)
  213. CreditsCharWar.Size = UDim2.new(0, 140, 0, 40)
  214. CreditsCharWar.Style = Enum.ButtonStyle.RobloxRoundButton
  215. CreditsCharWar.Font = Enum.Font.SciFi
  216. CreditsCharWar.FontSize = Enum.FontSize.Size14
  217. CreditsCharWar.Text = "V3rm: CharWar"
  218. CreditsCharWar.TextSize = 20
  219. CreditsCharWar2.Name = "Discord: Jethrootje#0289"
  220. CreditsCharWar2.Parent = Frame2
  221. CreditsCharWar2.Position = UDim2.new(0, 5, 0, 80)
  222. CreditsCharWar2.Size = UDim2.new(0, 140, 0, 40)
  223. CreditsCharWar2.Style = Enum.ButtonStyle.RobloxRoundButton
  224. CreditsCharWar2.Font = Enum.Font.SciFi
  225. CreditsCharWar2.FontSize = Enum.FontSize.Size14
  226. CreditsCharWar2.Text = "Discord: Jethrootje#0289"
  227. CreditsCharWar2.TextSize = 12
  228. CreditsXtrodinary.Name = "V3rm: xtrodinary"
  229. CreditsXtrodinary.Parent = Frame2
  230. CreditsXtrodinary.Position = UDim2.new(0, 5, 0, 120)
  231. CreditsXtrodinary.Size = UDim2.new(0, 140, 0, 40)
  232. CreditsXtrodinary.Style = Enum.ButtonStyle.RobloxRoundButton
  233. CreditsXtrodinary.Font = Enum.Font.SciFi
  234. CreditsXtrodinary.FontSize = Enum.FontSize.Size14
  235. CreditsXtrodinary.Text = "V3rm: xtrodinary"
  236. CreditsXtrodinary.TextSize = 18
  237. CreditsXtrodinary2.Name = "Discord: Sesh#8128"
  238. CreditsXtrodinary2.Parent = Frame2
  239. CreditsXtrodinary2.Position = UDim2.new(0, 5, 0, 160)
  240. CreditsXtrodinary2.Size = UDim2.new(0, 140, 0, 40)
  241. CreditsXtrodinary2.Style = Enum.ButtonStyle.RobloxRoundButton
  242. CreditsXtrodinary2.Font = Enum.Font.SciFi
  243. CreditsXtrodinary2.FontSize = Enum.FontSize.Size14
  244. CreditsXtrodinary2.Text = "Discord: Sesh#8128"
  245. CreditsXtrodinary2.TextSize = 14
  246. CreditsBacktalkers.Name = "V3rm: Backtalkers"
  247. CreditsBacktalkers.Parent = Frame2
  248. CreditsBacktalkers.Position = UDim2.new(0, 5, 0, 200)
  249. CreditsBacktalkers.Size = UDim2.new(0, 140, 0, 40)
  250. CreditsBacktalkers.Style = Enum.ButtonStyle.RobloxRoundButton
  251. CreditsBacktalkers.Font = Enum.Font.SciFi
  252. CreditsBacktalkers.FontSize = Enum.FontSize.Size14
  253. CreditsBacktalkers.Text = "V3rm: Backtalkers"
  254. CreditsBacktalkers.TextSize = 18
  255. CreditsBacktalkers2.Name = "Discord: Bipper#3543"
  256. CreditsBacktalkers2.Parent = Frame2
  257. CreditsBacktalkers2.Position = UDim2.new(0, 5, 0, 240)
  258. CreditsBacktalkers2.Size = UDim2.new(0, 140, 0, 40)
  259. CreditsBacktalkers2.Style = Enum.ButtonStyle.RobloxRoundButton
  260. CreditsBacktalkers2.Font = Enum.Font.SciFi
  261. CreditsBacktalkers2.FontSize = Enum.FontSize.Size14
  262. CreditsBacktalkers2.Text = "Discord: Bipper#3543"
  263. CreditsBacktalkers2.TextSize = 14
  264. end)
  265.  
  266. RemoteButtons.Name = "RemoteButtons"
  267. RemoteButtons.Parent = Frame
  268. RemoteButtons.Position = UDim2.new(0, 238, 0, 50)
  269. RemoteButtons.Size = UDim2.new(0, 105, 0, 50)
  270. RemoteButtons.Style = Enum.ButtonStyle.RobloxRoundButton
  271. RemoteButtons.Font = Enum.Font.SciFi
  272. RemoteButtons.FontSize = Enum.FontSize.Size14
  273. RemoteButtons.Text = "RemoteButtons"
  274. RemoteButtons.TextSize = 14
  275. RemoteButtons.MouseButton1Click:connect(function()
  276. RemoteOn.Name = "Remote On"
  277. RemoteOn.Parent = Frame
  278. RemoteOn.Position = UDim2.new(0, 118, 0, 50)
  279. RemoteOn.Size = UDim2.new(0, 115, 0, 50)
  280. RemoteOn.Style = Enum.ButtonStyle.RobloxRoundButton
  281. RemoteOn.Font = Enum.Font.SciFi
  282. RemoteOn.FontSize = Enum.FontSize.Size14
  283. RemoteOn.Text = "Remote On"
  284. RemoteOn.TextSize = 20
  285. RemoteOn.MouseButton1Click:connect(function()
  286. x = 1;
  287. while(x>0) do
  288. wait (0.3)
  289. game.ReplicatedStorage.RemoteDrop:FireServer()
  290. end
  291. end)
  292. RemoteOff.Name = "Remote Off"
  293. RemoteOff.Parent = Frame
  294. RemoteOff.Position = UDim2.new(0, 233, 0, 50)
  295. RemoteOff.Size = UDim2.new(0, 115, 0, 50)
  296. RemoteOff.Style = Enum.ButtonStyle.RobloxRoundButton
  297. RemoteOff.Font = Enum.Font.SciFi
  298. RemoteOff.FontSize = Enum.FontSize.Size14
  299. RemoteOff.Text = "Remote Off"
  300. RemoteOff.TextSize = 20
  301. RemoteOff.MouseButton1Click:connect(function()
  302. x = 0;
  303. end)
  304. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement