Go find ten songs that have basslines you think are absolutely amazing, and write down everything that they do. Write down what the basslines sound like, what intervals are used, and what their rhythms are. Write down how they change between sections, and what sections they appear in.
This applies to the other threads you made (you didn't have to make a separate thread for each question, though

), too. Arrangements, layers, etc. Don't steal from them, but use them as a guideline for your own songwriting.