2
Ask HN: how to detect teammate vs. enemy in Krunker.io?
I am trying to write a Krunker.IO script, and have successfully made a thorough and reliable aimbot and ESP. Currently it targets all players... I cannot figure out how to make it stop targeting teammates. I have tried gameState properties, caching which players damage can be dealt to, and checking nametag/healthbar color, etc. but have been unable to accurately or reliably determine whether an entity is a teammate or enemy. Any outside the box suggestions appreciated!