I’m seeking feedback and assistance with my combat scripts, I’m encountering a delay in combat execution and experiencing an excessive number of ghost hits. Currently, my combat script works as follows: I create a hitbox within a local script where I handle the visual effects, and simultaneously, on the server, I also create a hitbox to deal damage when necessary. The problem is that the visual effects often do not align correctly with the server hitbox, resulting in a frequent occurrence of ghost hits, or none at all. Any advice or guidance on resolving these issues would be greatly appreciated.
3 Likes
Personally, what I do is create hitboxes on the client side, and then check on the server how far away the enemy is. if he is nearby then we deal damage
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.