How to make this sort of laser bass?

I’ve been trying to make this bass for a while now and am currently having no luck creating anything similar to it, if anyone could help me make it, it would be highly appreciated,
Thanks (Also its the second bass the laser thing)