Jump to content

Free small script


ChilkinsJr

Recommended Posts

options:
	badwords: "fuck" and "shit" and "ass"
	broadcast_on: &aWe hve turned cathlic
	broadcast_off: &cYou may speak the devils wordings
	badword_message: &2*&a We don't speak the devils wording&2 *

on chat:
	if {nsfw::word} is true:
		if {nsfw::word::*} contains {@badwords}:
			if player has permission "nsfw.bypass":
				stop
			else:
				send "{@badword_message}"
				cancel event

command /nsfw [<text>]:
	permission: nsfw.command
	permission message: &cYou currently don't have access to this command.
	trigger:
		if arg 1 is "on":
			add {@badwords} to {nsfw::word::*}
			broadcast "{@broadcast_on}"
			set {nsfw::word} to true
		else if arg 1 is "off":
			broadcast "{@broadcast_off}"
			set {nsfw::word} to false

 

⭢ Founder Of Website 

The Website is men't to help you with all the skript you need to start your server. Soon we will have tutorials on how to use certain things, but for now you should go to Minehut.xyz for tutorials. Again, The Website is men't for skript help and skript requests.

Link to comment
Share on other sites

ok

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...