so I can play minecraft with 90-120 fps (with Lunar or Labymod client)
but as soon as I record it's fine. (OBS)
That has almost nothing to do with Minecraft.
Oh be quiet and answer if you have something better to answer
Your laptop is just too poorly hardware-equipped to record
Your hardware is not designed to do both at the same time, and most processors that are equipped with a graphics unit quickly reach their limits if you do too much on the computer. In your case you have an intel CPU with a graphics unit, which is unfortunately useless, AMD is a bit better equipped, and graphics units in CPUs are currently the only affordable alternative to the currently overpriced graphics cards market.
OK