Hrp CFrame not updating server-side when character is moving

You can write your topic however you want, but you need to answer these questions:

I wanted to make the shield effects match the position of the humanoid root part.
However, when the character is moving, the position the server sees usually lags behind
the client’s perception, causing a desync.

I’ve been looking for solutions for hours. If the script is needed, I will post a Pastebin to the script.
ANY help, at all, would be very helpful.

1 Like

theres a delay between server and client so you should position the shield server side then right after send a remote event to position it on the client OR you can have 2 shields one for the server (make it transparent on the client) and one on the client

2 Likes

Thanks! I will try this out and get back to you if this works.

1 Like

Yeah despite this, the issue still arises, I really don’t know what to do anymore. I sent an event to the client to update the position right after the shield appears in the workspace, but still, the shield is behind the player, or desynced, until the player completely stops.

1 Like

Alright, I’ve fixed the bug with some problem-solving.
What I’ve done is whenever I position the shield, I invoke the client who wants to block and get their position from the client. The issue was as you said, there was a delay between the server and the client.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.