Softlocking when changing position when lagging

To put it simply, when changing the players position under high ping, either through a script or manually in the editor, the player gets softlocked

normal behaviour (low ping):

abnormal behaviour (high ping, ingame footage from playtester since i couldnt recreate it):

i have tried checking for all instances of code that run every frame, i use a custom replication system and i have tried to disable and/or replace it yet this still happens. im lost
i also did manage to recreate it with a lag script some time ago but when recording footage i couldnt recreate it again