Jump to content

!!! Help with skript !!!


Recommended Posts

This has not been tested yet, but I believe it should work

options:
	key: tripwire hook named "&7Key"
	errormessage: &cYou need to use a key to get into this area!
	successmessage: &aYou can now access the area whenever you want!


# You should only edit the messages above, change the key: variable to whatever item, replace "tripwire hook named "&7Key"" with anything you like like
# You can also change the success messages and error messages above.


on right click:
	player's held item is 1 of {@key}
	remove 1 of {@key} from player's inventory
	add player's uuid to {allowedPlayers::*}
	send "{@successmessage}" to player

on region enter:
	if "%region at player%" contains "place":
		if {allowedPlayers::*} does not contain player's uuid:
			cancel event
			send "{@errormessage}" to player


 

Hello! I'm SoloStrafe!
 

Skills:

Skript (4+ years experience)

Most of the plugins on MH

Servers:

- Westmine (Developer)

- Mineport (Admin)

Minehut:

Untitled.png.395f912cec0139eaf122fc8874f57045.png

I got VIP rank on 8/1/2019 -> Current

Link to comment
Share on other sites

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...