Advertisement
MadDog_YT

TP to ore Azure Mines Roblox

Mar 31st, 2019
10,856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.86 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. local BrightnessToggle = Instance.new("TextButton")
  17. local BrightnessVal = Instance.new("BoolValue")
  18. LeviAzureMineGui.Name = "LeviAzureMineGui"
  19. LeviAzureMineGui.Parent = game.Players.LocalPlayer.PlayerGui
  20. TopBar.Name = "TopBar"
  21. TopBar.Parent = LeviAzureMineGui
  22. TopBar.Active = true
  23. TopBar.BackgroundColor3 = Color3.new(1, 0, 0)
  24. TopBar.BackgroundTransparency = 0.5
  25. TopBar.BorderSizePixel = 0
  26. TopBar.Draggable = true
  27. TopBar.Position = UDim2.new(0.5, -150, 0.5, -150)
  28. TopBar.Size = UDim2.new(0, 280, 0, 20)
  29. TopBar.Font = Enum.Font.Code
  30. TopBar.FontSize = Enum.FontSize.Size18
  31. TopBar.Text = "Levi's Azure Mines GUI v2"
  32. TopBar.TextColor3 = Color3.new(1, 1, 1)
  33. TopBar.TextSize = 18
  34. ImageLabel.Parent = TopBar
  35. ImageLabel.BackgroundTransparency = 1
  36. ImageLabel.Size = UDim2.new(1, 0, 0.5, 0)
  37. ImageLabel.ZIndex = 2
  38. ImageLabel.Image = "rbxasset://textures/BWGradient.png"
  39. ImageLabel.ImageTransparency = 0.5
  40. MainFrame.Name = "MainFrame"
  41. MainFrame.Parent = TopBar
  42. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  43. MainFrame.BackgroundTransparency = 0.30000001192093
  44. MainFrame.BorderSizePixel = 0
  45. MainFrame.Position = UDim2.new(0, 0, 0, 20)
  46. MainFrame.Size = UDim2.new(0, 300, 0, 150)
  47. XRayToggle.Name = "XRayToggle"
  48. XRayToggle.Parent = MainFrame
  49. XRayToggle.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  50. XRayToggle.BackgroundTransparency = 0.89999997615814
  51. XRayToggle.Size = UDim2.new(1, 0, 0.200000003, 0)
  52. XRayToggle.Font = Enum.Font.Code
  53. XRayToggle.FontSize = Enum.FontSize.Size24
  54. XRayToggle.Text = "X-Ray: Off"
  55. XRayToggle.TextColor3 = Color3.new(1, 1, 1)
  56. XRayToggle.TextSize = 22
  57. TPToOre.Name = "TPToOre"
  58. TPToOre.Parent = MainFrame
  59. TPToOre.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  60. TPToOre.BackgroundTransparency = 0.89999997615814
  61. TPToOre.Position = UDim2.new(0, 0, 0.800000012, 0)
  62. TPToOre.Size = UDim2.new(1, 0, 0.200000003, 0)
  63. TPToOre.Font = Enum.Font.Code
  64. TPToOre.FontSize = Enum.FontSize.Size24
  65. TPToOre.Text = "Teleport to ore!"
  66. TPToOre.TextColor3 = Color3.new(1, 1, 1)
  67. TPToOre.TextSize = 22
  68. Ore.Name = "Ore"
  69. Ore.Parent = MainFrame
  70. Ore.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  71. Ore.BackgroundTransparency = 0.89999997615814
  72. Ore.Position = UDim2.new(0, 0, 0.600000024, 0)
  73. Ore.Size = UDim2.new(1, 0, 0.200000003, 0)
  74. Ore.Font = Enum.Font.Code
  75. Ore.FontSize = Enum.FontSize.Size24
  76. Ore.Text = "Rainbonite"
  77. Ore.TextColor3 = Color3.new(1, 1, 1)
  78. Ore.TextSize = 22
  79. OreHint.Name = "OreHint"
  80. OreHint.Parent = MainFrame
  81. OreHint.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  82. OreHint.BackgroundTransparency = 0.40000000596046
  83. OreHint.BorderSizePixel = 0
  84. OreHint.Position = UDim2.new(1, 0, 0.200000003, 0)
  85. OreHint.Size = UDim2.new(1, 0, 0.800000012, 0)
  86. OreHint.Font = Enum.Font.Code
  87. OreHint.FontSize = Enum.FontSize.Size24
  88. OreHint.Text = "If you dont get teleported, the ore doesn't exist or you did a typo."
  89. OreHint.TextColor3 = Color3.new(1, 1, 1)
  90. OreHint.TextScaled = true
  91. OreHint.TextSize = 22
  92. OreHint.TextWrapped = true
  93. OreHintClose.Name = "OreHintClose"
  94. OreHintClose.Parent = OreHint
  95. OreHintClose.BackgroundColor3 = Color3.new(1, 0, 0)
  96. OreHintClose.BackgroundTransparency = 0.5
  97. OreHintClose.BorderSizePixel = 0
  98. OreHintClose.Position = UDim2.new(0, 280, 0, 0)
  99. OreHintClose.Size = UDim2.new(0, 20, 0, 20)
  100. OreHintClose.Font = Enum.Font.SciFi
  101. OreHintClose.FontSize = Enum.FontSize.Size18
  102. OreHintClose.Text = "X"
  103. OreHintClose.TextColor3 = Color3.new(1, 1, 1)
  104. OreHintClose.TextSize = 18
  105. GlossEffect.Name = "GlossEffect"
  106. GlossEffect.Parent = OreHintClose
  107. GlossEffect.BackgroundTransparency = 1
  108. GlossEffect.Size = UDim2.new(1, 0, 0.5, 0)
  109. GlossEffect.ZIndex = 2
  110. GlossEffect.Image = "rbxasset://textures/BWGradient.png"
  111. GlossEffect.ImageTransparency = 0.5
  112. OreNames.Name = "OreNames"
  113. OreNames.Parent = MainFrame
  114. OreNames.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  115. OreNames.BackgroundTransparency = 0.40000000596046
  116. OreNames.BorderSizePixel = 0
  117. OreNames.Position = UDim2.new(-1, 0, 0.200000003, 0)
  118. OreNames.Size = UDim2.new(1, 0, 0.800000012, 0)
  119. OreNames.Font = Enum.Font.Code
  120. OreNames.FontSize = Enum.FontSize.Size24
  121. 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 "
  122. OreNames.TextColor3 = Color3.new(1, 1, 1)
  123. OreNames.TextScaled = true
  124. OreNames.TextSize = 22
  125. OreNames.TextWrapped = true
  126. OreNamesClose.Name = "OreNamesClose"
  127. OreNamesClose.Parent = OreNames
  128. OreNamesClose.BackgroundColor3 = Color3.new(1, 0, 0)
  129. OreNamesClose.BackgroundTransparency = 0.5
  130. OreNamesClose.BorderSizePixel = 0
  131. OreNamesClose.Position = UDim2.new(0, 280, 0, 0)
  132. OreNamesClose.Size = UDim2.new(0, 20, 0, 20)
  133. OreNamesClose.Font = Enum.Font.SciFi
  134. OreNamesClose.FontSize = Enum.FontSize.Size18
  135. OreNamesClose.Text = "X"
  136. OreNamesClose.TextColor3 = Color3.new(1, 1, 1)
  137. OreNamesClose.TextSize = 18
  138. GlossEffect_2.Name = "GlossEffect"
  139. GlossEffect_2.Parent = OreNamesClose
  140. GlossEffect_2.BackgroundTransparency = 1
  141. GlossEffect_2.Size = UDim2.new(1, 0, 0.5, 0)
  142. GlossEffect_2.ZIndex = 2
  143. GlossEffect_2.Image = "rbxasset://textures/BWGradient.png"
  144. GlossEffect_2.ImageTransparency = 0.5
  145. CloseButton.Name = "CloseButton"
  146. CloseButton.Parent = TopBar
  147. CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
  148. CloseButton.BackgroundTransparency = 0.5
  149. CloseButton.BorderSizePixel = 0
  150. CloseButton.Position = UDim2.new(0, 280, 0, 0)
  151. CloseButton.Size = UDim2.new(0, 20, 0, 20)
  152. CloseButton.Font = Enum.Font.SciFi
  153. CloseButton.FontSize = Enum.FontSize.Size18
  154. CloseButton.Text = "X"
  155. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  156. CloseButton.TextSize = 18
  157. GlossEffect_3.Name = "GlossEffect"
  158. GlossEffect_3.Parent = CloseButton
  159. GlossEffect_3.BackgroundTransparency = 1
  160. GlossEffect_3.Size = UDim2.new(1, 0, 0.5, 0)
  161. GlossEffect_3.ZIndex = 2
  162. GlossEffect_3.Image = "rbxasset://textures/BWGradient.png"
  163. GlossEffect_3.ImageTransparency = 0.5
  164. BrightnessToggle.Name = "BrightnessToggle"
  165. BrightnessToggle.Parent = MainFrame
  166. BrightnessToggle.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  167. BrightnessToggle.BackgroundTransparency = 0.89999997615814
  168. BrightnessToggle.Position = UDim2.new(0, 0, 0.200000003, 0)
  169. BrightnessToggle.Size = UDim2.new(1, 0, 0.200000003, 0)
  170. BrightnessToggle.Font = Enum.Font.Code
  171. BrightnessToggle.FontSize = Enum.FontSize.Size24
  172. BrightnessToggle.Text = "Brightness: Off"
  173. BrightnessToggle.TextColor3 = Color3.new(1, 1, 1)
  174. BrightnessToggle.TextSize = 22
  175. BrightnessVal.Name = "BrightnessVal"
  176. BrightnessVal.Parent = BrightnessToggle
  177.  
  178.  
  179.  
  180. TPToOre.MouseButton1Down:connect(function()
  181. for _,v in pairs(game.Workspace.Mine:GetChildren()) do
  182. if string.match(v.Name, Ore.Text) then
  183. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  184. end
  185. end
  186. end)
  187. XRayToggle.MouseButton1Down:connect(function()
  188. XRayToggle.MouseButton1Down:connect(function()
  189. if XRayToggle.Text == "X-Ray: Off" then
  190. local model = game.Workspace.Mine
  191. local children = model:GetChildren()
  192. for i =1, #children do
  193. if children[i] ~= nil then
  194. if children[i].Name == "Stone" then
  195. children[i].Transparency = 0.8
  196. end
  197. end
  198. end
  199. XRayToggle.Text = "X-Ray: On" else
  200. local model = game.Workspace.Mine
  201. local children = model:GetChildren()
  202. for i =1, #children do
  203. if children[i] ~= nil then
  204. if children[i].Name == "Stone" then
  205. children[i].Transparency = 0
  206. XRayToggle.Text = "X-Ray: Off"
  207. end
  208. end
  209. end
  210. end
  211. end)
  212. end)
  213. OreHintClose.MouseButton1Down:connect(function()
  214. OreHint:remove()
  215. OreHintClose:remove()
  216. end)
  217. OreNamesClose.MouseButton1Down:connect(function()
  218. OreNames:remove()
  219. OreNamesClose:remove()
  220. end)
  221. CloseButton.MouseButton1Down:connect(function()
  222. LeviAzureMineGui:remove()
  223. end)
  224. BrightnessToggle.MouseButton1Down:connect(function()
  225. if BrightnessToggle.Text == "Brightness: Off" then
  226. local lit = Instance.new("PointLight")
  227. lit.Name = "HeadLit"
  228. lit.Brightness = 10000000
  229. lit.Range = 60
  230. lit.Parent = game.Players.LocalPlayer.Character.Head
  231. BrightnessToggle.Text = "Brightness: On" else
  232. game.Players.LocalPlayer.Character.Head.HeadLit:remove()
  233. BrightnessToggle.Text = "Brightness: Off"
  234. end
  235. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement