Roblox Studio suddenly lagging badly

My roblox studio is suddenly lagging really badly, feels like 10-15fps. It was working just fine 2 days ago and now it’s not. I tried making a new project on there because I thought it was my current project and still the same thing.
The roblox player works fine to play games but studio is giving me a headache, any ideas?

I’ve already tried reinstalling roblox and restarting the pc, nothing helped.

turns out it’s a g sync problem. Am i supposed to have certain settings enabled in the nvidia control panel for studio?

Just exclude gsync from studio entirely