Hi, it’s most likely that you’re hitting the same issue as these users: Roblox Client freezes when a peripheral (mouse/keyboard) is connected - #3 by Paragraph3232
Windows can have some really poor performance when devices connect/disconnect, and it might not even be obvious that something is connecting or disconnecting in the background. This bug has been in Windows for at least 13 years, and a lot of folks have hit this issue. We have plans to change our architecture to mitigate this.
In the meantime, you seem like a technical user, so you could google the windows function mentioned in that other thread ( EnumDevices ) and check your machine for what HID devices/drivers might be connecting/disconnecting in the background every 30 seconds. There’s a lot of online discussion related to all sorts of software encountering hitches and freezing when that Windows API is called.