Ever wanted your chat to be limited to just a few people nearby? Want to hold secret meetings in dingy taverns, far from prying ears? Might I introduce...
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.
You can't use the .is_uppercase tag on an element that contains numbers or symbols, as it will automatically fail. So the tag removes all auto failing characters before checking. That way, you don't have to forgo proper punctuation when "yelling".
I'll update the link along with the determination change.