The Bible prevents obscenity in many cases. Keep in mind that speech is a gift from God, so we must ask ourselves how he use this gift. Also, using obscenity usually shows what is in heart. Here are some verses that support this:
But among you there must not be even a hint of sexual immorality, or
of any kind of impurity, or of greed, because these are improper for
God’s holy people. 4 Nor should there be obscenity, foolish talk or
coarse joking, which are out of place, but rather thanksgiving.
Get rid of all bitterness, rage and anger, brawling and slander, along
with every form of malice.
May these words of my mouth and this meditation of my heart be
pleasing in your sight, LORD, my Rock and my Redeemer.
A good man brings good things out of the good stored up in his heart,
and an evil man brings evil things out of the evil stored up in his
heart. For the mouth speaks what the heart is full of.