Code (Text):
set {rank::*} to "&6Owner", "&4Head Admin", "&cAdmin", "&bHead Builder", "&1Builder", "&aHead Mod", "&2Mod", "&eHelper", "&9Trainee", "&cYou&ftube", "&5dextromethorphan", "&1ketamine", "&7Member"
set {rankp::*} to "owner", "srmanager", "manager", "head admin", "admin", "head builder", "builder", "head mod", "mod", "helper", "trainee", "youtube", "dextromethorphan", "ketamine", "member"
You need to change the list of {rank::*} to what you want to show up with colorcodes, the {rankp::*} does not have colorcodes but it is the permission you need to give the user to use that book, eg for youtube rank you need to give the user
Code (Text):
youtube.prefix
after we do that next we need to go down a bit to our function
Code (Text):
function prefixGUI(p: player):
set metadata tag "prefix" of {_p} to chest inventory with 4 rows named "&eRanks"
set {_slot} to 0
loop 13 times:
change that loop 13 times to the ammount of ranks you want to show up in the Gui
if you do all that correctly it should work