- Auto Farm Blox Fruit - Bản ĐƠN GIẢN NHẤT, CHẠC CHẮN CHẠY 100%
-- Tôi sẽ dùng cách đơn giản nhất: click chuột tự động + di chuyển bằng CFrame
-- KHÔNG dùng TweenService, KHÔNG dùng Remote phức tạp
print("🐱 MEOW FARM - BẢN ĐƠN GIẢN NHẤT")
print("Đang khởi tạo...")
-- ===== LẤY DỊCH VỤ =====
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Workspace = game:GetService("Workspace")
local VirtualUser = game:GetService("VirtualUser")
local RunService = game:GetService("RunService")
-- ===== BIẾN ĐIỀU KHIỂN =====
local FarmEnabled = false
local AttackSpeed = 0.2
-- ===== TẠO UI CỰC KỲ ĐƠN GIẢN =====
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = game.CoreGui
ScreenGui.Name = "MeowFarm"
-- Logo
local Logo = Instance.new("TextLabel")
Logo.Parent = ScreenGui
Logo.Size = UDim2.new(0, 50, 0, 50)
Logo.Position = UDim2.new(0, 5, 0, 5)
Logo.BackgroundTransparency = 1
Logo.Text = "🐱"
Logo.TextSize = 40
Logo.TextColor3 = Color3.fromRGB(255, 200, 0)
-- Nút BẬT/TẮT to đùng
local ToggleBtn = Instance.new("TextButton")
ToggleBtn.Parent = ScreenGui
ToggleBtn.Size = UDim2.new(0, 150, 0, 60)
ToggleBtn.Position = UDim2.new(0, 60, 0, 10)
ToggleBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
ToggleBtn.Text = "🔥 BẬT FARM"
ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.Font = Enum.Font.Bold
ToggleBtn.TextSize = 20
ToggleBtn.BorderSizePixel = 3
ToggleBtn.BorderColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.MouseButton1Click:Connect(function()
FarmEnabled = not FarmEnabled
if FarmEnabled then
ToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 255, 50)
ToggleBtn.Text = "✅ ĐANG FARM"
print("[Meow] ĐÃ BẬT FARM")
else
ToggleBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
ToggleBtn.Text = "🔥 BẬT FARM"
print("[Meow] ĐÃ TẮT FARM")
end
end)
-- Nút tăng tốc độ đánh
local SpeedBtn = Instance.new("TextButton")
SpeedBtn.Parent = ScreenGui
SpeedBtn.Size = UDim2.new(0, 150, 0, 40)
SpeedBtn.Position = UDim2.new(0, 60, 0, 80)
SpeedBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 80)
SpeedBtn.Text = "⚡ Tốc độ: Nhanh"
SpeedBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedBtn.Font = Enum.Font.Bold
SpeedBtn.TextSize = 16
SpeedBtn.BorderSizePixel = 2
SpeedBtn.BorderColor3 = Color3.fromRGB(200, 200, 200)
local speedMode = 1 -- 1=nhanh, 2=cực nhanh
SpeedBtn.MouseButton1Click:Connect(function()
speedMode = speedMode == 1 and 2 or 1
if speedMode == 1 then
AttackSpeed = 0.2
SpeedBtn.Text = "⚡ Tốc độ: Nhanh"
else
AttackSpeed = 0.05
SpeedBtn.Text = "⚡ Tốc độ: Cực nhanh"
end
end)
print("[Meow] UI đã tạo xong")
-- ===== HÀM LẤY NHÂN VẬT =====
local function GetChar()
local c = LocalPlayer.Character
if not c then return nil end
if not c:FindFirstChild("Humanoid") then return nil end
if c.Humanoid.Health <= 0 then return nil end
return c
end
-- ===== HÀM LẤY MOB GẦN NHẤT =====
local function GetMob()
local char = GetChar()
if not char then return nil end
local torso = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") or char:FindFirstChild("HumanoidRootPart")
if not torso then return nil end
local nearest = nil
local minDist = math.huge
-- Tìm tất cả mob trong game
for _, obj in pairs(Workspace:GetDescendants()) do
if obj:IsA("Model") and obj ~= char then
local hum = obj:FindFirstChild("Humanoid")
if hum and hum.Health and hum.Health > 0 then
local t = obj:FindFirstChild("Torso") or obj:FindFirstChild("UpperTorso") or obj:FindFirstChild("HumanoidRootPart")
if t then
local dist = (t.Position - torso.Position).Magnitude
if dist < minDist and dist <= 30 then
nearest = obj
minDist = dist
end
end
end
end
end
return nearest
end
-- ===== HÀM DI CHUYỂN ĐẾN MOB =====
local function MoveToMob(mob)
local char = GetChar()
if not char then return end
local mobTorso = mob:FindFirstChild("Torso") or mob:FindFirstChild("UpperTorso") or mob:FindFirstChild("HumanoidRootPart")
if not mobTorso then return end
local charTorso = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") or char:FindFirstChild("HumanoidRootPart")
if not charTorso then return end
-- Di chuyển trực tiếp bằng CFrame
local targetPos = mobTorso.Position + Vector3.new(0, 0, 3)
charTorso.CFrame = CFrame.new(targetPos)
end
-- ===== HÀM TẤN CÔNG =====
local function DoAttack()
local char = GetChar()
if not char then return end
-- Tìm tool trong tay hoặc trong Backpack
local tool = char:FindFirstChildOfClass("Tool")
if not tool then
local bp = LocalPlayer:FindFirstChild("Backpack")
if bp then
tool = bp:FindFirstChildOfClass("Tool")
if tool then
tool.Parent = char
wait(0.1)
end
end
end
if tool then
-- Kích hoạt tool
tool:Activate()
wait(AttackSpeed)
tool:Deactivate()
else
-- Nếu không có tool, dùng Humanoid để đấm
local hum = char:FindFirstChild("Humanoid")
if hum then
hum:EquipTool(nil)
hum:BreakJoints()
end
end
end
-- ===== VÒNG LẶP FARM =====
spawn(function()
print("[Meow] Vòng lặp farm đã sẵn sàng")
print("[Meow] Nhấn nút 'BẬT FARM' để bắt đầu")
while wait(0.1) do
if FarmEnabled then
local mob = GetMob()
if mob then
-- Di chuyển đến mob
MoveToMob(mob)
wait(0.1)
-- Tấn công
DoAttack()
else
-- Không có mob, di chuyển ngẫu nhiên
local char = GetChar()
if char then
local torso = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") or char:FindFirstChild("HumanoidRootPart")
if torso then
local randomPos = torso.Position + Vector3.new(math.random(-10, 10), 0, math.random(-10, 10))
torso.CFrame = CFrame.new(randomPos)
end
end
end
end
end
end)
-- ===== THÔNG BÁO =====
print("")
print("========================================")
print("🐱 MEOW FARM ĐÃ SẴN SÀNG")
print("========================================")
print("📌 HƯỚNG DẪN SỬ DỤNG:")
print(" 1. Nhấn nút '🔥 BẬT FARM' để bắt đầu")
print(" 2. Nhấn '⚡ Tốc độ' để tăng tốc đánh")
print(" 3. Kéo UI để di chuyển")
print("========================================")
print("✅ Bảo đảm chạy trên MỌI CLIENT")
print("✅ Không dùng Remote, không dùng Tween")
print("✅ Chỉ dùng CFrame và Click cơ bản")
print("========================================")4 views