跳转到内容
可用

Open source auto farm

CLclarkdevlinorg0 次浏览Universal2026年7月26日
分享
Open source auto farm

脚本代码

Lua
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")

local SpeedEvent = ReplicatedStorage.Modules.Shared.RemoteEventService.AddSpeedRemoteEvent
local EvoEvent = ReplicatedStorage.Modules.Shared.RemoteEventService.EvolutionRemoteEvent
local RebirthEvent = ReplicatedStorage.Modules.Shared.RemoteEventService.RebirthRemoteEvent

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local TRANSPARENCY = 0.4

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "ToggleGui"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.Parent = playerGui

local loadFrame = Instance.new("Frame")
loadFrame.Size = UDim2.new(1, 0, 1, 0)
loadFrame.Position = UDim2.new(0, 0, 0, 0)
loadFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 18)
loadFrame.BackgroundTransparency = TRANSPARENCY
loadFrame.BorderSizePixel = 0
loadFrame.ZIndex = 20
loadFrame.Parent = screenGui

local loadTitle = Instance.new("TextLabel")
loadTitle.Size = UDim2.new(0, 500, 0, 90)
loadTitle.Position = UDim2.new(0.5, -250, 0.36, 0)
loadTitle.BackgroundTransparency = 1
loadTitle.Text = "C R Y N O X"
loadTitle.TextColor3 = Color3.fromRGB(220, 220, 255)
loadTitle.Font = Enum.Font.GothamBold
loadTitle.TextSize = 54
loadTitle.TextTransparency = 0
loadTitle.ZIndex = 21
loadTitle.Parent = loadFrame

local titleLine = Instance.new("Frame")
titleLine.Size = UDim2.new(0, 0, 0, 1)
titleLine.Position = UDim2.new(0.5, 0, 0.5, 0)
titleLine.AnchorPoint = Vector2.new(0.5, 0.5)
titleLine.BackgroundColor3 = Color3.fromRGB(160, 140, 255)
titleLine.BackgroundTransparency = 0
titleLine.BorderSizePixel = 0
titleLine.ZIndex = 21
titleLine.Parent = loadFrame

local loadSub = Instance.new("TextLabel")
loadSub.Size = UDim2.new(0, 500, 0, 28)
loadSub.Position = UDim2.new(0.5, -250, 0.52, 0)
loadSub.BackgroundTransparency = 1
loadSub.Text = "L O A D I N G"
loadSub.TextColor3 = Color3.fromRGB(140, 130, 200)
loadSub.Font = Enum.Font.Gotham
loadSub.TextSize = 13
loadSub.TextTransparency = 0
loadSub.ZIndex = 21
loadSub.Parent = loadFrame

local barTrack = Instance.new("Frame")
barTrack.Size = UDim2.new(0, 300, 0, 3)
barTrack.Position = UDim2.new(0.5, -150, 0.63, 0)
barTrack.BackgroundColor3 = Color3.fromRGB(35, 35, 55)
barTrack.BackgroundTransparency = 0
barTrack.BorderSizePixel = 0
barTrack.ZIndex = 21
barTrack.Parent = loadFrame
local barTrackCorner = Instance.new("UICorner")
barTrackCorner.CornerRadius = UDim.new(1, 0)
barTrackCorner.Parent = barTrack

local barFill = Instance.new("Frame")
barFill.Size = UDim2.new(0, 0, 1, 0)
barFill.BackgroundColor3 = Color3.fromRGB(180, 160, 255)
barFill.BackgroundTransparency = 0
barFill.BorderSizePixel = 0
barFill.ZIndex = 22
barFill.Parent = barTrack
local barFillCorner = Instance.new("UICorner")
barFillCorner.CornerRadius = UDim.new(1, 0)
barFillCorner.Parent = barFill

local barFillGrad = Instance.new("UIGradient")
barFillGrad.Color = ColorSequence.new({
    ColorSequenceKeypoint.new(0, Color3.fromRGB(130, 110, 255)),
    ColorSequenceKeypoint.new(1, Color3.fromRGB(210, 200, 255))
})
barFillGrad.Parent = barFill

local barPercent = Instance.new("TextLabel")
barPercent.Size = UDim2.new(0, 300, 0, 24)
barPercent.Position = UDim2.new(0.5, -150, 0.66, 0)
barPercent.BackgroundTransparency = 1
barPercent.Text = "0%"
barPercent.TextColor3 = Color3.fromRGB(140, 130, 200)
barPercent.Font = Enum.Font.Gotham
barPercent.TextSize = 12
barPercent.TextTransparency = 0
barPercent.TextXAlignment = Enum.TextXAlignment.Center
barPercent.ZIndex = 22
barPercent.Parent = loadFrame

TweenService:Create(titleLine, TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
    Size = UDim2.new(0, 300, 0, 1)
}):Play()

local LOAD_TIME = 2.5
local startTime = tick()

task.spawn(function()
    while loadFrame.Parent and tick() - startTime < LOAD_TIME do
        local pct = math.clamp((tick() - startTime) / LOAD_TIME, 0, 1)
        barPercent.Text = math.floor(pct * 100) .. "%"
        task.wait()
    end
    barPercent.Text = "100%"
end)

TweenService:Create(barFill, TweenInfo.new(LOAD_TIME, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
    Size = UDim2.new(1, 0, 1, 0)
}):Play()

local panel = Instance.new("Frame")
panel.Size = UDim2.new(0, 200, 0, 345)
panel.Position = UDim2.new(0, 20, 0, 20)
panel.BackgroundColor3 = Color3.fromRGB(18, 18, 24)
panel.BackgroundTransparency = TRANSPARENCY
panel.BorderSizePixel = 0
panel.Active = true
panel.Draggable = true
panel.Visible = false
panel.Parent = screenGui

local panelCorner = Instance.new("UICorner")
panelCorner.CornerRadius = UDim.new(0, 12)
panelCorner.Parent = panel

local panelStroke = Instance.new("UIStroke")
panelStroke.Color = Color3.fromRGB(80, 80, 120)
panelStroke.Thickness = 1.5
panelStroke.Transparency = TRANSPARENCY
panelStroke.Parent = panel

local titleBar = Instance.new("Frame")
titleBar.Size = UDim2.new(1, 0, 0, 40)
titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 45)
titleBar.BackgroundTransparency = TRANSPARENCY
titleBar.BorderSizePixel = 0
titleBar.Parent = panel

local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 12)
titleCorner.Parent = titleBar

local titleFix = Instance.new("Frame")
titleFix.Size = UDim2.new(1, 0, 0.5, 0)
titleFix.Position = UDim2.new(0, 0, 0.5, 0)
titleFix.BackgroundColor3 = Color3.fromRGB(30, 30, 45)
titleFix.BackgroundTransparency = TRANSPARENCY
titleFix.BorderSizePixel = 0
titleFix.Parent = titleBar

local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, 0, 1, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Crynox"
titleLabel.TextColor3 = Color3.fromRGB(200, 200, 255)
titleLabel.TextTransparency = 0
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextSize = 16
titleLabel.Parent = titleBar

local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 28, 0, 28)
closeBtn.Position = UDim2.new(1, -34, 0.5, -14)
closeBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50)
closeBtn.BackgroundTransparency = TRANSPARENCY
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.TextTransparency = 0
closeBtn.Text = "X"
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextSize = 14
closeBtn.BorderSizePixel = 0
closeBtn.Parent = titleBar

local closeBtnCorner = Instance.new("UICorner")
closeBtnCorner.CornerRadius = UDim.new(0, 6)
closeBtnCorner.Parent = closeBtn

local divider = Instance.new("Frame")
divider.Size = UDim2.new(0.85, 0, 0, 1)
divider.Position = UDim2.new(0.075, 0, 0, 44)
divider.BackgroundColor3 = Color3.fromRGB(80, 80, 120)
divider.BackgroundTransparency = TRANSPARENCY
divider.BorderSizePixel = 0
divider.Parent = panel

local function makeButton(labelText, yPos)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0, 168, 0, 48)
    btn.Position = UDim2.new(0.5, -84, 0, yPos)
    btn.BackgroundColor3 = Color3.fromRGB(40, 160, 80)
    btn.BackgroundTransparency = TRANSPARENCY
    btn.TextColor3 = Color3.fromRGB(240, 240, 240)
    btn.TextTransparency = 0
    btn.Text = labelText .. ": ON"
    btn.Font = Enum.Font.GothamBold
    btn.TextSize = 15
    btn.BorderSizePixel = 0
    btn.Parent = panel

    local c = Instance.new("UICorner")
    c.CornerRadius = UDim.new(0, 10)
    c.Parent = btn

    local s = Instance.new("UIStroke")
    s.Color = Color3.fromRGB(60, 220, 110)
    s.Thickness = 1.2
    s.Transparency = 0
    s.Parent = btn

    local grad = Instance.new("UIGradient")
    grad.Color = ColorSequence.new({
        ColorSequenceKeypoint.new(0, Color3.fromRGB(55, 190, 95)),
        ColorSequenceKeypoint.new(1, Color3.fromRGB(30, 130, 60))
    })
    grad.Rotation = 90
    grad.Parent = btn

    return btn, s, grad
end

local speedButton, speedStroke, speedGrad = makeButton("Speed Farm", 55)
local tpButton,    tpStroke,    tpGrad    = makeButton("Win Farm", 115)
local evoButton,   evoStroke,   evoGrad   = makeButton("Auto Evolve", 175)
local rebirthButton, rebirthStroke, rebirthGrad = makeButton("Auto Rebirth", 235)

local function makeDot(btn)
    local dot = Instance.new("Frame")
    dot.Size = UDim2.new(0, 8, 0, 8)
    dot.Position = UDim2.new(0, 12, 0.5, -4)
    dot.BackgroundColor3 = Color3.fromRGB(100, 255, 140)
    dot.BackgroundTransparency = 0
    dot.BorderSizePixel = 0
    dot.Parent = btn
    local dc = Instance.new("UICorner")
    dc.CornerRadius = UDim.new(1, 0)
    dc.Parent = dot
    return dot
end

local speedDot   = makeDot(speedButton)
local tpDot      = makeDot(tpButton)
local evoDot     = makeDot(evoButton)
local rebirthDot = makeDot(rebirthButton)

local function setOff(btn, stroke, grad, dot, label)
    btn.Text = label .. ": OFF"
    grad.Color = ColorSequence.new({
        ColorSequenceKeypoint.new(0, Color3.fromRGB(160, 50, 50)),
        ColorSequenceKeypoint.new(1, Color3.fromRGB(100, 30, 30))
    })
    stroke.Color = Color3.fromRGB(220, 70, 70)
    dot.BackgroundColor3 = Color3.fromRGB(255, 80, 80)
end

local function setOn(btn, stroke, grad, dot, label)
    btn.Text = label .. ": ON"
    grad.Color = ColorSequence.new({
        ColorSequenceKeypoint.new(0, Color3.fromRGB(55, 190, 95)),
        ColorSequenceKeypoint.new(1, Color3.fromRGB(30, 130, 60))
    })
    stroke.Color = Color3.fromRGB(60, 220, 110)
    dot.BackgroundColor3 = Color3.fromRGB(100, 255, 140)
end

local speedRunning = true
local speedThread
local tpRunning = true
local tpThread
local evoRunning = true
local evoThread
local rebirthRunning = true
local rebirthThread

local function startSpeedLoop()
    speedThread = task.spawn(function()
        while speedRunning do
            SpeedEvent:FireServer()
            task.wait()
        end
    end)
end

local function startTpLoop()
    tpThread = task.spawn(function()
        while tpRunning do
            local character = player.Character or player.CharacterAdded:Wait()
            character:PivotTo(CFrame.new(7980, 209, 480))
            local humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then humanoid.Jump = true end
            task.wait(2.5)
            if not tpRunning then break end
            character = player.Character or player.CharacterAdded:Wait()
            character:PivotTo(CFrame.new(7980, 209, 480))
            humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then humanoid.Jump = true end
            task.wait(2.5)
        end
    end)
end

local function startEvoLoop()
    evoThread = task.spawn(function()
        while evoRunning do
            EvoEvent:FireServer({ Action = "Evolve" })
            task.wait()
        end
    end)
