getgenv().autofarm = true while wait(0.00001) do if not getgenv().autofarm then return end for i,v in pairs(game.Players:GetChildren()) do if v ~= game.Players.LocalPlayer and v.Character ~= nil and v.Character:FindFirstChild("HumanoidRootPart") ~= nil and not v.Character:FindFirstChild("ForceField") then if not getgenv().autofarm then return end if game.Players.LocalPlayer.Character:FindFirstChild("Knife") then v.Character:FindFirstChild("HumanoidRootPart").CFrame = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame + game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector * 2 wait(0.1) game:GetService'VirtualUser':Button1Down(Vector2.new(1,1)) wait(0.1) game:GetService'VirtualUser':Button1Up(Vector2.new(1,1)) elseif game.Players.LocalPlayer.Backpack:FindFirstChild("Knife") and not game.Players.LocalPlayer.Character:FindFirstChild("Knife") then game.Players.LocalPlayer.Backpack:FindFirstChild("Knife").Parent = game.Players.LocalPlayer.Character v.Character:FindFirstChild("HumanoidRootPart").CFrame = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame + game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector * 2 wait(0.1) game:GetService'VirtualUser':Button1Down(Vector2.new(1,1)) wait(0.1) game:GetService'VirtualUser':Button1Up(Vector2.new(1,1)) end end end end