Hello, I have found an issue with my movement i have in my game and can’t seem to fix it. The movement scripts basically make my head look where im looking and move my arms where im looking if im holding a tool. Here is the issue:
This is the client.
This is the server
They are both the same, I didn’t move. The issue isn’t with the movement script as it works, its with the hitbox I have which is: RaycastHitbox
Since the movement of the arms and head only changes in other clients via another remote event, in the server my character is still in default orientations.
When the orientation is different, on client it could like it hit but on the server because of the orientation difference it could be too short to hit etc.
This results of these is: https://gyazo.com/96e98a99a91520c323ad2d7c29988a50
As you can see, it just passes through the dummy and doesn’t detect any hit.
I do require the module on client, work with it in client and I think it runs on the client but still, this is the only reason I could think of as the reason of hitbox not detecting it.
And of course replicating the players movement on the server would be really laggy and since there would be at least 0.5 delay(what I prefer for the best performance) it still would do that.
I’m not sure if it is what I have explained causing this, but please help me out on this.