DontDoItIDareU

Best Miners Haven Gui

Jun 24th, 2018
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 KB | None | 0 0
  1. -- rephlo's miner haven gui
  2.  
  3. -- Variables
  4.  
  5. local Toggled = false
  6. local MinerHax = Instance.new("ScreenGui")
  7. local MinerHaxMain = Instance.new("TextButton")
  8. local LastCalledDisplay = Instance.new("TextLabel")
  9. local Main = Instance.new("Frame")
  10. local CrateToYou = Instance.new("TextButton")
  11. local ToggleCrateToYou = Instance.new("TextButton")
  12. local LuckyClovers = Instance.new("TextButton")
  13. local TwitchCoins = Instance.new("TextButton")
  14. local BringMM = Instance.new("TextButton")
  15.  
  16. -- Properties
  17.  
  18. MinerHax.Name = "MinerHax"
  19.  
  20. MinerHaxMain.Name = "MinerLuxMain"
  21. MinerHaxMain.Parent = MinerHax
  22. MinerHaxMain.BackgroundColor3 = Color3.new(1,1,1)
  23. MinerHaxMain.BorderColor3 = Color3.new(0,0,0)
  24. MinerHaxMain.Position = UDim2.new(0,5,0.75,-20)
  25. MinerHaxMain.Size = UDim2.new(0,180,0,40)
  26. MinerHaxMain.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  27. MinerHaxMain.Font = Enum.Font.SciFi
  28. MinerHaxMain.FontSize = Enum.FontSize.Size36
  29. MinerHaxMain.Text = "rephlo's GUI"
  30. MinerHaxMain.TextColor3 = Color3.new(1,1,1)
  31. MinerHaxMain.TextSize = 32
  32. MinerHaxMain.TextStrokeTransparency = 0
  33. MinerHaxMain.TextWrapped = true
  34. MinerHaxMain.Draggable = true
  35.  
  36. Main.Name = "Main"
  37. Main.Draggable = true
  38. Main.Parent = MinerHaxMain
  39. Main.BackgroundColor3 = Color3.new(1,1,1)
  40. Main.Position = UDim2.new(0,190,0.75,-49)
  41. Main.Size = UDim2.new (0, 396, 0, 135)
  42. Main.Visible = false
  43. Main.Style = Enum.FrameStyle.DropShadow
  44. MinerHaxMain.MouseButton1Click:connect(function()
  45. Main.Visible = not Main.Visible
  46. end)
  47.  
  48. LuckyClovers.Name = "LuckyClovers"
  49. LuckyClovers.Parent = Main
  50. LuckyClovers.BackgroundColor3 = Color3.new(1, 1, 1)
  51. LuckyClovers.BorderColor3 = Color3.new(0, 0, 0)
  52. LuckyClovers.Position = UDim2.new(0, 0, 0, 80)
  53. LuckyClovers.Size = UDim2.new(0, 180, 0, 40)
  54. LuckyClovers.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  55. LuckyClovers.Font = Enum.Font.SciFi
  56. LuckyClovers.FontSize = Enum.FontSize.Size18
  57. LuckyClovers.Text = "+1 Lucky Clover"
  58. LuckyClovers.TextColor3 = Color3.new(1, 1, 1)
  59. LuckyClovers.TextSize = 18
  60. LuckyClovers.TextStrokeTransparency = 0
  61. LuckyClovers.TextWrapped = true
  62. LuckyClovers.MouseButton1Click:connect(function()
  63. game.Players.LocalPlayer.Clovers.Value = 1
  64. end)
  65.  
  66. CrateToYou.Name = "CrateToYou"
  67. CrateToYou.Parent = Main
  68. CrateToYou.BackgroundColor3 = Color3.new(1,1,1)
  69. CrateToYou.BorderColor3 = Color3.new(0,0,0)
  70. CrateToYou.Position = UDim2.new(0,1,0,0)
  71. CrateToYou.Size = UDim2.new(0,180,0,40)
  72. CrateToYou.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  73. CrateToYou.Font = Enum.Font.SciFi
  74. CrateToYou.FontSize = Enum.FontSize.Size18
  75. CrateToYou.Text = "Bring Crates"
  76. CrateToYou.TextColor3 = Color3.new(1,1,1)
  77. CrateToYou.TextSize = 18
  78. CrateToYou.TextStrokeTransparency = 0
  79. CrateToYou.TextWrapped = true
  80. CrateToYou.MouseButton1Click:connect(function()
  81. for _,obj in pairs(game.Workspace:GetChildren()) do
  82. if string.match(obj.Name,"%s*Crate") then
  83. obj.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(-2,2),5,math.random(-2,2))
  84. end
  85. end
  86. end)
  87.  
  88. ToggleCrateToYou.Name = "ToggleCrateToYou"
  89. ToggleCrateToYou.Parent = Main
  90. ToggleCrateToYou.BackgroundColor3 = Color3.new(1,1,1)
  91. ToggleCrateToYou.BorderColor3 = Color3.new(0,0,0)
  92. ToggleCrateToYou.Position = UDim2.new(0,1,0,40)
  93. ToggleCrateToYou.Size = UDim2.new(0,180,0,40)
  94. ToggleCrateToYou.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  95. ToggleCrateToYou.Font = Enum.Font.SciFi
  96. ToggleCrateToYou.FontSize = Enum.FontSize.Size36
  97. ToggleCrateToYou.Text = "Auto Bring Crates: "..(Toggled and "ON" or "OFF")
  98. ToggleCrateToYou.TextColor3 = Color3.new(1,1,1)
  99. ToggleCrateToYou.TextScaled = true
  100. ToggleCrateToYou.TextSize = 36
  101. ToggleCrateToYou.TextStrokeTransparency = 0
  102. ToggleCrateToYou.TextWrapped = true
  103. ToggleCrateToYou.MouseButton1Click:connect(function()
  104. Toggled = not Toggled
  105. ToggleCrateToYou.Text = "Auto Bring Crates: "..(Toggled and "ON" or "OFF")
  106. if Toggled then
  107. for _,obj in pairs(game.Workspace:GetChildren()) do
  108. if string.match(obj.Name,"%s*Crate") then
  109. obj.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,5)
  110. end
  111. end
  112. end
  113. end)
  114.  
  115. game.Workspace.ChildAdded:connect(function(obj)
  116. if MinerHaxMain ~= nil and Toggled and string.match(obj.Name,"%s*Crate") then
  117. obj.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,5)
  118. end
  119. end)
  120.  
  121. TwitchCoins.Name = "TwitchCoins"
  122. TwitchCoins.Parent = Main
  123. TwitchCoins.BackgroundColor3 = Color3.new(1, 1, 1)
  124. TwitchCoins.BorderColor3 = Color3.new(0, 0, 0)
  125. TwitchCoins.Position = UDim2.new(.5, 1, 0, 0)
  126. TwitchCoins.Size = UDim2.new(0, 180, 0, 40)
  127. TwitchCoins.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  128. TwitchCoins.Font = Enum.Font.SciFi
  129. TwitchCoins.FontSize = Enum.FontSize.Size18
  130. TwitchCoins.Text = "+1 Twitch Coin"
  131. TwitchCoins.TextColor3 = Color3.new(1, 1, 1)
  132. TwitchCoins.TextSize = 18
  133. TwitchCoins.TextStrokeTransparency = 0
  134. TwitchCoins.TextWrapped = true
  135. TwitchCoins.MouseButton1Click:connect(function()
  136. game.Players.LocalPlayer.TwitchPoints.Value = 1
  137. end)
  138.  
  139. BringMM.Name = "BringMM"
  140. BringMM.Parent = Main
  141. BringMM.BackgroundColor3 = Color3.new(1, 1, 1)
  142. BringMM.BorderColor3 = Color3.new(0, 0, 0)
  143. BringMM.Position = UDim2.new(.5, 1, .35, 0)
  144. BringMM.Size = UDim2.new(0, 180, 0, 40)
  145. BringMM.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  146. BringMM.Font = Enum.Font.SciFi
  147. BringMM.FontSize = Enum.FontSize.Size18
  148. BringMM.Text = "Bring MM"
  149. BringMM.TextColor3 = Color3.new(1, 1, 1)
  150. BringMM.TextSize = 18
  151. BringMM.TextStrokeTransparency = 0
  152. BringMM.TextWrapped = true
  153. BringMM.MouseButton1Click:connect(function()
  154. local thing = game.Workspace.Market.Hitfox
  155. local tell = Instance.new("SurfaceGui",thing)
  156. local tell2 = Instance.new("TextLabel",tell)
  157. thing = game.Workspace.Market.Hitfox
  158. thing.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(0,0),0,math.random(0,0))
  159. thing.Transparency = 0
  160. thing.BrickColor = BrickColor.new(255,0,100)
  161. tell2.Size = UDim2.new(0, 800, 0, 750)
  162. tell2.TextWrapped= true
  163. tell2.TextScaled = true
  164. tell2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  165. tell2.TextColor3 = Color3.fromRGB(255, 255, 255)
  166. tell2.Text = "Click Me!"
  167. end)
  168.  
  169.  
  170. MinerHax.Parent = game.Players.LocalPlayer.PlayerGui
Add Comment
Please, Sign In to add comment