EpicTrollGamesYT Posted February 23, 2021 Share Posted February 23, 2021 So basically on join I need it to give you a compass and if the player has a compass, cancel event. Heres what I have... on join: give player compass named "&6Menu" When i put the if and cancel event it says, "Can't cancel join" Link to comment Share on other sites More sharing options...
BurningBrimstone Posted February 23, 2021 Share Posted February 23, 2021 Hello! So, by trying to cancel the event you're attempting to cancel the original trigger of your skript, which is "on join". "on join" is unfortunately not a cancel-able event. Instead you should use an if statement to check if the player's inventory does not contain your menu compass and if that condition is met it will provide one to the player. See below. on join: if player's inventory does not contain compass with name "&6Menu": give player compass with name "&6Menu" For future questions feel free to ask in the #Skript channel on Minehut's discord! We offer quick and easy support with Skript issues. Minehut's Discord: https://discord.com/invite/minehut On join event: https://skripthub.net/docs/?id=1046 - Discord: Brim#0768 Link to comment Share on other sites More sharing options...
EpicTrollGamesYT Posted February 23, 2021 Author Share Posted February 23, 2021 Thank you so much! 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