How do I make a melee system like this?

I’m trying to make a melee system like mortem metallum.

Mortem Metallum [Alpha] - Roblox - this is the game

i think it uses motor6d for the animations.
But I can’t make a hitbox accurate like this.

What solutions have you tried so far?

Edit: Either way, something like this probably Raycast Hitbox 4.01: For all your melee needs!

I’ve tried that but when I swing it damages me.

OK, then make it not damage you :slight_smile: . I didn’t write that module but it looks like there’s lots of documentation you can read for it.

P.S. If you want help with code, you’ll need to post code.

For that raycast hitbox module, you can filter out humanoids or objects from the raycasts.

Example code:

 --- Defines our character to be inside the ignore list
local ignoreList = {MyCharacter}

 --- pass it through the second parameter
local newHitbox = RAYCAST_HITBOX:Initialize(MyTool, ignoreList)

newHitbox:HitStart()

Additional documentation:

I’m sorry but where do I put this? And if I do it gives me unknown globals.