Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local LeviAzureMineGui = Instance.new("ScreenGui")
- local TopBar = Instance.new("TextLabel")
- local ImageLabel = Instance.new("ImageLabel")
- local MainFrame = Instance.new("Frame")
- local XRayToggle = Instance.new("TextButton")
- local TPToOre = Instance.new("TextButton")
- local Ore = Instance.new("TextBox")
- local OreHint = Instance.new("TextLabel")
- local OreHintClose = Instance.new("TextButton")
- local GlossEffect = Instance.new("ImageLabel")
- local OreNames = Instance.new("TextLabel")
- local OreNamesClose = Instance.new("TextButton")
- local GlossEffect_2 = Instance.new("ImageLabel")
- local CloseButton = Instance.new("TextButton")
- local GlossEffect_3 = Instance.new("ImageLabel")
- local BrightnessToggle = Instance.new("TextButton")
- local BrightnessVal = Instance.new("BoolValue")
- LeviAzureMineGui.Name = "LeviAzureMineGui"
- LeviAzureMineGui.Parent = game.Players.LocalPlayer.PlayerGui
- TopBar.Name = "TopBar"
- TopBar.Parent = LeviAzureMineGui
- TopBar.Active = true
- TopBar.BackgroundColor3 = Color3.new(1, 0, 0)
- TopBar.BackgroundTransparency = 0.5
- TopBar.BorderSizePixel = 0
- TopBar.Draggable = true
- TopBar.Position = UDim2.new(0.5, -150, 0.5, -150)
- TopBar.Size = UDim2.new(0, 280, 0, 20)
- TopBar.Font = Enum.Font.Code
- TopBar.FontSize = Enum.FontSize.Size18
- TopBar.Text = "Levi's Azure Mines GUI v2"
- TopBar.TextColor3 = Color3.new(1, 1, 1)
- TopBar.TextSize = 18
- ImageLabel.Parent = TopBar
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Size = UDim2.new(1, 0, 0.5, 0)
- ImageLabel.ZIndex = 2
- ImageLabel.Image = "rbxasset://textures/BWGradient.png"
- ImageLabel.ImageTransparency = 0.5
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = TopBar
- MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MainFrame.BackgroundTransparency = 0.30000001192093
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0, 0, 0, 20)
- MainFrame.Size = UDim2.new(0, 300, 0, 150)
- XRayToggle.Name = "XRayToggle"
- XRayToggle.Parent = MainFrame
- XRayToggle.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- XRayToggle.BackgroundTransparency = 0.89999997615814
- XRayToggle.Size = UDim2.new(1, 0, 0.200000003, 0)
- XRayToggle.Font = Enum.Font.Code
- XRayToggle.FontSize = Enum.FontSize.Size24
- XRayToggle.Text = "X-Ray: Off"
- XRayToggle.TextColor3 = Color3.new(1, 1, 1)
- XRayToggle.TextSize = 22
- TPToOre.Name = "TPToOre"
- TPToOre.Parent = MainFrame
- TPToOre.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TPToOre.BackgroundTransparency = 0.89999997615814
- TPToOre.Position = UDim2.new(0, 0, 0.800000012, 0)
- TPToOre.Size = UDim2.new(1, 0, 0.200000003, 0)
- TPToOre.Font = Enum.Font.Code
- TPToOre.FontSize = Enum.FontSize.Size24
- TPToOre.Text = "Teleport to ore!"
- TPToOre.TextColor3 = Color3.new(1, 1, 1)
- TPToOre.TextSize = 22
- Ore.Name = "Ore"
- Ore.Parent = MainFrame
- Ore.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- Ore.BackgroundTransparency = 0.89999997615814
- Ore.Position = UDim2.new(0, 0, 0.600000024, 0)
- Ore.Size = UDim2.new(1, 0, 0.200000003, 0)
- Ore.Font = Enum.Font.Code
- Ore.FontSize = Enum.FontSize.Size24
- Ore.Text = "Rainbonite"
- Ore.TextColor3 = Color3.new(1, 1, 1)
- Ore.TextSize = 22
- OreHint.Name = "OreHint"
- OreHint.Parent = MainFrame
- OreHint.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- OreHint.BackgroundTransparency = 0.40000000596046
- OreHint.BorderSizePixel = 0
- OreHint.Position = UDim2.new(1, 0, 0.200000003, 0)
- OreHint.Size = UDim2.new(1, 0, 0.800000012, 0)
- OreHint.Font = Enum.Font.Code
- OreHint.FontSize = Enum.FontSize.Size24
- OreHint.Text = "If you dont get teleported, the ore doesn't exist or you did a typo."
- OreHint.TextColor3 = Color3.new(1, 1, 1)
- OreHint.TextScaled = true
- OreHint.TextSize = 22
- OreHint.TextWrapped = true
- OreHintClose.Name = "OreHintClose"
- OreHintClose.Parent = OreHint
- OreHintClose.BackgroundColor3 = Color3.new(1, 0, 0)
- OreHintClose.BackgroundTransparency = 0.5
- OreHintClose.BorderSizePixel = 0
- OreHintClose.Position = UDim2.new(0, 280, 0, 0)
- OreHintClose.Size = UDim2.new(0, 20, 0, 20)
- OreHintClose.Font = Enum.Font.SciFi
- OreHintClose.FontSize = Enum.FontSize.Size18
- OreHintClose.Text = "X"
- OreHintClose.TextColor3 = Color3.new(1, 1, 1)
- OreHintClose.TextSize = 18
- GlossEffect.Name = "GlossEffect"
- GlossEffect.Parent = OreHintClose
- GlossEffect.BackgroundTransparency = 1
- GlossEffect.Size = UDim2.new(1, 0, 0.5, 0)
- GlossEffect.ZIndex = 2
- GlossEffect.Image = "rbxasset://textures/BWGradient.png"
- GlossEffect.ImageTransparency = 0.5
- OreNames.Name = "OreNames"
- OreNames.Parent = MainFrame
- OreNames.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- OreNames.BackgroundTransparency = 0.40000000596046
- OreNames.BorderSizePixel = 0
- OreNames.Position = UDim2.new(-1, 0, 0.200000003, 0)
- OreNames.Size = UDim2.new(1, 0, 0.800000012, 0)
- OreNames.Font = Enum.Font.Code
- OreNames.FontSize = Enum.FontSize.Size24
- 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 "
- OreNames.TextColor3 = Color3.new(1, 1, 1)
- OreNames.TextScaled = true
- OreNames.TextSize = 22
- OreNames.TextWrapped = true
- OreNamesClose.Name = "OreNamesClose"
- OreNamesClose.Parent = OreNames
- OreNamesClose.BackgroundColor3 = Color3.new(1, 0, 0)
- OreNamesClose.BackgroundTransparency = 0.5
- OreNamesClose.BorderSizePixel = 0
- OreNamesClose.Position = UDim2.new(0, 280, 0, 0)
- OreNamesClose.Size = UDim2.new(0, 20, 0, 20)
- OreNamesClose.Font = Enum.Font.SciFi
- OreNamesClose.FontSize = Enum.FontSize.Size18
- OreNamesClose.Text = "X"
- OreNamesClose.TextColor3 = Color3.new(1, 1, 1)
- OreNamesClose.TextSize = 18
- GlossEffect_2.Name = "GlossEffect"
- GlossEffect_2.Parent = OreNamesClose
- GlossEffect_2.BackgroundTransparency = 1
- GlossEffect_2.Size = UDim2.new(1, 0, 0.5, 0)
- GlossEffect_2.ZIndex = 2
- GlossEffect_2.Image = "rbxasset://textures/BWGradient.png"
- GlossEffect_2.ImageTransparency = 0.5
- CloseButton.Name = "CloseButton"
- CloseButton.Parent = TopBar
- CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
- CloseButton.BackgroundTransparency = 0.5
- CloseButton.BorderSizePixel = 0
- CloseButton.Position = UDim2.new(0, 280, 0, 0)
- CloseButton.Size = UDim2.new(0, 20, 0, 20)
- CloseButton.Font = Enum.Font.SciFi
- CloseButton.FontSize = Enum.FontSize.Size18
- CloseButton.Text = "X"
- CloseButton.TextColor3 = Color3.new(1, 1, 1)
- CloseButton.TextSize = 18
- GlossEffect_3.Name = "GlossEffect"
- GlossEffect_3.Parent = CloseButton
- GlossEffect_3.BackgroundTransparency = 1
- GlossEffect_3.Size = UDim2.new(1, 0, 0.5, 0)
- GlossEffect_3.ZIndex = 2
- GlossEffect_3.Image = "rbxasset://textures/BWGradient.png"
- GlossEffect_3.ImageTransparency = 0.5
- BrightnessToggle.Name = "BrightnessToggle"
- BrightnessToggle.Parent = MainFrame
- BrightnessToggle.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- BrightnessToggle.BackgroundTransparency = 0.89999997615814
- BrightnessToggle.Position = UDim2.new(0, 0, 0.200000003, 0)
- BrightnessToggle.Size = UDim2.new(1, 0, 0.200000003, 0)
- BrightnessToggle.Font = Enum.Font.Code
- BrightnessToggle.FontSize = Enum.FontSize.Size24
- BrightnessToggle.Text = "Brightness: Off"
- BrightnessToggle.TextColor3 = Color3.new(1, 1, 1)
- BrightnessToggle.TextSize = 22
- BrightnessVal.Name = "BrightnessVal"
- BrightnessVal.Parent = BrightnessToggle
- TPToOre.MouseButton1Down:connect(function()
- for _,v in pairs(game.Workspace.Mine:GetChildren()) do
- if string.match(v.Name, Ore.Text) then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
- end
- end
- end)
- XRayToggle.MouseButton1Down:connect(function()
- XRayToggle.MouseButton1Down:connect(function()
- if XRayToggle.Text == "X-Ray: Off" then
- local model = game.Workspace.Mine
- local children = model:GetChildren()
- for i =1, #children do
- if children[i] ~= nil then
- if children[i].Name == "Stone" then
- children[i].Transparency = 0.8
- end
- end
- end
- XRayToggle.Text = "X-Ray: On" else
- local model = game.Workspace.Mine
- local children = model:GetChildren()
- for i =1, #children do
- if children[i] ~= nil then
- if children[i].Name == "Stone" then
- children[i].Transparency = 0
- XRayToggle.Text = "X-Ray: Off"
- end
- end
- end
- end
- end)
- end)
- OreHintClose.MouseButton1Down:connect(function()
- OreHint:remove()
- OreHintClose:remove()
- end)
- OreNamesClose.MouseButton1Down:connect(function()
- OreNames:remove()
- OreNamesClose:remove()
- end)
- CloseButton.MouseButton1Down:connect(function()
- LeviAzureMineGui:remove()
- end)
- BrightnessToggle.MouseButton1Down:connect(function()
- if BrightnessToggle.Text == "Brightness: Off" then
- local lit = Instance.new("PointLight")
- lit.Name = "HeadLit"
- lit.Brightness = 10000000
- lit.Range = 60
- lit.Parent = game.Players.LocalPlayer.Character.Head
- BrightnessToggle.Text = "Brightness: On" else
- game.Players.LocalPlayer.Character.Head.HeadLit:remove()
- BrightnessToggle.Text = "Brightness: Off"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement