Johnny213isme Posted March 17, 2021 Share Posted March 17, 2021 I am trying to find a skript where if you right click a specific item like a inamed paper it would perform a console command that would give that player a specific group so that I can create a prefix shop and sell prefixes on my box server but Ive tried for hours and no luck so far. it also doesnt help that I dont know much about skript Link to comment Share on other sites More sharing options...
HaywireYT_ Posted March 17, 2021 Share Posted March 17, 2021 (edited) 6 hours ago, Johnny213isme said: I am trying to find a skript where if you right click a specific item like a inamed paper it would perform a console command that would give that player a specific group so that I can create a prefix shop and sell prefixes on my box server but Ive tried for hours and no luck so far. it also doesnt help that I dont know much about skript on right click with a paper: execute command "/lp user %player% parent set (rank)" send "&a&lYou now have (rank) rank!" execute command "/clear %player% paper 1" this works if your using luckperms and i think you might need essentialsx if it doesn't work without it Edited March 17, 2021 by HaywireYT_ Link to comment Share on other sites More sharing options...
Johnny213isme Posted March 18, 2021 Author Share Posted March 18, 2021 1 hour ago, HaywireYT_ said: on right click with a paper: execute command "/lp user %player% parent set (rank)" send "&a&lYou now have (rank) rank!" execute command "/clear %player% paper 1" this works if your using luckperms and i think you might need essentialsx if it doesn't work without it I have both lucky perms and essentialsx but I am wondering can that be used to have several papers but each one does a different rank? Link to comment Share on other sites More sharing options...
iiFlameYT Posted March 19, 2021 Share Posted March 19, 2021 (edited) On 3/17/2021 at 4:54 PM, Johnny213isme said: I am trying to find a skript where if you right click a specific item like a inamed paper it would perform a console command that would give that player a specific group so that I can create a prefix shop and sell prefixes on my box server but Ive tried for hours and no luck so far. it also doesnt help that I dont know much about skript on rightclick with paper: if name of tool of player is "THE GROUP YOU WANT TO GIVE": execute console command "/lp user %player% parent set <group>" remove paper from player DONT FORGET TO RENAME THE PAPER TO THE CERTAIN GROUP YOU WANT Example: Fighter: "if name of tool of player is "Fighter"" reply to me if ur facing a problem Edited March 19, 2021 by iiFlameYT Link to comment Share on other sites More sharing options...
agriss Posted May 5, 2021 Share Posted May 5, 2021 so i put the command into skript and then i right clicked the paper and it disapeared but i did not get the rank Link to comment Share on other sites More sharing options...
agriss Posted May 5, 2021 Share Posted May 5, 2021 nvm i figured it out Link to comment Share on other sites More sharing options...
_Tarna_ Posted May 5, 2021 Share Posted May 5, 2021 Topic locked. Please do not reply on threads that have been inactive for over a month. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 - 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - 12/20/22 Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
Recommended Posts