Open Source Script
Key Required

Open Source Script

Minen ⛏️CatBoyCatBoy 3.8K views 7 executesUpdated Jun 14, 2025
5.0/ 5(6 votes)
60100% Positive
Lua Script•725 lines (20831 chars)
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- most unoptimized code sowwy i dont make these kind of scripts :heart_broken: 
if not game:IsLoaded() then
    game.Loaded:Wait()
end

local virutal_input_manager = game:GetService("VirtualInputManager")
local marketplace_service = game:GetService("MarketplaceService")
local replicated_storage = game:GetService("ReplicatedStorage")
local user_input_service = game:GetService("UserInputService")
local teleport_service = game:GetService("TeleportService")
local virtual_user = game:GetService("VirtualUser")
local gui_serivce = game:GetService("GuiService")
local run_service = game:GetService("RunService")
local workspace = game:GetService("Workspace")
local players = game:GetService("Players")
local stats = game:GetService("Stats")

local info = marketplace_service:GetProductInfo(game.PlaceId)
local get_gc = getconnections or get_signal_cons
local local_player = players.LocalPlayer

local library_folder = replicated_storage:FindFirstChild("Library")

if not library_folder then
    return local_player:Kick("Library folder not found!")
end

local config_folder = library_folder:FindFirstChild("Configs")

if not config_folder then
    return local_player:Kick("Configs folder not found!")
end

local pickaxe_module = require(config_folder:FindFirstChild("Pickaxes"))

if not pickaxe_module then
    return local_player:Kick("Pickaxes module not found!")
end

local backpack_module = require(config_folder:FindFirstChild("Backpacks"))

if not backpack_module then
    return local_player:Kick("Backpacks module not found!")
end

local drill_module = require(config_folder:FindFirstChild("Drills"))

if not drill_module then
    return local_player:Kick("Drills module not found!")
end

local item_module = require(config_folder:FindFirstChild("Items"))

if not item_module then
    return local_player:Kick("Items module not found!")
end

local farm_enable = false
local anti_staff = false
local auto_holes = false -- holes :tounge:
local auto_shake = false
local auto_reel = false -- idk what to call it LMAO
local auto_mine = false
local auto_sell = false
local tp_walk = false

local staff_warn_method = "Notify"
local selected_trade_player = ""
local selected_backpack = ""
local selected_pickaxe = ""
local selected_player = ""
local selected_drill = ""
local selected_item = ""
local selected_shop = ""
local mine_method = ""

local tp_walk_speed = 5
local shake_delay = 0.5
local sell_delay = 1

local stored_players = {}
local backpacks = {}
local pickaxes = {}
local drills = {}
local items = {}

for v in pickaxe_module do
    table.insert(pickaxes, v)
end

for v in drill_module do
    table.insert(drills, v)
end

for v in backpack_module do
    table.insert(backpacks, v)
end

for v in item_module do
    table.insert(items, v)
end

local shake_connection = local_player.PlayerGui:FindFirstChild("Debris").ChildAdded:Connect(function(v)
    if auto_shake and v:IsA("Frame") and v:FindFirstChildOfClass("TextButton") then
        task.wait(shake_delay)
        firesignal(v:FindFirstChildOfClass("TextButton").MouseButton1Click)
    end
end)

local reel_connection = local_player.PlayerGui:WaitForChild("Mining"):FindFirstChild("MiningBar"):GetPropertyChangedSignal("Visible"):Connect(function()
    if auto_reel and local_player.PlayerGui.Mining.MiningBar.Visible and local_player.PlayerGui.Mining.MiningBar:FindFirstChild("Bar"):FindFirstChild("Ore") then
        local_player.PlayerGui.Mining.MiningBar.Bar.Ore.Size = UDim2.new(1, 0, 1, 0)
    end
end)

local cast_connection = local_player.PlayerGui:WaitForChild("Mining"):GetPropertyChangedSignal("Enabled"):Connect(function()
    if farm_enable and auto_holes and not local_player.PlayerGui.Mining.Enabled then
        if not local_player.Character:FindFirstChildOfClass("Tool") then
            local_player.Character:FindFirstChild("Humanoid"):EquipTool(local_player.Backpack:FindFirstChildOfClass("Tool"))
            task.wait(1)
        end
        task.wait(3)
        replicated_storage:WaitForChild("Remotes"):WaitForChild("Functions"):WaitForChild("TryCastPile"):InvokeServer("Cast")
    end
end)

