How to Fix this only shows in my console "killed"

Problem description:only shows on console killed

Steps to reproduce:how to fix this

Bug appears at this link:https://replit.com/@CliffvincentTor/GOATBOT-V2

Browser:
OS:
Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Replit Core):