I think in EE lags problem is in sending movement packet. I think it’s only to do that:

When player movement > 5 steps then send movement packet and move player 5 steps in X or Y axis with player(index).Xoffset .

If player movement < 5 steps then send movement packet and move player less than 5 steps in X or Y axis with player(index).Xoffset.

It’s my suggestion XD I don’t known how to do that and I will be grateful for the creation of this tutorial XD