Skray Posted May 9, 2021 Share Posted May 9, 2021 I need a script were if I right click with a paper named VIP you get the VIP rank. (I am using permissionEx) Something like this: (But I don't think this work) on rightclick with paper: if name of tool of player is "&2&lVIP RANK": execute console command "/pex user %player% group set VIP" remove paper from player 1 Link to comment Share on other sites More sharing options...
rosathorn Posted May 9, 2021 Share Posted May 9, 2021 (edited) Nah, that should work. But it should be remove 1 piece of paper from the player And also it needs to be: on right click: player's held item is a piece of paper Edited May 9, 2021 by rosathorn RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRi code, animate, develop, UI design, learn, and adapt, as well as make servers, of courseJoined Minehut sometime in 2014VIP sometime in 2018Legend in January 2021Helper on 4/11/2021♥ (Retired) on 5/17/2021 Link to comment Share on other sites More sharing options...
Skray Posted May 10, 2021 Author Share Posted May 10, 2021 So it should be like this? on rightclick: player's held item is a piece of paper if name of tool of player is "&2&lVIP RANK": execute console command "/pex user %player% group set VIP" remove 1 piece of paper from the player Link to comment Share on other sites More sharing options...
BanditEagle Posted May 10, 2021 Share Posted May 10, 2021 6 hours ago, Skray said: So it should be like this? on rightclick: player's held item is a piece of paper if name of tool of player is "&2&lVIP RANK": execute console command "/pex user %player% group set VIP" remove 1 piece of paper from the player You can just do this: on right click with paper: name of player's item is "&2&lVIP RANK" make console execute command "/pex user %player% group set VIP" remove player's item from player's inventory Hope this helps! 1 If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
Skray Posted May 10, 2021 Author Share Posted May 10, 2021 40 minutes ago, BanditEagle said: You can just do this: on right click with paper: name of player's item is "&2&lVIP RANK" make console execute command "/pex user %player% group set VIP" remove player's item from player's inventory Hope this helps! Thank you! Link to comment Share on other sites More sharing options...
BanditEagle Posted May 10, 2021 Share Posted May 10, 2021 7 minutes ago, Skray said: Thank you! No problem! Happy to be able to help! If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle 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