I would like say now that I’m still beginning to make a combat (Not FPS, more like Encounters if Stun-Lock was a lot more prominent, or similar to aba) . The current issue I’d say I’m dealing with is the way that the hitbox projects itself. As of now I plan to use Region3 (While still trying to figure out how to use EgoMoose’s Module) but the issue at hand to me is trying to even bring the hitbox out properly.
I’ll show a gif then the script.
Remember that each players’ client controls the location of that player’s character. The CFrames of each individual body part will always have latency when read the server. Furthermore, since the network ownership is on that client, it also determines contacts (such as Touched) on that part.
It may be better for your hand-to-hand combat game to register hits on the client, using a LocalScript, and send this information to the server. Then, performs some santity/confidence checks on the information it received to see if the hit is good. You might elect to have the client send which body part hit which other body part, among other information.
Also, would this method be similar to a double check, as in you see what is hit first, then check if the hit is able to be confirmed so the Humanoid can take damage?
Yeah, although any latency-compensating hit detection system’s going to be susceptible to a lying client. The idea is that you expect the data sent by the client to be reasonable and verifiable. This depends on that extra data you send from the client. Of course, if you build a system that accepts any old firing of OnServerEvent, you’ll definitely run into problems.
I’d recommend focusing on making a working hit system before a strictly “secure” system.
Alright, I’ll put this method to test and hopefully get results of a working hitbox and relay the results back at a later time. Thank you for your help.
At this point at moving the script, I feel stumped at this point where I should go. Would the next step trying to use RotatedRegion3 to see what I’m hitting or going back to the Local Script to specify what the Hitbox is looking to hit/what it’s hitting?