joeyy29 Posted February 22, 2021 Share Posted February 22, 2021 im fairly new to skript and im trying to make a /hat because but how do i blacklist items from being used? Link to comment Share on other sites More sharing options...
Echology Posted February 22, 2021 Share Posted February 22, 2021 command hat: trigger: set {_blacklisted::*} to barrier if {_blacklisted::*} contains type of player's tool: send "&cYou cannot use that item!" stop give player helmet slot of player #giving them the item again set helmet slot of player to 1 of tool #setting helmet remove 1 of tool from player #balancing the hat, as to not duplicate items try that [PATRON] Echology Link to comment Share on other sites More sharing options...
joeyy29 Posted February 22, 2021 Author Share Posted February 22, 2021 can u make a permission with it when i try it. it gets a bunch of spacing errors and i dont know how to space them properly Link to comment Share on other sites More sharing options...
_omga Posted February 22, 2021 Share Posted February 22, 2021 command hat: permission: permission trigger: set {_blacklisted::*} to barrier if {_blacklisted::*} contains type of player's tool: send "&cYou cannot use that item!" stop give player helmet slot of player #giving them the item again set helmet slot of player to 1 of tool #setting helmet remove 1 of tool from player #balancing the hat, as to not duplicate items Literally what Blu posted, but with 1 extra line. If I helped you at all, leave a like! IGN: _omga Discord: omega#1000 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