local Library = loadstring(game:HttpGet("https://[Log in to view URL]"))()
local Window = Library.CreateLib("TappingLegendsX", "DarkTheme")

local AutoFarmTab = Window:NewTab("AutoFarm")
local AutoFarmSection = AutoFarmTab:NewSection("AutoFarm")

local autoClicking = false

AutoFarmSection:NewToggle("Toggle Auto Clicker(hard to toggle off)", "Turns the auto clicker on or off", function(state)
    autoClicking = state
    if autoClicking then
        startAutoClicker()
    else
        stopAutoClicker()
    end
end)

function startAutoClicker()
    spawn(function()
        while autoClicking do
            game:GetService("VirtualInputManager"):SendMouseButtonEvent(0, 0, 0, true, game, 1)
            game:GetService("VirtualInputManager"):SendMouseButtonEvent(0, 0, 0, false, game, 1)
            wait(0.00000000000000000000000000000000000000001) -- Super-fast clicking speed
        end
    end)
end

function stopAutoClicker()
    autoClicking = false
end


AutoFarmSection:NewToggle("Toggle Auto Rebirth", "Turns the auto rebirth on or off", function(state)
    autoRebirthing = state
    if autoRebirthing then
        startAutoRebirthing()
    else
        stopAutoRebirthing()
    end
end)

function startAutoRebirthing()
    spawn(function()
        while autoRebirthing do
            local args = {
                [1] = 10 -- Adjust this value if necessary
            }
            game:GetService("ReplicatedStorage").Remotes.Rebirth:FireServer(unpack(args))
            wait(0.1) -- Adjust the wait time as needed
        end
    end)
end

function stopAutoRebirthing()
    autoRebirthing = false
end


local EggFarmTab = Window:NewTab("AutoEgg")
local EggFarmSection = EggFarmTab:NewSection("AutoEgg")


EggFarmSection:NewToggle("Toggle Auto Egg", "Turns the auto egg on or off", function(state
autoEgg = state
    if autoEgg then
        startAutoEgg()
    else
        stopAutoEgg()
    end
end)

function startAutoEgg()
    spawn(function()
        while autoEgg do

local args = {
    [1] = "Basic Egg",
    [2] = 3
}

game:GetService("ReplicatedStorage").Remotes.BuyEgg:InvokeServer(unpack(args))
         end
    end)
end

function stopAutoEgg()
    autoEgg = false
end

Embed on website

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