mateiop4 Posted May 13, 2021 Share Posted May 13, 2021 Hey! Can someone do a skript and explain how can i do this to work? I could use "on region enter", but i don't know how. I want a key to right click and let me in. Thanks! Link to comment Share on other sites More sharing options...
SoloStrafe Posted May 15, 2021 Share Posted May 15, 2021 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: I got VIP rank on 8/1/2019 -> Current Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now