Dummies not taking damage?

So I created an AOE explosion move that is supposed to damage the players inside the hitbox.

The script works fine when I do a server test with 2 players, the player inside the explosion takes damage.

My problem is that the explosion doesn’t do damage to dummies that are in the hitbox.
Its really hard for me to test out damage quick and efficiently without having to go into server test.
Does anyone know how to fix this?

If i’m not misunderstanding what i’m seeing, one reason your dummies don’t take damage is because you’re destroying the hitbox’s parent, essentially destroying the hitbox after the first hit.

Assuming your hitbox is anchored, if the dummy also has an anchored part, it is not going to work. Check if the Anchored property of the HumanoidRootPart inside of the Dummy is set to true. If it is, set it to false and give it another try.

Could I see the rest of the code? I’m not sure what the variable char leads to.

Thank You! They take damage now.
Do you know the reason why they have to not be anchored?

All I know is that when 2 Anchored parts intersect, the touch event will not fire. It will work perfectly fine If one of the parts was unanchored though.