but the thing is, in some of the songs i am playing, the bass lines are kinda prominent and if i just play the roots notes of the songs it will sound wierd.
Get the guitar chords, then try to figure out the bass parts. Even though they might be prominent, it is very rare that the bass would be so difficult in a band setting. Support and not steal the limelight! That's what bass is about I guess.