Description
A simple script that allows you to farm automatically without the need for keys.
Best Features:
- Auto Farm
- No Key
- Anti-idle (Auto On)
- Simple and Easy Setup
- Auto farm button.
Features
Compatible Executors
Script
-- Инициализация интерфейса
local ScreenGui = Instance.new("ScreenGui")
local MainButton = Instance.new("TextButton")
local CloseButton = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
-- Основная кнопка "Blackin Farm"
MainButton.Name = "MainButton"
MainButton.Parent = ScreenGui
MainButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Черный фон
MainButton.Position = UDim2.new(0.05, 0, 0.4, 0)
MainButton.Size = UDim2.new(0, 120, 0, 50)
MainButton.Font = Enum.Font.SourceSansBold
MainButton.Text = "Blackin Farm"
MainButton.TextColor3 = Color3.fromRGB(255, 255, 255) -- Белый текст
MainButton.TextSize = 18.0
UICorner.CornerRadius = UDim.new(0, 8)
UICorner.Parent = MainButton
-- Кнопка закрытия "-"
CloseButton.Name = "CloseButton"
CloseButton.Parent = MainButton
CloseButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
CloseButton.Position = UDim2.new(0, 0, -0.4, 0)
CloseButton.Size = UDim2.new(0, 30, 0, 20)
CloseButton.Font = Enum.Font.SourceSansBold
CloseButton.Text = "-"
CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseButton.TextSize = 20.0
local farmActive = false
-- Функция авто-фарма
local function startFarm()
while farmActive do
local character = game.Players.LocalPlayer.Character
local root = character and character:FindFirstChild("HumanoidRootPart")
if root then
-- Проход по стадиям
for i = 1, 10 do
if not farmActive then break end
local stage = workspace:FindFirstChild("BoatStages")
and workspace.BoatStages:FindFirstChild("NormalStages")
and workspace.BoatStages.NormalStages:FindFirstChild("Stage"..i)
if stage and stage:FindFirstChild("GoldenChest") then
root.CFrame = stage.GoldenChest.MS.CFrame
task.wait(1.2) -- Время на пролет
end
end
-- Финальный сундук
if farmActive then
local theEnd = workspace.BoatStages.NormalStages:FindFirstChild("TheEnd")
if theEnd and theEnd:FindFirstChild("GoldenChest") then
root.CFrame = theEnd.GoldenChest.EventLargeChest.CFrame
task.wait(10) -- Ждем 10 секунд на сундуке
end
end
end
task.wait(1)
end
end
-- Логика переключения цветов
MainButton.MouseButton1Click:Connect(function()
farmActive = not farmActive
if farmActive then
-- Когда включено: кнопка белая, текст черный
MainButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MainButton.TextColor3 = Color3.fromRGB(0, 0, 0)
task.spawn(startFarm)
else
-- Когда выключено: кнопка черная, текст белый
MainButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
MainButton.TextColor3 = Color3.fromRGB(255, 255, 255)
end
end)
-- Удаление скрипта
CloseButton.MouseButton1Click:Connect(function()
farmActive = false
ScreenGui:Destroy()
end)
No comments yet. Be the first!