Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[REPOST] How to fix server to client moving part latency?

Asked by 5 years ago
Edited 5 years ago

I have a moving part in my game that's controlled on the server but the problem is that on the client side it lags. To reduce the lag I've tested a few things most of which didn't work but what I think ultimately the issue is, is the fact that the part is being moved server side and the server is having to replicate the part to each client. You may have said to just move the part locally but the problem is that I need the part to be server side because it's a integral part of a game mechanic that can't be messed with by the client, more appropriately, can't be messed with by an exploiter. I want to be able to be able to detect when the part has been touched on the server but have the part visually spin on the client. I've attempted to replicate the part on the client and delete the server sided one locally but I've been having issues with the server and client sided part not being moved at the same time and I find that the client sided part moves way too fast.

Not necessarily asking for code just want ideas on how I could accomplish this.

0
I doubt there is a way because no matter what there will always be delay. If you want just rotate the part on the client. while on the server it's still there. Another option is to replicate the part and making the original invisible. BlackOrange3343 2676 — 5y

Answer this question