Custom Chat Magnitude?

What would be the best way to only allow players to see messages within’ the certain range of the speaker via magnitude?

An example: Anyone within’ 15 studs of the speaker would see the chat, else people further away would not see it.

I found this post which may help you.