Slash attack hitbox attack method

Hello! I’m a bit confused on how to make this script.
I’m making a slash attack, which creates a hitbox(part) in the player for 1 second.

I need this hitbox to deal damage to an enemy when the enemy touches it.

However, I also need this to be local only, so other player’s hitboxes wont attack the local enemy.
I’ve already tried a Touched event and tested if the hitbox is in the local player, but it didn’t work.

The hitbox is named:“SlashHitBox” and its in the humanoid root part.
If this script could apply to individual enemies when its inside the enemy that would be helpful(or a table of enemies that can get attacked, but that might make things too complicated).

Thanks! Feel free to ask questions to better get the idea.