Adopt me Auto Farm Candy
Adopt Me! Keyless
Adopt me Auto Farm Candy
👤 alexriderr 👁 16 views ❤️ 0 likes ⏱ Mar 29, 2026
You can run this script on the main island, and since it’s open-source and keyless, it’s also compatible with Xeno.
✨ Features
Auto farm Candy
📋 Script Code
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local lp = Players.LocalPlayer
local key = Enum.KeyCode.T
local toggle = false

local function enableAntiAFK()
    if getconnections then
        for _, connection in pairs(getconnections(lp.Idled)) do
            if connection["Disable"] then
                connection["Disable"](connection)
            elseif connection["Disconnect"] then
                connection["Disconnect"](connection)
            end
        end
    else
        lp.Idled:Connect(function()
            VirtualUser:CaptureController()
            VirtualUser:ClickButton2(Vector2.new())
        end)
    end
end

enableAntiAFK()

local screenGui = Instance.new("ScreenGui")
local toggleButton = Instance.new("TextButton")
local uiCorner = Instance.new("UICorner")

screenGui.Name = "CandyFarmGui"
screenGui.Parent = lp:WaitForChild("PlayerGui")
screenGui.ResetOnSpawn = false

toggleButton.Name = "ToggleButton"
toggleButton.Size = UDim2.new(0, 120, 0, 45)
toggleButton.Position = UDim2.new(0.05, 0, 0.4, 0)
toggleButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
toggleButton.BorderSizePixel = 0
toggleButton.Text = "Farm: OFF"
toggleButton.TextColor3 = Color3.fromRGB(255, 60, 60)
toggleButton.Font = Enum.Font.SourceSansBold
toggleButton.TextSize = 18
toggleButton.Parent = screenGui

uiCorner.CornerRadius = UDim.new(0, 8)
uiCorner.Parent = toggleButton

local function updateToggle()
    toggle = not toggle
    if toggle then
        toggleButton.Text = "Farm: ON"
        toggleButton.TextColor3 = Color3.fromRGB(60, 255, 60)
    else
        toggleButton.Text = "Farm: OFF"
        toggleButton.TextColor3 = Color3.fromRGB(255, 60, 60)
    end
end

UserInputService.InputBegan:Connect(function(input, gpe)
    if not gpe and input.KeyCode == key then
        updateToggle()
    end
end)

toggleButton.MouseButton1Click:Connect(updateToggle)

while task.wait() do
    if toggle then
        local char = lp.Character
        local hrp = char and char:FindFirstChild("HumanoidRootPart")
        
        if hrp then
            local children = workspace:GetChildren()
            local foundEgg = false
            
            for i = 1, #children do
                if not toggle then break end
                local v = children[i]
                if v.Name == "CandyEgg" then
                    local target = v:IsA("Model") and (v.PrimaryPart or v:FindFirstChildWhichIsA("BasePart")) or (v:IsA("BasePart") and v)
                    if target then
                        foundEgg = true
                        hrp.CFrame = target.CFrame
                        task.wait(0.2)
                    end
                end
            end
            
            if toggle and not foundEgg then
                hrp.CFrame = CFrame.new(-308, 26, -1600)
                task.wait(1)
            end
        end
    end
end
🎮 Similar Scripts
💬 Comments (0)
Login to post a comment
No comments yet. Be the first!
Script Info
Game Adopt Me!
TypeKeyless
Authoralexriderr
Views16
Likes0
PublishedMar 29, 2026
🎮 Play Game on Roblox
🕐 Recent Scripts
SZA Script Keyless – Auto Shoot
SZA Script Keyless – Auto Shoot
Survive Zombie Arena • 👁 2
Keyless
The SCP Elevator Script | Regen Coil, Fast Coil
The SCP Elevator Script | Regen Coil, Fast Coil
The SCP Elevator • 👁 3
Keyless
Cat Piece Script by Kaito Hub | Weapons and Combat Features
Cat Piece Script by Kaito Hub | Weapons and Combat Features
Cat Piece • 👁 14
Keyless
Forest Grind inf wood and money
Forest Grind inf wood and money
Forest Grind • 👁 11
Keyless
Valnce Hub Blade Ball Script
Valnce Hub Blade Ball Script
Blade Ball • 👁 10
Keyless