Im trying to make a hitbox with a skill in my game which dashes with a weapon so I would need a hitbox that would be welded to the player and detects really good, I don’t know if I could use raycasting for this if so I don’t know how because atm i’m not very good with raycasting.
You could use modules made by other members of the community like the one @Lit_skillzYT suggested.
You could also just weld a part to the player and use workspace:GetPartsInParts(hitbox), looping through every part in contact and searching for a player.
oh yeah, I use client cast for my normal attacks and didn’t even think about doing this with a part, so would this work by creating a part in front of the player and welding it to the player then using client cast on it?
(Deleted last post because I completely misread your question).
Welding a hitbox to the HumanoidRootPart would work, so would positioning it in front of the character every frame. Your choice.