Every time when I use the W A S D keys, it teleports the player around 20 units before it starts moving and then as soon as I release the key, the player teleports back 20 units, it’s kind of hard to explain so I’m gonna post a link to the video.
skip to 20 seconds if you want to see the problem more clearly.
Thanks for your help.