KevinPlayLT2

Azure mines

Dec 15th, 2017
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. local LeviAzureMineGui = Instance.new("ScreenGui")
  2. local TopBar = Instance.new("TextLabel")
  3. local ImageLabel = Instance.new("ImageLabel")
  4. local MainFrame = Instance.new("Frame")
  5. local XRayToggle = Instance.new("TextButton")
  6. local TPToOre = Instance.new("TextButton")
  7. local Ore = Instance.new("TextBox")
  8. local OreHint = Instance.new("TextLabel")
  9. local OreHintClose = Instance.new("TextButton")
  10. local GlossEffect = Instance.new("ImageLabel")
  11. local OreNames = Instance.new("TextLabel")
  12. local OreNamesClose = Instance.new("TextButton")
  13. local GlossEffect_2 = Instance.new("ImageLabel")
  14. local CloseButton = Instance.new("TextButton")
  15. local GlossEffect_3 = Instance.new("ImageLabel")
  16. LeviAzureMineGui.Name = "LeviAzureMineGui"
  17. LeviAzureMineGui.Parent = game.Players.LocalPlayer.PlayerGui
  18. TopBar.Name = "TopBar"
  19. TopBar.Parent = LeviAzureMineGui
  20. TopBar.Active = true
  21. TopBar.BackgroundColor3 = Color3.new(1, 0, 0)
  22. TopBar.BackgroundTransparency = 0.5
  23. TopBar.BorderSizePixel = 0
  24. TopBar.Draggable = true
  25. TopBar.Position = UDim2.new(0.5, -150, 0.5, -150)
  26. TopBar.Size = UDim2.new(0, 280, 0, 20)
  27. TopBar.Font = Enum.Font.Code
  28. TopBar.FontSize = Enum.FontSize.Size18
  29. TopBar.Text = "Levi's Azure Mines GUI v1"
  30. TopBar.TextColor3 = Color3.new(1, 1, 1)
  31. TopBar.TextSize = 18
  32. ImageLabel.Parent = TopBar
  33. ImageLabel.BackgroundTransparency = 1
  34. ImageLabel.Size = UDim2.new(1, 0, 0.5, 0)
  35. ImageLabel.ZIndex = 2
  36. ImageLabel.Image = "rbxasset://textures/BWGradient.png"
  37. ImageLabel.ImageTransparency = 0.5
  38. MainFrame.Name = "MainFrame"
  39. MainFrame.Parent = TopBar
  40. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  41. MainFrame.BackgroundTransparency = 0.30000001192093
  42. MainFrame.BorderSizePixel = 0
  43. MainFrame.Position = UDim2.new(0, 0, 0, 20)
  44. MainFrame.Size = UDim2.new(0, 300, 0, 150)
  45. XRayToggle.Name = "XRayToggle"
  46. XRayToggle.Parent = MainFrame
  47. XRayToggle.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  48. XRayToggle.BackgroundTransparency = 0.89999997615814
  49. XRayToggle.Size = UDim2.new(1, 0, 0.200000003, 0)
  50. XRayToggle.Font = Enum.Font.Code
  51. XRayToggle.FontSize = Enum.FontSize.Size24
  52. XRayToggle.Text = "X-Ray: Off"
  53. XRayToggle.TextColor3 = Color3.new(1, 1, 1)
  54. XRayToggle.TextSize = 22
  55. TPToOre.Name = "TPToOre"
  56. TPToOre.Parent = MainFrame
  57. TPToOre.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  58. TPToOre.BackgroundTransparency = 0.89999997615814
  59. TPToOre.Position = UDim2.new(0, 0, 0.800000012, 0)
  60. TPToOre.Size = UDim2.new(1, 0, 0.200000003, 0)
  61. TPToOre.Font = Enum.Font.Code
  62. TPToOre.FontSize = Enum.FontSize.Size24
  63. TPToOre.Text = "Teleport to ore!"
  64. TPToOre.TextColor3 = Color3.new(1, 1, 1)
  65. TPToOre.TextSize = 22
  66. Ore.Name = "Ore"
  67. Ore.Parent = MainFrame
  68. Ore.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  69. Ore.BackgroundTransparency = 0.89999997615814
  70. Ore.Position = UDim2.new(0, 0, 0.600000024, 0)
  71. Ore.Size = UDim2.new(1, 0, 0.200000003, 0)
  72. Ore.Font = Enum.Font.Code
  73. Ore.FontSize = Enum.FontSize.Size24
  74. Ore.Text = "Rainbonite"
  75. Ore.TextColor3 = Color3.new(1, 1, 1)
  76. Ore.TextSize = 22
  77. OreHint.Name = "OreHint"
  78. OreHint.Parent = MainFrame
  79. OreHint.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  80. OreHint.BackgroundTransparency = 0.40000000596046
  81. OreHint.BorderSizePixel = 0
  82. OreHint.Position = UDim2.new(1, 0, 0.200000003, 0)
  83. OreHint.Size = UDim2.new(1, 0, 0.800000012, 0)
  84. OreHint.Font = Enum.Font.Code
  85. OreHint.FontSize = Enum.FontSize.Size24
  86. OreHint.Text = "If you dont get teleported, the ore doesn't exist or you did a typo."
  87. OreHint.TextColor3 = Color3.new(1, 1, 1)
  88. OreHint.TextScaled = true
  89. OreHint.TextSize = 22
  90. OreHint.TextWrapped = true
  91. OreHintClose.Name = "OreHintClose"
  92. OreHintClose.Parent = OreHint
  93. OreHintClose.BackgroundColor3 = Color3.new(1, 0, 0)
  94. OreHintClose.BackgroundTransparency = 0.5
  95. OreHintClose.BorderSizePixel = 0
  96. OreHintClose.Position = UDim2.new(0, 280, 0, 0)
  97. OreHintClose.Size = UDim2.new(0, 20, 0, 20)
  98. OreHintClose.Font = Enum.Font.SciFi
  99. OreHintClose.FontSize = Enum.FontSize.Size18
  100. OreHintClose.Text = "X"
  101. OreHintClose.TextColor3 = Color3.new(1, 1, 1)
  102. OreHintClose.TextSize = 18
  103. GlossEffect.Name = "GlossEffect"
  104. GlossEffect.Parent = OreHintClose
  105. GlossEffect.BackgroundTransparency = 1
  106. GlossEffect.Size = UDim2.new(1, 0, 0.5, 0)
  107. GlossEffect.ZIndex = 2
  108. GlossEffect.Image = "rbxasset://textures/BWGradient.png"
  109. GlossEffect.ImageTransparency = 0.5
  110. OreNames.Name = "OreNames"
  111. OreNames.Parent = MainFrame
  112. OreNames.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  113. OreNames.BackgroundTransparency = 0.40000000596046
  114. OreNames.BorderSizePixel = 0
  115. OreNames.Position = UDim2.new(-1, 0, 0.200000003, 0)
  116. OreNames.Size = UDim2.new(1, 0, 0.800000012, 0)
  117. OreNames.Font = Enum.Font.Code
  118. OreNames.FontSize = Enum.FontSize.Size24
  119. OreNames.Text = "Here are the names of the ores: Stone, Coal, Copper, Iron, Silver, Ruby, Sapphire, Emerald, Sulfur, Gold, Diamond, Opal, Uranium, Moonstone, Baryte, Topaz, Unobtainium, Plutonium, Illuminunium, Amethyst, Dragonglass, Rainbonite, Serendibite, Azure, Painite, Kappite, Boomite, Ambrosia, Twitchite, Platinum and Mithril "
  120. OreNames.TextColor3 = Color3.new(1, 1, 1)
  121. OreNames.TextScaled = true
  122. OreNames.TextSize = 22
  123. OreNames.TextWrapped = true
  124. OreNamesClose.Name = "OreNamesClose"
  125. OreNamesClose.Parent = OreNames
  126. OreNamesClose.BackgroundColor3 = Color3.new(1, 0, 0)
  127. OreNamesClose.BackgroundTransparency = 0.5
  128. OreNamesClose.BorderSizePixel = 0
  129. OreNamesClose.Position = UDim2.new(0, 280, 0, 0)
  130. OreNamesClose.Size = UDim2.new(0, 20, 0, 20)
  131. OreNamesClose.Font = Enum.Font.SciFi
  132. OreNamesClose.FontSize = Enum.FontSize.Size18
  133. OreNamesClose.Text = "X"
  134. OreNamesClose.TextColor3 = Color3.new(1, 1, 1)
  135. OreNamesClose.TextSize = 18
  136. GlossEffect_2.Name = "GlossEffect"
  137. GlossEffect_2.Parent = OreNamesClose
  138. GlossEffect_2.BackgroundTransparency = 1
  139. GlossEffect_2.Size = UDim2.new(1, 0, 0.5, 0)
  140. GlossEffect_2.ZIndex = 2
  141. GlossEffect_2.Image = "rbxasset://textures/BWGradient.png"
  142. GlossEffect_2.ImageTransparency = 0.5
  143. CloseButton.Name = "CloseButton"
  144. CloseButton.Parent = TopBar
  145. CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
  146. CloseButton.BackgroundTransparency = 0.5
  147. CloseButton.BorderSizePixel = 0
  148. CloseButton.Position = UDim2.new(0, 280, 0, 0)
  149. CloseButton.Size = UDim2.new(0, 20, 0, 20)
  150. CloseButton.Font = Enum.Font.SciFi
  151. CloseButton.FontSize = Enum.FontSize.Size18
  152. CloseButton.Text = "X"
  153. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  154. CloseButton.TextSize = 18
  155. GlossEffect_3.Name = "GlossEffect"
  156. GlossEffect_3.Parent = CloseButton
  157. GlossEffect_3.BackgroundTransparency = 1
  158. GlossEffect_3.Size = UDim2.new(1, 0, 0.5, 0)
  159. GlossEffect_3.ZIndex = 2
  160. GlossEffect_3.Image = "rbxasset://textures/BWGradient.png"
  161. GlossEffect_3.ImageTransparency = 0.5
  162.  
  163.  
  164.  
  165. TPToOre.MouseButton1Down:connect(function()
  166. for _,v in pairs(game.Workspace.Mine:GetChildren()) do
  167. if string.match(v.Name, Ore.Text) then
  168. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  169. end
  170. end
  171. end)
  172. XRayToggle.MouseButton1Down:connect(function()
  173. XRayToggle.MouseButton1Down:connect(function()
  174. if XRayToggle.Text == "X-Ray: Off" then
  175. local model = game.Workspace.Mine
  176. local children = model:GetChildren()
  177. for i =1, #children do
  178. if children[i] ~= nil then
  179. if children[i].Name == "Stone" then
  180. children[i].Transparency = 0.8
  181. end
  182. end
  183. end
  184. XRayToggle.Text = "X-Ray: On" else
  185. local model = game.Workspace.Mine
  186. local children = model:GetChildren()
  187. for i =1, #children do
  188. if children[i] ~= nil then
  189. if children[i].Name == "Stone" then
  190. children[i].Transparency = 0
  191. XRayToggle.Text = "X-Ray: Off"
  192. end
  193. end
  194. end
  195. end
  196. end)
  197. end)
  198. OreHintClose.MouseButton1Down:connect(function()
  199. OreHint:remove()
  200. OreHintClose:remove()
  201. end)
  202. OreNamesClose.MouseButton1Down:connect(function()
  203. OreNames:remove()
  204. OreNamesClose:remove()
  205. end)
  206. CloseButton.MouseButton1Down:connect(function()
  207. LeviAzureMineGui:remove()
  208. end)
Add Comment
Please, Sign In to add comment