Viewmodel glitching out when inside the escape menu for too long

Hello developers!
I have been making an fps game based on CS2 and im experiencing a really problematic issue.
When pressing ESC and sitting in the menu for a long time, my viewmodel glitches out. I set the viewmodels CFrame using a render stepped connection and i have no idea why this is happening…
I can provide code snippets if needed, but i really need help as this is game breaking.

https://gyazo.com/6f65d571245378af829ec5c30c67ca2e.mp4

Thanks for reading!

Update: i just tested the game after making some changes and it happened while holding left click and looking down :sob: help plssss :sob:

1 Like