local game = game local players = game:GetService("Players") local localPlayer = players.LocalPlayer local character = localPlayer.Character local runService = game:GetService("RunService") local virtualInputManager = game:GetService("VirtualInputManager") local cframeNew = CFrame.new runService.RenderStepped:Connect(function() character = localPlayer.Character local tool = character:FindFirstChildWhichIsA("Tool") if tool and not string.find(string.lower(tool.Name), "pickaxe") and not string.find(string.lower(tool.Name), "hatchet") and not string.find(string.lower(tool.Name), "shovel") then workspace.Remotes.UseItem:FireServer(tool,false) virtualInputManager:SendMouseButtonEvent(1622, 682, 0, true, game, 1) virtualInputManager:SendMouseButtonEvent(1622, 682, 0, false, game, 1) for _,v in workspace.Areas:GetDescendants() do if v.ClassName == "Model" and v:FindFirstChild("EnemyHumanoid") and v.EnemyHumanoid.Health > 0 and v:FindFirstChild("HumanoidRootPart") and v.Name ~= "Target Dummy" then character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame:ToWorldSpace(cframeNew(0,0,7.5)) end end end end)