I need help about NPC Hitbox

So yeah. Hey everyone! I have a problem with the NPC Hitbox I made. Here’s a vid:
robloxapp-20220829-1345056.wmv (1.7 MB)
The Hitbox I’m talking about is the red part on the NPC’s torso. The problem is, how did it reach my character?
This is the script of the hitbox:

local box = script.Parent

	if not hit:IsA("BasePart") then
		local human = hit.Parent:FindFirstChild("Humanoid")
		if human then
			human.Health -= 100

I may think that your npc hit box is touching your npc’s humanoid but not the players, if that makes sense?

Just curious what is the view from the server?

Usually if hitboxes don’t align it’s due to a difference between server and client.


I made a script about it and it’s still doing it.

I suggest you try this:

It’s about a API system for better hitboxes