You just need to ignore them. It is not easy, but it is the only way to get out of the friend zone. Just don't answer their texts, calls or any type of communication. And if you happen to see them in person, just act like you don't know them. It's harsh, but it works like a charm.