PersonsadminTeam

MinerLux V2 - Miner's Haven Script

Apr 10th, 2017
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.08 KB | None | 0 0
  1. local MinerLux = Instance.new("ScreenGui")
  2. local MinerLuxMain = Instance.new("TextButton")
  3. local Main = Instance.new("Frame")
  4. local LuckyClovers = Instance.new("TextButton")
  5. local CrateToYou = Instance.new("TextButton")
  6. local ToggleCrateToYou = Instance.new("TextButton")
  7. local TwitchCoins = Instance.new("TextButton")
  8. local BringMM = Instance.new("TextButton")
  9. local CreditsMinerLux = Instance.new("TextLabel")
  10.  
  11. MinerLux.Name = "MinerLux"
  12.  
  13. MinerLuxMain.Name = "MinerLuxMain"
  14. MinerLuxMain.Parent = MinerLux
  15. MinerLuxMain.BackgroundColor3 = Color3.new(0, 0, 0)
  16. MinerLuxMain.BorderColor3 = Color3.new(1, 1, 1)
  17. MinerLuxMain.BorderSizePixel = 5
  18. MinerLuxMain.Position = UDim2.new(0, 21, 0.75, 29)
  19. MinerLuxMain.Size = UDim2.new(0, 180, 0, 40)
  20. MinerLuxMain.Font = Enum.Font.SourceSansLight
  21. MinerLuxMain.FontSize = Enum.FontSize.Size36
  22. MinerLuxMain.Text = "MinerLux"
  23. MinerLuxMain.TextColor3 = Color3.new(1, 1, 1)
  24. MinerLuxMain.TextSize = 36
  25. MinerLuxMain.TextStrokeTransparency = 0
  26. MinerLuxMain.TextWrapped = true
  27.  
  28. Main.Name = "Main"
  29. Main.Parent = MinerLuxMain
  30. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  31. Main.BorderColor3 = Color3.new(1, 1, 1)
  32. Main.BorderSizePixel = 5
  33. Main.Draggable = true
  34. Main.Position = UDim2.new(0, 201, 0.75, -158)
  35. Main.Size = UDim2.new(0, 489, 0, 168)
  36. Main.Visible = false
  37.  
  38. LuckyClovers.Name = "LuckyClovers"
  39. LuckyClovers.Parent = Main
  40. LuckyClovers.BackgroundColor3 = Color3.new(0, 0, 0)
  41. LuckyClovers.BorderColor3 = Color3.new(1, 1, 1)
  42. LuckyClovers.BorderSizePixel = 3
  43. LuckyClovers.Position = UDim2.new(0, 261, 0, 65)
  44. LuckyClovers.Size = UDim2.new(0, 210, 0, 40)
  45. LuckyClovers.Font = Enum.Font.SourceSansLight
  46. LuckyClovers.FontSize = Enum.FontSize.Size24
  47. LuckyClovers.Text = "+1 Lucky Clover"
  48. LuckyClovers.TextColor3 = Color3.new(1, 1, 1)
  49. LuckyClovers.TextSize = 24
  50. LuckyClovers.TextStrokeTransparency = 0
  51. LuckyClovers.TextWrapped = true
  52.  
  53. CrateToYou.Name = "CrateToYou"
  54. CrateToYou.Parent = Main
  55. CrateToYou.BackgroundColor3 = Color3.new(0, 0, 0)
  56. CrateToYou.BorderColor3 = Color3.new(1, 1, 1)
  57. CrateToYou.BorderSizePixel = 3
  58. CrateToYou.Position = UDim2.new(0, 21, 0, 15)
  59. CrateToYou.Size = UDim2.new(0, 224, 0, 51)
  60. CrateToYou.Font = Enum.Font.SourceSansLight
  61. CrateToYou.FontSize = Enum.FontSize.Size24
  62. CrateToYou.Text = "Bring Crates"
  63. CrateToYou.TextColor3 = Color3.new(1, 1, 1)
  64. CrateToYou.TextSize = 24
  65. CrateToYou.TextStrokeTransparency = 0
  66. CrateToYou.TextWrapped = true
  67.  
  68. ToggleCrateToYou.Name = "ToggleCrateToYou"
  69. ToggleCrateToYou.Parent = Main
  70. ToggleCrateToYou.BackgroundColor3 = Color3.new(0, 0, 0)
  71. ToggleCrateToYou.BorderColor3 = Color3.new(1, 1, 1)
  72. ToggleCrateToYou.BorderSizePixel = 3
  73. ToggleCrateToYou.Position = UDim2.new(0, 21, 0, 101)
  74. ToggleCrateToYou.Size = UDim2.new(0, 224, 0, 51)
  75. ToggleCrateToYou.Font = Enum.Font.SourceSansLight
  76. ToggleCrateToYou.FontSize = Enum.FontSize.Size24
  77. ToggleCrateToYou.Text = "Auto Bring Crates: OFF"
  78. ToggleCrateToYou.TextColor3 = Color3.new(1, 1, 1)
  79. ToggleCrateToYou.TextSize = 24
  80. ToggleCrateToYou.TextStrokeTransparency = 0
  81. ToggleCrateToYou.TextWrapped = true
  82.  
  83. TwitchCoins.Name = "TwitchCoins"
  84. TwitchCoins.Parent = Main
  85. TwitchCoins.BackgroundColor3 = Color3.new(0, 0, 0)
  86. TwitchCoins.BorderColor3 = Color3.new(1, 1, 1)
  87. TwitchCoins.BorderSizePixel = 3
  88. TwitchCoins.Position = UDim2.new(0, 261, 0, 15)
  89. TwitchCoins.Size = UDim2.new(0, 210, 0, 40)
  90. TwitchCoins.Font = Enum.Font.SourceSansLight
  91. TwitchCoins.FontSize = Enum.FontSize.Size24
  92. TwitchCoins.Text = "+1 Twitch Coin"
  93. TwitchCoins.TextColor3 = Color3.new(1, 1, 1)
  94. TwitchCoins.TextSize = 24
  95. TwitchCoins.TextStrokeTransparency = 0
  96. TwitchCoins.TextWrapped = true
  97.  
  98. BringMM.Name = "BringMM"
  99. BringMM.Parent = Main
  100. BringMM.BackgroundColor3 = Color3.new(0, 0, 0)
  101. BringMM.BorderColor3 = Color3.new(1, 1, 1)
  102. BringMM.BorderSizePixel = 3
  103. BringMM.Position = UDim2.new(0, 261, 0, 115)
  104. BringMM.Size = UDim2.new(0, 210, 0, 40)
  105. BringMM.Font = Enum.Font.SourceSansLight
  106. BringMM.FontSize = Enum.FontSize.Size24
  107. BringMM.Text = "Get Masked Man!"
  108. BringMM.TextColor3 = Color3.new(1, 1, 1)
  109. BringMM.TextSize = 24
  110. BringMM.TextStrokeTransparency = 0
  111. BringMM.TextWrapped = true
  112.  
  113. CreditsMinerLux.Name = "CreditsMinerLux"
  114. CreditsMinerLux.Parent = MinerLuxMain
  115. CreditsMinerLux.BackgroundColor3 = Color3.new(1, 1, 1)
  116. CreditsMinerLux.BackgroundTransparency = 1
  117. CreditsMinerLux.Position = UDim2.new(0, 400, 0, 121)
  118. CreditsMinerLux.Size = UDim2.new(0, 583, 0, 50)
  119. CreditsMinerLux.Font = Enum.Font.SourceSansLight
  120. CreditsMinerLux.FontSize = Enum.FontSize.Size42
  121. CreditsMinerLux.Text = "MinerLux created by LeviTheOtaku (v3rm)"
  122. CreditsMinerLux.TextColor3 = Color3.new(1, 1, 1)
  123. CreditsMinerLux.TextSize = 42
  124.  
  125. MinerLuxMain.MouseButton1Click:connect(function()
  126. Main.Visible = not Main.Visible
  127. end)
  128. LuckyClovers.MouseButton1Click:connect(function()
  129. game.Players.LocalPlayer.Clovers.Value = 1
  130. end)
  131. TwitchCoins.MouseButton1Click:connect(function()
  132. game.Players.LocalPlayer.TwitchPoints.Value = 1
  133. end)
  134.  
  135. CrateToYou.MouseButton1Click:connect(function()
  136. for _,obj in pairs(game.Workspace:GetChildren()) do
  137. if string.match(obj.Name,"%s*Crate") then
  138. obj.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(-2,2),5,math.random(-2,2))
  139. end
  140. end
  141. end)
  142. ToggleCrateToYou.MouseButton1Click:connect(function()
  143. Toggled = not Toggled
  144. ToggleCrateToYou.Text = "Auto Bring Crates: "..(Toggled and "ON" or "OFF")
  145. if Toggled then
  146. for _,obj in pairs(game.Workspace:GetChildren()) do
  147. if string.match(obj.Name,"%s*Crate") then
  148. obj.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,5)
  149. end
  150. end
  151. end
  152. end)
  153.  
  154. game.Workspace.ChildAdded:connect(function(obj)
  155. if MinerLuxMain ~= nil and Toggled and string.match(obj.Name,"%s*Crate") then
  156. obj.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,5)
  157. end
  158. end)
  159.  
  160. BringMM.MouseButton1Click:connect(function()
  161. local thing = game.Workspace.Market.Hitfox
  162. local tell = Instance.new("SurfaceGui",thing)
  163. local tell2 = Instance.new("TextLabel",tell)
  164. thing = game.Workspace.Market.Hitfox
  165. thing.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(0,0),0,math.random(0,0))
  166. thing.Transparency = 0
  167. thing.BrickColor = BrickColor.new(255,0,100)
  168. tell2.Size = UDim2.new(0, 800, 0, 750)
  169. tell2.TextWrapped= true
  170. tell2.TextScaled = true
  171. tell2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  172. tell2.TextColor3 = Color3.fromRGB(255, 255, 255)
  173. tell2.Text = "The Masked Man."
  174. end)
  175.  
  176. MinerLux.Parent = game.Players.LocalPlayer.PlayerGui
  177. --MinerLux.Parent = game.StarterGui
  178.  
  179. local top = 255
  180. while true do
  181. wait()
  182. for i = 1,top,1 do
  183. CreditsMinerLux.TextColor3 = Color3.new(i/top,0/top,0/top)
  184. wait()
  185. end
  186. for i = 1,top,1 do
  187. CreditsMinerLux.TextColor3 = Color3.new(top/top,i/top,0/top)
  188. wait()
  189. end
  190. for i = 1,top,1 do
  191. CreditsMinerLux.TextColor3 = Color3.new(top/top,top/top,i/top)
  192. wait()
  193. end
  194. for i = top,1,-1 do
  195. CreditsMinerLux.TextColor3 = Color3.new(i/top,top/top,top/top)
  196. wait()
  197. end
  198. for i = top,1,-1 do
  199. CreditsMinerLux.TextColor3 = Color3.new(0/top,i/top,top/top)
  200. wait()
  201. end
  202. for i = top,1,-1 do
  203. CreditsMinerLux.TextColor3 = Color3.new(0/top,0/top,i/top)
  204. wait()
  205. end
  206. end
Add Comment
Please, Sign In to add comment