In my game I have a sword script that detects when another player is hit through a hitbox, and sends a remote event to the client who got hit (the remote is to alert the client to start playing a hit animation). The problem is that sometimes if the other player is laggy, then the hit animation will come after a delay of time. I was wondering if there were any ways around this.
1 Like
Recently I have thought of an idea where I send a remote to every client and make it play the hit clients animation at their our ping and syncing them together with os.time(). Would this work?