What is this bug?

I went to clean my shower and found this bug. I think it’s been leaving little black pellets in the same spot it’s coming out of. I’m not sure if they are the victim though. Anybody know? Is it a pill bug?

(We also have a mold problem that is going to be getting fixed soon hopefully)