Someone is threatening to say something about me at school that can cause me a lot of trouble(not physical harm) from other students. I told him I would give him $20 if he didn't say anything.I have given him $9 and will give him the rest tomorrow. Is this haram since it's somewhat bribery or is it okay because I'm hiding a sin? If it's haram should I not give him the money and try to get the rest back(he will tell everyone if I do this) or should I show him a passage about bribery in Islam(he isn't a very religious person) or should I give him the rest of the money?(I am not baligh yet)
People usually shy when it come to sexual sins. So I suppose that is your problem. Correct me if I'm wrong.
I revise my statement. The witnesses may report your act of sin to the authority for you to receive punishment. For this, he isn't allowed to accept any bribery and you aren't allowed to bribe.
Unless you have received your punishment, and insyaAllah Allah forgive you, those who spread your sins is those who indeed, have sinned.
Bribe in certain conditions, when you have to bribe to get your rights (example, when having a bad authority), is allowed.
Bribe to avoid responsibility and to steal other rights, is forbidden.