Moving NPCs don't always take damage

Awesome plugin!

It seems like hits and headshots are not registered propertly when NPCs are moving.
Any solution for that?

The hitbox looks like it only apply to the knees and nower for my server.

I have the same issue but with only few bots. I reset everything. Now I only work with one but this little guy gets no damages...

    {
      "userid": 1675704064,
      "displayName": "sniper1",
      "invulnerability": false,
      "health": 50,
      "respawn": true,
      "respawnSeconds": 300,
      "spawnInfo": {
        "position": "-1277.737 25.51928 146.8789",
        "rotation": "-0.5576522 0.06988548 -0.04719389 -0.8257802"
      },
      "waypoint": null,
      "collisionRadius": 6000,
      "spawnkit": "sniper",
      "damageAmount": 10,
      "damageDistance": 3,
      "damageInterval": 2,
      "attackDistance": 100,
      "maxDistance": 200,
      "hostile": true,
      "speed": 3,
      "stopandtalk": true,
      "stopandtalkSeconds": 3,
      "enable": true,
      "lootable": true,
      "hitchance": 0.75,
      "reloadDuration": 0,
      "needsAmmo": true,
      "defend": true,
      "evade": false,
      "follow": false,
      "evdist": 0,
      "allowsit": false,
      "musician": null,
      "playTune": false,
      "SoundOnEnter": false,
      "SoundOnUse": false,
      "band": 0,
      "permission": "",
      "Sound": "",​


Merged post

Ok I found out what was the problem! When I was spawning a new NPC I was looking at the ground to be sure it appear right where I was... The problem with this methode is the top of the hit box appear to their knees. The solution is to look straight and spawn NPCs, so their hit box mach their body.

i will try this thanks for lettings us know!