I'm going to uninvite my friend to my bachelor party.
Why would you uninvite them?
I don't want him to ruin the party with his bad behavior.
Since you invited your friend, it would be rude to uninvite them. If you want to them to behave, you should talk to them and let them know.
No, I've experienced his behavior in the past and I'm going to get back at him.
Uninviting your friend seems like the wrong thing to do and you could possibly permanently ruin your friendship. Have you considered that your friend might not be aware that others look down upon his past behavior? I think a calm discussion is the best idea.