local speed_connection = run_service.Heartbeat:Connect(function()
    if tp_walk and local_player.Character then
        if local_player.Character.Humanoid.MoveDirection.Magnitude > 0 then
            local_player.Character:TranslateBy(local_player.Character.Humanoid.MoveDirection * tp_walk_speed / 10)
        end
    end
end)

user_input_service.JumpRequest:Connect(function()
    if inf_jump and not jumped then
        jumped = true
        local_player.Character.Humanoid:ChangeState("Jumping")
        wait()
        jumped = false
    end
end)

players.PlayerAdded:Connect(function(v)
    if anti_staff then
        local rank = v:GetRankInGroup(35302026)
        local role = v:GetRoleInGroup(35302026)
        if rank and rank > 2 and staff_warn_method == "Kick" then
            local_player:Kick("Skid detected! Username: "..v.DisplayName.." Rank: "..role)
        elseif rank and rank > 2 and staff_warn_method == "Notify" then
            library:Notify("Skid detected! Username: "..v.DisplayName.." Rank: "..role)
        end
    end
end)

function get_players()
    stored_players = {}
    for _, v in next, players:GetPlayers() do
        if v ~= local_player then
            table.insert(stored_players, v.Name)
        end
    end
    return stored_players
end

local repo = 'https://raw.githubusercontent.com/KINGHUB01/Gui/main/'

local library = loadstring(game:HttpGet(repo .. 'Gui%20Lib%20%5BLibrary%5D'))()
local theme_manager = loadstring(game:HttpGet(repo .. 'Gui%20Lib%20%5BThemeManager%5D'))()
local save_manager = loadstring(game:HttpGet(repo .. 'Gui%20Lib%20%5BSaveManager%5D'))()

local window = library:CreateWindow({
    Title = "Zylo Hub | Version: Private | Made By @kylosilly",
    Center = true,
    AutoShow = true,
    TabPadding = 8,
    MenuFadeTime = 0.35
})

local tabs = {
    main = window:AddTab("Main"),
    inventory = window:AddTab("Inventory"),
    misc = window:AddTab("Misc"),
    info = window:AddTab("Info"),
    ["ui settings"] = window:AddTab("UI Settings")
}

local farm_group = tabs.main:AddLeftGroupbox("Farm Settings")
local shop_group = tabs.main:AddRightGroupbox("Shop Settings")
local staff_group = tabs.main:AddRightGroupbox("Anti Staff Settings")
local sell_group = tabs.inventory:AddLeftGroupbox("Sell Settings")
local trade_group = tabs.inventory:AddRightGroupbox("Trade Settings")
local lplr_group = tabs.misc:AddRightGroupbox("Player Settings")
local server_group = tabs.misc:AddLeftGroupbox("Server Settings")
local player_group = tabs.info:AddLeftGroupbox("Player Settings")
local menu_group = tabs["ui settings"]:AddLeftGroupbox("Menu Settings")

farm_group:AddDivider()

farm_group:AddToggle('farm_enable', {
    Text = 'Auto Farm',
    Default = farm_enable,
    Tooltip = 'Main switch for auto farm',

    Callback = function(Value)
        farm_enable = Value
    end
})

local farm_settings = farm_group:AddDependencyBox()

farm_settings:AddDivider()

farm_settings:AddToggle('auto_holes', {
    Text = 'Auto Holes',
    Default = auto_holes,
    Tooltip = 'Auto digs holes',

    Callback = function(Value)
        auto_holes = Value
        if Value then
            if farm_enable and not local_player.PlayerGui:FindFirstChild("Mining").Enabled then
                if not local_player.Character:FindFirstChildOfClass("Tool") then
                    local_player.Character:FindFirstChild("Humanoid"):EquipTool(local_player.Backpack:FindFirstChildOfClass("Tool"))
                end
                replicated_storage:WaitForChild("Remotes"):WaitForChild("Functions"):WaitForChild("TryCastPile"):InvokeServer("Cast")
            end
        end
    end
})

farm_settings:AddToggle('auto_shake', {
    Text = 'Auto Shake',
    Default = auto_shake,
    Tooltip = 'Auto hits bullseye minigame',

    Callback = function(Value)
        auto_shake = Value
    end
})

local shake_settings = farm_settings:AddDependencyBox()

shake_settings:AddSlider('shake_delay', {
    Text = 'Auto Shake Delay:',
    Default = shake_delay,
    Min = 0,
    Max = 2,
    Rounding = 1,
    Compact = false,

    Callback = function(Value)
        shake_delay = Value
    end
})

shake_settings:SetupDependencies({
    { Toggles.auto_shake, true }
})

farm_settings:AddToggle('auto_reel', {
    Text = 'Auto Reel',
    Default = auto_reel,
    Tooltip = 'Auto reels bar after minigame',

    Callback = function(Value)
        auto_reel = Value
    end
})

