hacker news Hacker News
  1. new
  2. show
  3. ask
  4. jobs

Ask HN: how to detect teammate vs. enemy in Krunker.io?

3 points

by kracked0x

1 months ago

story

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!

loading...