lua
-- Configuración Global
_G.AutoFarm = true
_G.KillAura = true
_G.AuraRange = 20 -- Distancia a la que atacará
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Root = Character:WaitForChild("HumanoidRootPart")
-- Función de Ataque Automático (Kill Aura)
spawn(function()
while _G.KillAura do
task.wait(0.1)
for _, enemy in pairs(game.Workspace:GetChildren()) do
-- Busca enemigos comunes (ajusta nombres si cambian en el server)
if enemy:FindFirstChild("Humanoid") and enemy.Name ~= Player.Name then
local distance = (Root.Position - enemy.HumanoidRootPart.Position).Magnitude
if distance < _G.AuraRange then
-- Teletransporta el golpe o se mueve brevemente hacia el enemigo
Root.CFrame = enemy.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3)
-- Simula el clic de ataque (requiere tener arma equipada)
local tool = Character:FindFirstChildOfClass("Tool")
if tool then tool:Activate() end
end
end
end
end
end)
-- Bucle de Recolección de Recursos
spawn(function()
while _G.AutoFarm do
-- Prioridad: Comida y Agua
for _, obj in pairs(game.Workspace:GetChildren()) do
if obj.Name == "BerryBush" or obj.Name == "WaterSource" then
Root.CFrame = obj.CFrame
task.wait(0.5)
end
end
-- Madera y Piedra
for _, obj in pairs(game.Workspace:GetChildren()) do
if obj.Name == "Tree" or obj.Name == "Rock" then
Root.CFrame = obj.CFrame
local tool = Character:FindFirstChildOfClass("Tool")
if tool then tool:Activate() end
task.wait(1)
end
end
task.wait(1)
end
end)
print("Kill Aura y Auto-Farm ACTIVADOS")
Comments
No comments yet
Be the first to share your thoughts!