local Players = game:GetService("Players") local function startKillFarm(player) while player.Parent do local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if root then for _, target in ipairs(workspace.Enemies:GetChildren()) do local humanoid = target:FindFirstChildOfClass("Humanoid") local targetRoot = target:FindFirstChild("HumanoidRootPart") if humanoid and targetRoot and humanoid.Health > 0 then local distance = (root.Position - targetRoot.Position).Magnitude if distance <= 50 then humanoid.Health = 0 -- Add your game's kill-credit logic here. end end end end task.wait(0.5) end end Players.PlayerAdded:Connect(function(player) task.spawn(startKillFarm, player) end)
This script automatically farms everthing in the server you're in. it works even better when you are using metrial artist
Comments 0