farm_settings:SetupDependencies({
    { Toggles.farm_enable, true }
})

shop_group:AddDivider()

shop_group:AddDropdown('selected_shop', {
    Values = { 'Pickaxe', 'Items', 'Drill', 'Backpack' },
    Default = selected_shop,
    Multi = false,

    Text = 'Select a shop to buy from:',
    Tooltip = 'Shows selected shop option when choosen in dropdown',

    Callback = function(Value)
        selected_shop = Value
    end
})

local backpack_group = shop_group:AddDependencyBox()

backpack_group:AddDivider()

backpack_group:AddDropdown('selected_backpack', {
    Values = backpacks,
    Default = selected_backpack,
    Multi = false,

    Text = 'Select a backpack to buy:',
    Tooltip = 'Selects which backpack to buy when pressing button',

    Callback = function(Value)
        selected_backpack = Value
    end
})

backpack_group:AddButton({
    Text = 'Buy Backpack',
    Func = function()
        replicated_storage:WaitForChild("Remotes"):WaitForChild("Functions"):WaitForChild("BuyItem"):InvokeServer(selected_shop, selected_backpack, -1)
    end,
    DoubleClick = false,
    Tooltip = 'buys selected backpack from dropdown'
})

backpack_group:SetupDependencies({
    { Options.selected_shop, "Backpack" }
})

local pickaxe_group = shop_group:AddDependencyBox()

pickaxe_group:AddDivider()

pickaxe_group:AddDropdown('selected_pickaxe', {
    Values = pickaxes,
    Default = selected_pickaxe,
    Multi = false,

    Text = 'Select a pickaxe to buy:',
    Tooltip = 'Selects which pickaxe to buy when pressing button',

    Callback = function(Value)
        selected_pickaxe = Value
    end
})

pickaxe_group:AddButton({
    Text = 'Buy Pickaxe',
    Func = function()
        replicated_storage:WaitForChild("Remotes"):WaitForChild("Functions"):WaitForChild("BuyItem"):InvokeServer(selected_shop, selected_pickaxe, -1)
    end,
    DoubleClick = false,
    Tooltip = 'buys selected pickaxe from dropdown'
})

pickaxe_group:SetupDependencies({
    { Options.selected_shop, "Pickaxe" }
})

local drill_group = shop_group:AddDependencyBox()

drill_group:AddDivider()

drill_group:AddDropdown('selected_drill', {
    Values = drills,
    Default = selected_drill,
    Multi = false,

    Text = 'Select a drill to buy:',
    Tooltip = 'Selects which drill to buy when pressing button',

    Callback = function(Value)
        selected_drill = Value
    end
})

drill_group:AddButton({
    Text = 'Buy Drill',
    Func = function()
        replicated_storage:WaitForChild("Remotes"):WaitForChild("Functions"):WaitForChild("BuyItem"):InvokeServer(selected_shop, selected_drill, -1)
    end,
    DoubleClick = false,
    Tooltip = 'buys selected drill from dropdown'
})

drill_group:SetupDependencies({
    { Options.selected_shop, "Drill" }
})

local item_group = shop_group:AddDependencyBox()

item_group:AddDivider()

item_group:AddDropdown('selected_item', {
    Values = items,
    Default = selected_item,
    Multi = false,

    Text = 'Select an item to buy:',
    Tooltip = 'Selects which item to buy when pressing button',

    Callback = function(Value)
        selected_item = Value
    end
})

item_group:AddButton({
    Text = 'Buy Item',
    Func = function()
        replicated_storage:WaitForChild("Remotes"):WaitForChild("Functions"):WaitForChild("BuyItem"):InvokeServer(selected_shop, selected_item, -1)
    end,
    DoubleClick = false,
    Tooltip = 'Buys selected item from dropdown',
})

item_group:SetupDependencies({
    { Options.selected_shop, "Item" }
})

staff_group:AddDivider()

staff_group:AddToggle('anti_staff', {
    Text = 'Anti Staff',
    Default = anti_staff,
    Tooltip = 'Notifies/Kicks you when a staff joins',

    Callback = function(Value)
        anti_staff = Value
        if Value then
            for _, v in next, players:GetPlayers() do
                local rank = v:GetRankInGroup(35302026)
                local role = v:GetRoleInGroup(35302026)
                if rank > 2 and staff_warn_method == "Kick" then
                    local_player:Kick("Skid detected! Username: "..v.DisplayName.." Rank: "..role)
                elseif rank > 2 and staff_warn_method == "Notify" then
                    library:Notify("Skid detected! Username: "..v.DisplayName.." Rank: "..role)
                end
                break
            end
        end
    end
})

