I have no experience with this networking server stuff so I am sorry D: I have some questions below with a video clip to showcase the problems that I’ve encountered.
How long would it take for the server to replicate to other people?
Let’s say that one player sends a message to the server and they have 100 ms of ping. Then the server sends that to the other client that has 50 ms ping so they can see the message. In this case would it take 150 ms for the second client to see the message?
In the clip below you could see that there is a huge discrepancy because of latency. The person that got attacked saw the animation immediately but the damage is delayed. Is there a way to sync the animation and the damage?
Is there a way to ignore server replication? If you hit a player 3 times for 10 damage, you will deal a total of 30 damage. On your end it’s going to show that you did 30 damage but once the server receives the damage, it’s going to show it to you again which makes it look like the player just healed. It could be seen in the clip from 2 seconds to 9 seconds https://youtu.be/vAbHc9enK3k?t=2
To answer 2:
The animation is played on the client and when a player is hit, I fire a remote to deal the damage. If I were to use .Stopped on the client I think that it would be the same thing but delayed even longer because it fires after the animation has ended instead of during.