-- LOVE2D Auto-Fishing Script for Fisch (Windows-based)

-- Initialize variables
local autoFishing = false
local instantCatch = true
local instantBarFill = true
local autoSell = true
local desiredFish = {"Shark", "Golden Fish"} -- Fish list you want to catch
local fishCaught = 0
local inventoryLimit = 20

-- Love2D window settings
function love.load()
    love.window.setTitle("Ultimate Auto-Fishing GUI")
    love.window.setMode(400, 350, {resizable = false})

    -- Fonts for GUI
    font = love.graphics.newFont(14)
    buttonFont = love.graphics.newFont(18)
end

-- Draw GUI elements
function love.draw()
    -- Draw title
    love.graphics.setFont(font)
    love.graphics.setColor(1, 1, 1)
    love.graphics.print("Ultimate Auto-Fishing", 120, 10)

    -- Draw Start/Stop Button
    love.graphics.setFont(buttonFont)
    if autoFishing then
        love.graphics.setColor(1, 0, 0) -- Red for Stop
        love.graphics.print("Stop Auto-Fishing", 120, 50)
    else
        love.graphics.setColor(0, 1, 0) -- Green for Start
        love.graphics.print("Start Auto-Fishing", 120, 50)
    end

    -- Toggle Instant Catch Button
    love.graphics.setColor(1, 1, 1)
    love.graphics.print("Toggle Instant Catch: " .. (instantCatch and "ON" or "OFF"), 40, 100)

    -- Toggle Instant Bar Fill Button
    love.graphics.print("Toggle Instant Bar Fill: " .. (instantBarFill and "ON" or "OFF"), 40, 140)

    -- Toggle Auto-Sell Button
    love.graphics.print("Toggle Auto-Sell: " .. (autoSell and "ON" or "OFF"), 40, 180)

    -- Display Fish Caught Info
    love.graphics.print("Fish Caught: " .. fishCaught .. " / " .. inventoryLimit, 40, 220)

    -- Fish List Entry
    love.graphics.print("Fish to Catch (comma separated):", 40, 260)
    love.graphics.print(table.concat(desiredFish, ", "), 40, 280)
end

-- Handle mouse click events
function love.mousepressed(x, y, button, istouch, presses)
    -- Start/Stop Auto-Fishing
    if x >= 120 and x <= 280 and y >= 50 and y <= 90 then
        autoFishing = not autoFishing
    end

    -- Toggle Instant Catch
    if x >= 40 and x <= 360 and y >= 100 and y <= 120 then
        instantCatch = not instantCatch
    end

    -- Toggle Instant Bar Fill
    if x >= 40 and x <= 360 and y >= 140 and y <= 160 then
        instantBarFill = not instantBarFill
    end

    -- Toggle Auto-Sell
    if x >= 40 and x <= 360 and y >= 180 and y <= 200 then
        autoSell = not autoSell
    end
end

-- Auto-Fishing Logic
function love.update(dt)
    if autoFishing then
        castRod()
        catchFish()
        love.timer.sleep(0.5) -- Adjust interval for smoother fishing
    end
end

-- Cast the Fishing Rod (Simulated for Windows)
function castRod()
    print("Casting fishing rod...")
end

-- Catch Fish (Simulated for Windows)
function catchFish()
    -- Simulate catching fish
    if fishCaught < inventoryLimit then
        fishCaught = fishCaught + 1
        print("Caught a fish! Total caught: " .. fishCaught)
        if instantBarFill then
            print("Progress Bar Filled Instantly")
        end
    else
        if autoSell then
            sellFish()
        end
    end
end

-- Auto-Sell Fish when inventory is full
function sellFish()
    print("Selling fish... Inventory is full!")
    fishCaught = 0
end

-- User can change fish list from the console (for testing purposes)
function love.keypressed(key, scancode, isrepeat)
    if key == "return" then
        print("Enter fish names to catch (comma separated):")
        local input = io.read() -- Simulate user input
        desiredFish = {}
        for fish in string.gmatch(input, "([^,]+)") do
            table.insert(desiredFish, fish:match("^%s*(.-)%s*$")) -- Trim whitespace
        end
        print("Updated fish list: " .. table.concat(desiredFish, ", "))
    end
end

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: