I want a laptop that can run UE5 smooth but i have no idea about computers

You have to go with the spec. Usually, that means you use a ‘make your own’ service.

Notice, this is the absolute MINIMUM spec.

You’d be much better off with

More CPU cores ( 12+ )
16GB RAM upwards ( as much as 64 if you’re expecting to build large scenes and use Nanite )
Nvidia 2 or 3000 series GPU
SSD: at least 1TB ( no HDD ).