What should I use to detect hit for my combat game?

Hello, I want to make a combat game, but there’s something I don’t understand about the hitboxes and detecting damages and such, what should I use?

I was thinking of .Touched but people say it’s not effective because easy to exploit, and I’ve seen people use modulescripts like ClientCast, RacyastModule… I really don’t know what I should use, like, what do big combat games like YBA, ABA, GPO use for hitboxes? Anybody can help me with that

2 Likes

A lot of games tend to use Rays ar they are fast and effective at finding Instances Intersected,

They are good because you can edit their Position and Direction, For Range. You need to multiply yhe Direction

1 Like

is it better to make it yourself or use a modulescript like ClientCast…

It depends

You can use ModuleScripts to Assists you as they are “really good” and used by the community. Probably for a good reason.

You can make your own tho.

Personally, I Prefer to make it on my own.

RaycastHitboxV4.

1 Like

Personally I use the raycast hitbox made by swordphin123 whenever I want to make weapons or tools, since it’s pretty easy to understand and rays are very accurate when it comes to detecting objects while moving.

Region3’s are usually useful for a one-time hit attack, like an explosion or something since they fire instantly.