local s, Client = game, game.Players.LocalPlayer local GC = getconnections or get_signal_cons -- synx / krnl support if GC then for _,v in pairs(GC(Client.Idled)) do if v['Disable'] then v['Disable'](v) elseif v['Disconnect'] then v['Disconnect'](v) end end end s.StarterGui:SetCore('SendNotification',{ Title = 'Autofarm', Text = 'by Lxst#3789', Icon = 'rbxassetid://9395380227', Duration = math.huge }) while task.wait() and farmTrailer do pcall(function() if not Client.PlayerGui.Interface.Score.Frame.Jobs.Visible then s.ReplicatedStorage.Systems.Jobs.StartJob:InvokeServer('TrailerDelivery', 'Dealership'); task.wait(waitTime) elseif Client.PlayerGui.Interface.Score.Frame.Jobs.Visible then for _,v in pairs(workspace.Cars:GetDescendants()) do if v.Name == 'Owner' and v.Value == Client and Client:DistanceFromCharacter(s.Workspace.CompletionRegion.Primary.Position) > 20 then workspace.CompletionRegion.Primary.Size = Vector3.new(100, 0.5, 350) v.Parent:SetPrimaryPartCFrame(workspace.CompletionRegion.Primary.CFrame * CFrame.new(0, 3, -20)) task.wait(.33) end end if Client.PlayerGui.Interface.JobComplete.Enabled then s.ReplicatedStorage.Systems.Jobs.CashBankedEarnings:FireServer() Client.PlayerGui.Interface.JobComplete.Enabled = false; s.Lighting.BackgroundBlur.Enabled = false; end end end) end while task.wait() and farmFood do pcall(function() if not Client.PlayerGui.Interface.Score.Frame.Jobs.Visible then local randomNumber = math.random(1, 7) for i,v in pairs(workspace.Jobs.FoodDelivery.StartPoints:GetChildren()) do if i == randomNumber then s.ReplicatedStorage.Systems.Jobs.StartJob:InvokeServer('FoodDelivery', v.Name) end end task.wait(waitTime) elseif Client.PlayerGui.Interface.Score.Frame.Jobs.Visible then for _,v in pairs(workspace.Cars:GetDescendants()) do if v.Name == 'Owner' and v.Value == Client and Client:DistanceFromCharacter(s.Workspace.CompletionRegion.Primary.Position) > 20 then workspace.CompletionRegion.Primary.Size = Vector3.new(100, 0.5, 350) v.Parent:SetPrimaryPartCFrame(workspace.CompletionRegion.Primary.CFrame * CFrame.new(0, 3, -20)) task.wait(.33) end end if Client.PlayerGui.Interface.JobComplete.Enabled then s.ReplicatedStorage.Systems.Jobs.CashBankedEarnings:FireServer() Client.PlayerGui.Interface.JobComplete.Enabled = false; s.Lighting.BackgroundBlur.Enabled = false; end end end) end