end

local function startRebirthLoop()
    rebirthThread = task.spawn(function()
        while rebirthRunning do
            RebirthEvent:FireServer()
            task.wait()
        end
    end)
end

task.delay(LOAD_TIME, function()
    task.wait(0.1)
    local fadeInfo = TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
    TweenService:Create(loadFrame,  fadeInfo, { BackgroundTransparency = 1 }):Play()
    TweenService:Create(loadTitle,  fadeInfo, { TextTransparency = 1 }):Play()
    TweenService:Create(loadSub,    fadeInfo, { TextTransparency = 1 }):Play()
    TweenService:Create(titleLine,  fadeInfo, { BackgroundTransparency = 1 }):Play()
    TweenService:Create(barTrack,   fadeInfo, { BackgroundTransparency = 1 }):Play()
    TweenService:Create(barFill,    fadeInfo, { BackgroundTransparency = 1 }):Play()
    TweenService:Create(barPercent, fadeInfo, { TextTransparency = 1 }):Play()
    task.wait(0.65)
    loadFrame:Destroy()
    panel.Visible = true
end)

closeBtn.MouseButton1Click:Connect(function()
    speedRunning = false
    tpRunning = false
    evoRunning = false
    rebirthRunning = false
    task.wait()
    if speedThread then task.cancel(speedThread) end
    if tpThread then task.cancel(tpThread) end
    if evoThread then task.cancel(evoThread) end
    if rebirthThread then task.cancel(rebirthThread) end
    screenGui:Destroy()
end)

speedButton.MouseButton1Click:Connect(function()
    speedRunning = not speedRunning
    if speedRunning then
        setOn(speedButton, speedStroke, speedGrad, speedDot, "Speed Farm")
        startSpeedLoop()
    else
        setOff(speedButton, speedStroke, speedGrad, speedDot, "Speed Farm")
        if speedThread then task.cancel(speedThread) end
    end
end)

tpButton.MouseButton1Click:Connect(function()
    tpRunning = not tpRunning
    if tpRunning then
        setOn(tpButton, tpStroke, tpGrad, tpDot, "Win Farm")
        startTpLoop()
    else
        setOff(tpButton, tpStroke, tpGrad, tpDot, "Win Farm")
        if tpThread then task.cancel(tpThread) end
    end
end)

evoButton.MouseButton1Click:Connect(function()
    evoRunning = not evoRunning
    if evoRunning then
        setOn(evoButton, evoStroke, evoGrad, evoDot, "Auto Evolve")
        startEvoLoop()
    else
        setOff(evoButton, evoStroke, evoGrad, evoDot, "Auto Evolve")
        if evoThread then task.cancel(evoThread) end
    end
end)

rebirthButton.MouseButton1Click:Connect(function()
    rebirthRunning = not rebirthRunning
    if rebirthRunning then
        setOn(rebirthButton, rebirthStroke, rebirthGrad, rebirthDot, "Auto Rebirth")
        startRebirthLoop()
    else
        setOff(rebirthButton, rebirthStroke, rebirthGrad, rebirthDot, "Auto Rebirth")
        if rebirthThread then task.cancel(rebirthThread) end
    end
end)

startSpeedLoop()
startTpLoop()
startEvoLoop()
startRebirthLoop()

描述

It has auto farm for basic stuff

评论 (0)

登录以参与讨论

  • 成为第一个评论的人。

常见问题

如何使用 Open source auto farm 脚本?
复制上方的脚本代码,打开你的 Roblox 执行器,粘贴代码,然后在游戏中点击执行。脚本运行后功能会立即激活。
Open source auto farm 脚本免费吗?
是的。此脚本免费复制和使用。如果使用密钥系统,请通过「获取密钥」链接免费解锁。
使用 Open source auto farm 脚本安全吗?
完整源代码显示在此页面上,让你在运行前准确了解其功能。请始终使用可信的执行器,并记住使用脚本违反 Roblox 服务条款,风险自负。
哪个执行器兼容 Open source auto farm?
此脚本兼容大多数热门 Roblox 执行器。查看我们的执行器页面,为你的设备找到可信的免费或付费执行器。
Open source auto farm | BloxScripter