local anti_staff_settings = staff_group:AddDependencyBox()

anti_staff_settings:AddDropdown('staff_warn_method', {
    Values = { 'Kick', 'Notify' },
    Default = staff_warn_method,
    Multi = false,

    Text = 'Select Staff Warn Method:',
    Tooltip = 'Uses selected method to kick/warn you when staff joins',

    Callback = function(Value)
        staff_warn_method = Value
        if Value then
            for _, v in next, players:GetPlayers() do
                local rank = v:GetRankInGroup(35302026)
                local role = v:GetRoleInGroup(35302026)
                if rank and rank > 2 and staff_warn_method == "Kick" then
                    local_player:Kick("Staff detected! Username: "..v.DisplayName.." Rank: "..role)
                elseif rank and rank > 2 and staff_warn_method == "Notify" then
                    library:Notify("Staff detected! Username: "..v.DisplayName.." Rank: "..role)
                end
            end
        end
    end
})

anti_staff_settings:SetupDependencies({
    { Toggles.anti_staff, true }
})

sell_group:AddDivider()

sell_group:AddLabel("Removed till fixed", true)

--[[
sell_group:AddDivider()

sell_group:AddToggle('auto_sell', {
    Text = 'Auto Sell',
    Default = auto_sell,
    Tooltip = 'Auto sells inventory',

    Callback = function(Value)
        auto_sell = Value
        if Value then
            repeat
                replicated_storage:WaitForChild("Remotes"):WaitForChild("Events"):WaitForChild("DialogueProgress"):FireServer("Joe Gravel", "SellAll")
                task.wait(sell_delay)
            until not auto_sell
        end
    end
})

sell_group:AddSlider('sell_delay', {
    Text = 'Custom Sell Delay_',
    Default = sell_delay,
    Min = 0,
    Max = 60,
    Rounding = 0,
    Compact = false,

    Callback = function(Value)
        sell_delay = Value
        if Value < 1 then
            library:Notify("Under 1 is not recommended as it may cause lag")
        end
    end
})

sell_group:AddDivider()

sell_group:AddButton({
    Text = 'Sell All',
    Func = function()
        replicated_storage:WaitForChild("Remotes"):WaitForChild("Events"):WaitForChild("DialogueProgress"):FireServer("Joe Gravel", "SellAll")
        library:Notify("Sold everything")
    end,
    DoubleClick = false,
    Tooltip = 'Sells everything once'
})

sell_group:AddButton({
    Text = 'Sell Held Item',
    Func = function()
        if not local_player.Character:FindFirstChildOfClass("Tool") then
            return library:Notify("Not holding a tool")
        end
        replicated_storage:WaitForChild("Remotes"):WaitForChild("Events"):WaitForChild("DialogueProgress"):FireServer("Joe Gravel", "SellCheck")
        library:Notify("Sold Item")
    end,
    DoubleClick = false,
    Tooltip = 'Sells held item'
})
]]

trade_group:AddDivider()

local player_table = trade_group:AddDropdown('selected_trade_player', {
    Values = get_players(),
    Default = selected_trade_player,
    Multi = false,

    Text = 'Select Player:',
    Tooltip = 'Select a player to trade with',

    Callback = function(Value)
        selected_trade_player = Value
    end
})

trade_group:AddButton({
    Text = 'Trade Player',
    Func = function()
        local args = {
            {
                Attribute = "Trade",
                Parent = players[selected_trade_player].Character
            },
            "Default"
        }
        replicated_storage.Remotes.Events.Interact:FireServer(unpack(args))
        library:Notify("Sent trade to " .. selected_trade_player)
    end,
    DoubleClick = false,
    Tooltip = 'Trades with selected player'
})

server_group:AddDivider()

server_group:AddButton({
    Text = 'Rejoin',
    Func = function()
        teleport_service:TeleportToPlaceInstance(game.PlaceId, game.JobId)
    end,
    DoubleClick = false,
    Tooltip = 'Rejoins the server'
})

server_group:AddButton({
    Text = 'Copy Job Id',
    Func = function()
        setclipboard(game.JobId)
        library:Notify("Copied Job Id To Clipboard")
    end,
    DoubleClick = false,
    Tooltip = 'Copies job id to clipboard'
})

lplr_group:AddDivider()

lplr_group:AddToggle('tp_walk', {
    Text = 'Tp Walk',
    Default = tp_walk,
    Tooltip = 'Walks fast',

    Callback = function(Value)
        tp_walk = Value
    end
})

