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}"