Functions: Autofarm titans

Installation guide:
Copy the script from the button below.
Run any Injector (We recommend KRNL Injector)
Install it, insert the script and click execute
Enjoy it)
Thank you for using our website
Your script:
_G.autoKill=true;for a,b in pairs(game:GetService("Players")[game.Players.LocalPlayer.Name].PlayerData.Codes:GetChildren())do if b.Value~=true then local c=tostring(b.Name)local d="Lena"local e=game:GetService("ReplicatedStorage").Events.TabMenuEvents.Code;e:FireServer(c,d)wait(.25)end end;plr=game.Players.LocalPlayer;hum=plr.Character.HumanoidRootPart;mouse=plr:GetMouse()spawn(function()mouse.KeyDown:connect(function(f)if f=="y"then if mouse.Target then _G.autoKill=not _G.autoKill end end end)end)game.StarterGui:SetCore("SendNotification",{Title="- HOTKEY -",Text="Press 'y' to toggle auto farm",Duration=15})function getNearestChest()nearest,dist=nil,99999;pcall(function()for g,h in pairs(game:GetService("Workspace").Titans:GetChildren())do if h:FindFirstChild("Humanoid")then if h:FindFirstChild("Hitboxes")then if h.Hitboxes:FindFirstChild("Nape")then if h.Humanoid.Health>0 then local i=game:GetService("Players").LocalPlayer;local j=i.Character;local k=j.HumanoidRootPart;local l=(k.Position-h.Hitboxes.Nape.Position).magnitude;if l