Need help with RaycastHitboxV4

I am currently using the sword detection moduleScript: Raycast Hitbox 4.01: For all your melee needs!

The picture shows the server side (left) and the client side(right)

The red neon line trails come from the scripts raycasts, and the solid red trail comes from the actual sword model.

I am trying to make the neon line trails be more accurate with the actual path from the client side. (as in make the client side more like the server side on the left) It is only inaccurate when the player is moving and using the sword. Is there a way to fix this without making it exploitable?

i think youre supposed to run raycast hitbox on the client and then do some checks on the server

theres no way to prevent the lag

its probably fine since anticheat has gotten stronger