local tp_walk_settings = lplr_group:AddDependencyBox()

tp_walk_settings:AddSlider('tp_walk_speed', {
    Text = 'Tp Walk Speed:',
    Default = tp_walk_speed,
    Min = 1,
    Max = 50,
    Rounding = 0,
    Compact = false,

    Callback = function(Value)
        tp_walk_speed = Value
    end
})

tp_walk_settings:SetupDependencies({
    { Toggles.tp_walk, true }
})

lplr_group:AddDivider()

lplr_group:AddToggle('inf_jump', {
    Text = 'Inf Jump',
    Default = inf_jump,
    Tooltip = 'Lets you jump forever',

    Callback = function(Value)
        inf_jump = Value
    end
})

player_group:AddDivider()

local player_display_label = player_group:AddLabel("Display Name: ")
local player_name_label = player_group:AddLabel("Name: ")
local player_money_label = player_group:AddLabel("Money: ")
local player_level_label = player_group:AddLabel("Level: ")
local player_staff_label = player_group:AddLabel("Is Staff: ")

function update_player_info()
    for _, v in next, players:GetPlayers() do
        if v.Name == selected_player then
            local rank = v:GetRankInGroup(35302026)
            player_display_label:SetText("Display Name: "..v.DisplayName)
            player_name_label:SetText("Name: "..v.Name)
            player_money_label:SetText("Money: "..v.leaderstats.Money.Value)
            player_level_label:SetText("Level: "..v.leaderstats.Level.Value)
            if rank > 2 then
                player_staff_label:SetText("Is Staff: Yes")
            else
                player_staff_label:SetText("Is Staff: No")
            end
        end
    end
end

player_group:AddDivider()

local player_table = player_group:AddDropdown('selected_player', {
    Values = get_players(),
    Default = selected_player,
    Multi = false,

    Text = 'Select Player:',
    Tooltip = 'Select a player to check thier stats',

    Callback = function(Value)
        selected_player = Value
        if Value then
            update_player_info()
        end
    end
})

players.PlayerAdded:Connect(function()
    player_table:SetValues(get_players())
end)

players.PlayerRemoving:Connect(function()
    player_table:SetValues(get_players())
end)

local frame_timer = tick()
local frame_counter = 0;
local fps = 60;

local watermark_connection = run_service.RenderStepped:Connect(function()
    frame_counter += 1;

    if (tick() - frame_timer) >= 1 then
        fps = frame_counter;
        frame_timer = tick();
        frame_counter = 0;
    end;

    library:SetWatermark(('Zylo Hub | %s fps | %s ms | game: '..info.Name..''):format(
        math.floor(fps),
        math.floor(stats.Network.ServerStatsItem['Data Ping']:GetValue())
    ));
end);

menu_group:AddButton('Unload', function()
    farm_enable = false
    anti_staff = false
    auto_holes = false
    auto_shake = false
    auto_reel = false
    auto_mine = false
    auto_sell = false
    inf_jump = false
    tp_walk = false
    watermark_connection:Disconnect()
    speed_connection:Disconnect()
    shake_connection:Disconnect()
    reel_connection:Disconnect()
    library:Unload()
end)

menu_group:AddLabel('Menu bind'):AddKeyPicker('MenuKeybind', { Default = 'End', NoUI = true, Text = 'Menu keybind' })
library.ToggleKeybind = Options.MenuKeybind
theme_manager:SetLibrary(library)
save_manager:SetLibrary(library)
save_manager:IgnoreThemeSettings()
save_manager:SetIgnoreIndexes({ 'MenuKeybind' })
theme_manager:SetFolder('Zylo Hub')
save_manager:SetFolder('Zylo Hub/Minen')
save_manager:BuildConfigSection(tabs['ui settings'])
theme_manager:ApplyToTab(tabs['ui settings'])
save_manager:LoadAutoloadConfig()

Features & Information

(THIS WILL NEVER BE UPDATED AGAIN!) Features: Auto Cast Auto Dig Auto Reel Buy Anything For Free Anti Staff Rejoin Copy Job Id Tp Walk Inf Jump And more!

Community Comments (4)

loveveneziloveveneziJun 14, 2025

sad that the last script got patched in like 20 minutes, but ur a sigma for continuing this war against minen. good luck soldier

zxcvehezxcveheJun 18, 2025

There's a new fischlike game that are coming soon called "DIG". Could you also make a script once the game released?

CatBoyCatBoyJun 18, 2025

@zxcvehe yes

CatBoyCatBoyJun 18, 2025

just remind me when it releases

More Scripts for Minen ⛏️