That's not a problem if you don't know,
but OBS is always like that. In game you got like 50fps while in obs it showed up 30 it's because obs renders it at 30 or whatver frames you set it to yeah that's that
(there's more but it's kinda hard to explain atleast, you know you got the idea)