- -- made by rolevote
- local player = game:GetService("Players").LocalPlayer
- local xrayfarm = 0
- local autofarm = 0
- local autofarm2 = 0
- local autofarm3 = 0
- local autofarm4 = 0
- local autofarm5 = 0
- local autofarm6 = 0
- local autofarm7 = 0
- local autofarm8 = 0
- local autofarm9 = 0
- local autofarm10 = 0
- local AM = Instance.new("ScreenGui")
- local Open = Instance.new("ImageButton")
- local UICorner = Instance.new("UICorner")
- local main = Instance.new("ImageLabel")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local Yes = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local AFT = Instance.new("TextLabel")
- local Copper = Instance.new("ImageButton")
- local UICorner_3 = Instance.new("UICorner")
- local Coal = Instance.new("ImageButton")
- local UICorner_4 = Instance.new("UICorner")
- local Silver = Instance.new("ImageButton")
- local UICorner_5 = Instance.new("UICorner")
- local Iron = Instance.new("ImageButton")
- local UICorner_6 = Instance.new("UICorner")
- local No = Instance.new("TextButton")
- local UICorner_7 = Instance.new("UICorner")
- local xray = Instance.new("TextLabel")
- local Diamond = Instance.new("ImageButton")
- local UICorner_8 = Instance.new("UICorner")
- local Gold = Instance.new("ImageButton")
- local UICorner_9 = Instance.new("UICorner")
- local Sapphire = Instance.new("ImageButton")
- local UICorner_10 = Instance.new("UICorner")
- local Ruby = Instance.new("ImageButton")
- local UICorner_11 = Instance.new("UICorner")
- local Unobtainium = Instance.new("ImageButton")
- local UICorner_12 = Instance.new("UICorner")
- local Uranium = Instance.new("ImageButton")
- local UICorner_13 = Instance.new("UICorner")
- local Close = Instance.new("TextButton")
- local UpdateV = Instance.new("TextLabel")
- local rolevote = Instance.new("TextLabel")
- local title = Instance.new("TextLabel")
- local UICorner_14 = Instance.new("UICorner")
- --Properties:
- AM.Name = "AM"
- AM.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- AM.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- AM.ResetOnSpawn = false
- Open.Name = "Open"
- Open.Parent = AM
- Open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Open.BackgroundTransparency = 5.000
- Open.Position = UDim2.new(-0.000687002263, 0, 0.660167277, 0)
- Open.Size = UDim2.new(0, 53, 0, 51)
- Open.Image = "rbxassetid://819418799"
- Open.MouseButton1Down:Connect(function()
- main.Visible = true
- end)
- UICorner.Parent = Open
- main.Name = "main"
- main.Parent = AM
- main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- main.Position = UDim2.new(0.240287766, 0, 0.166982919, 0)
- main.Size = UDim2.new(0, 360, 0, 332)
- main.Image = "rbxassetid://313965528"
- main.Active = true
- main.Draggable = true
- main.Visible = false
- ScrollingFrame.Parent = main
- ScrollingFrame.Active = true
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ScrollingFrame.Position = UDim2.new(0.036111109, 0, 0.192771092, 0)
- ScrollingFrame.Size = UDim2.new(0, 333, 0, 268)
- ScrollingFrame.CanvasSize = UDim2.new(0, 0, 6, 0)
- Yes.Name = "Yes"
- Yes.Parent = ScrollingFrame
- Yes.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Yes.Position = UDim2.new(0.00573068485, 0, 0.0326458886, 0)
- Yes.Size = UDim2.new(0, 157, 0, 50)
- Yes.Font = Enum.Font.Arcade
- Yes.Text = "On"
- Yes.TextColor3 = Color3.fromRGB(255, 255, 255)
- Yes.TextSize = 18.000
- Yes.MouseButton1Down:Connect(function()
- xrayfarm = 1
- while wait(1) do
- if xrayfarm == 1 then
- for i,v in pairs(workspace.Mine:GetChildren()) do
- if v.Name == "Stone" then
- v.Transparency = 0.9
- end
- end
- end
- end
- end)
- UICorner_2.Parent = Yes
- AFT.Name = "AFT"
- AFT.Parent = ScrollingFrame
- AFT.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- AFT.BackgroundTransparency = 5.000
- AFT.Position = UDim2.new(0.342267275, 0, 0.0898594633, 0)
- AFT.Size = UDim2.new(0, 43, 0, 35)
- AFT.Font = Enum.Font.Arcade
- AFT.Text = "Auto Farm Tools"
- AFT.TextColor3 = Color3.fromRGB(0, 0, 0)
- AFT.TextSize = 30.000
- Copper.Name = "Copper"
- Copper.Parent = ScrollingFrame
- Copper.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Copper.Position = UDim2.new(0.0240240246, 0, 0.105421662, 0)
- Copper.Size = UDim2.new(0, 100, 0, 100)
- Copper.Image = "rbxassetid://5994414304"
- Copper.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994414304"
- tool.Name = "Copper"
- tool.Activated:Connect(function()
- autofarm = 1
- while wait(0.1) do
- if autofarm == 1 then
- local v = workspace.Mine:FindFirstChild("Copper")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_3.Parent = Copper
- Coal.Name = "Coal"
- Coal.Parent = ScrollingFrame
- Coal.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Coal.Position = UDim2.new(0.0240240246, 0, 0.156124443, 0)
- Coal.Size = UDim2.new(0, 100, 0, 100)
- Coal.Image = "rbxassetid://5994412941"
- Coal.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994412941"
- tool.Name = "Coal"
- tool.Activated:Connect(function()
- autofarm2 = 1
- while wait(0.1) do
- if autofarm2 == 1 then
- local v = workspace.Mine:FindFirstChild("Coal")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm2 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_4.Parent = Coal
- Silver.Name = "Silver"
- Silver.Parent = ScrollingFrame
- Silver.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Silver.Position = UDim2.new(0.0240240246, 0, 0.206325248, 0)
- Silver.Size = UDim2.new(0, 100, 0, 100)
- Silver.Image = "rbxassetid://5994438430"
- Silver.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994438430"
- tool.Name = "Silver"
- tool.Activated:Connect(function()
- autofarm3 = 1
- while wait(0.1) do
- if autofarm3 == 1 then
- local v = workspace.Mine:FindFirstChild("Silver")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm3 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_5.Parent = Silver
- Iron.Name = "Iron"
- Iron.Parent = ScrollingFrame
- Iron.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Iron.Position = UDim2.new(0.0240240246, 0, 0.256526053, 0)
- Iron.Size = UDim2.new(0, 100, 0, 100)
- Iron.Image = "rbxassetid://5994423607"
- Iron.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994423607"
- tool.Name = "Iron"
- tool.Activated:Connect(function()
- autofarm4 = 1
- while wait(0.1) do
- if autofarm4 == 1 then
- local v = workspace.Mine:FindFirstChild("Iron")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm4 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_6.Parent = Iron
- No.Name = "No"
- No.Parent = ScrollingFrame
- No.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- No.Position = UDim2.new(0.477202147, 0, 0.0326458886, 0)
- No.Size = UDim2.new(0, 157, 0, 50)
- No.Font = Enum.Font.Arcade
- No.Text = "Off"
- No.TextColor3 = Color3.fromRGB(255, 255, 255)
- No.TextSize = 18.000
- No.MouseButton1Down:Connect(function()
- xrayfarm = 0
- wait(0.1)
- for i,v in pairs(workspace.Mine:GetChildren()) do
- if v.Name == "Stone" then
- v.Transparency = 0
- end
- end
- end)
- UICorner_7.Parent = No
- xray.Name = "xray"
- xray.Parent = ScrollingFrame
- xray.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- xray.BackgroundTransparency = 5.000
- xray.Position = UDim2.new(0.0509759933, 0, -0.00100400299, 0)
- xray.Size = UDim2.new(0, 43, 0, 35)
- xray.Font = Enum.Font.Arcade
- xray.Text = "X-Ray"
- xray.TextColor3 = Color3.fromRGB(0, 0, 0)
- xray.TextSize = 20.000
- Diamond.Name = "Diamond"
- Diamond.Parent = ScrollingFrame
- Diamond.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Diamond.Position = UDim2.new(0.0240240246, 0, 0.306224912, 0)
- Diamond.Size = UDim2.new(0, 100, 0, 100)
- Diamond.Image = "rbxassetid://5994415998"
- Diamond.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994415998"
- tool.Name = "Diamond"
- tool.Activated:Connect(function()
- autofarm5 = 1
- while wait(0.1) do
- if autofarm5 == 1 then
- local v = workspace.Mine:FindFirstChild("Diamond")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm5 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_8.Parent = Diamond
- Gold.Name = "Gold"
- Gold.Parent = ScrollingFrame
- Gold.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Gold.Position = UDim2.new(0.0240240246, 0, 0.356927723, 0)
- Gold.Size = UDim2.new(0, 100, 0, 100)
- Gold.Image = "rbxassetid://5994421450"
- Gold.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994421450"
- tool.Name = "Gold"
- tool.Activated:Connect(function()
- autofarm6 = 1
- while wait(0.1) do
- if autofarm6 == 1 then
- local v = workspace.Mine:FindFirstChild("Gold")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm6 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_9.Parent = Gold
- Sapphire.Name = "Sapphire"
- Sapphire.Parent = ScrollingFrame
- Sapphire.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Sapphire.Position = UDim2.new(0.0240240227, 0, 0.407128572, 0)
- Sapphire.Size = UDim2.new(0, 100, 0, 100)
- Sapphire.Image = "rbxassetid://5994434769"
- Sapphire.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994434769"
- tool.Name = "Sapphire"
- tool.Activated:Connect(function()
- autofarm7 = 1
- while wait(0.1) do
- if autofarm7 == 1 then
- local v = workspace.Mine:FindFirstChild("Sapphire")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm7 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_10.Parent = Sapphire
- Ruby.Name = "Ruby"
- Ruby.Parent = ScrollingFrame
- Ruby.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Ruby.Position = UDim2.new(0.0240240358, 0, 0.455823272, 0)
- Ruby.Size = UDim2.new(0, 100, 0, 100)
- Ruby.Image = "rbxassetid://6385617838"
- Ruby.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://6385617838"
- tool.Name = "Ruby"
- tool.Activated:Connect(function()
- autofarm8 = 1
- while wait(0.1) do
- if autofarm8 == 1 then
- local v = workspace.Mine:FindFirstChild("Ruby")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm8 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_11.Parent = Ruby
- Unobtainium.Name = "Unobtainium"
- Unobtainium.Parent = ScrollingFrame
- Unobtainium.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Unobtainium.Position = UDim2.new(0.0240240358, 0, 0.505522072, 0)
- Unobtainium.Size = UDim2.new(0, 100, 0, 100)
- Unobtainium.Image = "rbxassetid://5994443311"
- Unobtainium.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://5994443311"
- tool.Name = "Unobtainium"
- tool.Activated:Connect(function()
- autofarm9 = 1
- while wait(0.1) do
- if autofarm9 == 1 then
- local v = workspace.Mine:FindFirstChild("Unobtainium")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm9 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_12.Parent = Unobtainium
- Uranium.Name = "Uranium"
- Uranium.Parent = ScrollingFrame
- Uranium.BackgroundColor3 = Color3.fromRGB(138, 138, 138)
- Uranium.Position = UDim2.new(0.0240240358, 0, 0.555722892, 0)
- Uranium.Size = UDim2.new(0, 100, 0, 100)
- Uranium.Image = "rbxassetid://430794342"
- Uranium.MouseButton1Down:Connect(function()
- local tool = Instance.new("Tool", player.Backpack)
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.TextureId = "rbxassetid://430794342"
- tool.Name = "Uranium"
- tool.Activated:Connect(function()
- autofarm10 = 1
- while wait(0.1) do
- if autofarm10 == 1 then
- local v = workspace.Mine:FindFirstChild("Uranium")
- player.Character.Torso.Anchored = false
- player.Character.HumanoidRootPart.CFrame = v.CFrame
- wait(0)
- player.Character.Torso.Anchored = true
- end
- end
- end)
- player.Character.Humanoid.Died:Connect(function()
- autofarm10 = 0
- tool:Destroy()
- player.Character.Torso.Anchored = false
- end)
- end)
- UICorner_13.Parent = Uranium
- Close.Name = "Close"
- Close.Parent = main
- Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Close.BackgroundTransparency = 5.000
- Close.Position = UDim2.new(0.839050114, 0, -0.0294117648, 0)
- Close.Size = UDim2.new(0, 71, 0, 50)
- Close.Font = Enum.Font.Arcade
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(0, 0, 0)
- Close.TextSize = 20.000
- Close.MouseButton1Down:Connect(function()
- main.Visible = false
- end)
- UpdateV.Name = "UpdateV"
- UpdateV.Parent = main
- UpdateV.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- UpdateV.BackgroundTransparency = 5.000
- UpdateV.Position = UDim2.new(0.76111114, 0, 0, 0)
- UpdateV.Size = UDim2.new(0, 43, 0, 35)
- UpdateV.Font = Enum.Font.Arcade
- UpdateV.Text = "v2"
- UpdateV.TextColor3 = Color3.fromRGB(0, 0, 0)
- UpdateV.TextSize = 30.000
- rolevote.Name = "rolevote"
- rolevote.Parent = main
- rolevote.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- rolevote.BackgroundTransparency = 5.000
- rolevote.Position = UDim2.new(0.408333331, 0, 0.0873493999, 0)
- rolevote.Size = UDim2.new(0, 43, 0, 35)
- rolevote.Font = Enum.Font.Arcade
- rolevote.Text = "Made by rolevote"
- rolevote.TextColor3 = Color3.fromRGB(0, 0, 0)
- rolevote.TextSize = 20.000
- title.Name = "title"
- title.Parent = main
- title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- title.BackgroundTransparency = 5.000
- title.Position = UDim2.new(0.408333331, 0, 0, 0)
- title.Size = UDim2.new(0, 43, 0, 35)
- title.Font = Enum.Font.Arcade
- title.Text = "Azure Mines"
- title.TextColor3 = Color3.fromRGB(0, 0, 0)
- title.TextSize = 30.000
- UICorner_14.Parent = main