Jump to content

Open Club  ·  445 members

Skript

I need help scripting Right-clicking an item gives you a tag!


LunarBurn1

Recommended Posts

  • 1 month later...

This should work im not sure tho

 

options:
    rankname: RANKNAMEHERE # Make it the same as the luck perms rank name or else it doesnt work



on rightclick with paper:
    name of the player's weapon is "&a&lRank token"
    make console execute command "/lp user %event-player% parent set {@rankname}"
    remove paper named "&a&lRank token" from player's inventory
    send "&a&lYou redeemd a rank token and got rank {@rankname}"

 

Link to comment
Share on other sites

  • 4 months later...
On 4/1/2022 at 2:45 PM, EzedOn said:

This should work im not sure tho

 

options:
    rankname: RANKNAMEHERE # Make it the same as the luck perms rank name or else it doesnt work



on rightclick with paper:
    name of the player's weapon is "&a&lRank token"
    make console execute command "/lp user %event-player% parent set {@rankname}"
    remove paper named "&a&lRank token" from player's inventory
    send "&a&lYou redeemd a rank token and got rank {@rankname}"

 

thanks

Link to comment
Share on other sites

×
×
  • Create New...