Simply drop the following minimized code in, and BAM! Only those within the defined range (by default 10) will be able to hear what is being said. But of course, if you were to shout (LIKE THIS), then more people will be able to hear you! (by default a range of 20)
Here's a quick video demonstration of the script in action...
The code is only a few lines long, so feel free to modify it with extra features to suit your own needs! If you are using this script in any capacity, I would love to hear about it! Feel free to shoot me a message on Discord, Jumpsplat120#0001.
Simply click https://one.denizenscript.com/haste/71682, or visit the github to download the script: https://github.com/jumpsplat120/Denizen ... l_Chat.dsc