 This solution works and will all but eliminate most problems related to lag.Unfortunately, it also relies on the assumption that the client is honest.There is nothing that prevents a player from modifying the data they send, directly at the client or indirectly via a proxy, in order to ensure they will always hit their targets.