Dash movement exploit

Hello guys,

I just made a client side dash for responsivness and tried to simply check if there was any exploit by computing the wanted position also on server (using a remote event on the dash start) and then comparing it with the current position at the end of the dash (using another remote even to say the dash ended. That way I though I could manage latence correctly.

I made a reduced project (it’s not even a dash anymore but a teleport honestly), but it looks like the last event is received by the server, before the player movement do. With lag or not.
RemoteEventIssue.rbxl (54.7 KB)

So the question is simple, how would you do it ?

Thanks a lot !