Rank commands functionality

Hey! So I’ve been working on trying to improve the rank commands by myself and my latest challenge has been to have it so that the user can only promote if:

  1. They are higher than a certain rank in the main group (This is the default shown in the tutorial and this works perfectly)
  2. They are in another group

I know that I have to use an OR statement and use something along the lines of:

or Player:IsInGroup(groupid)

However, I can’t for the life of me find where it validates this. Can someone guide me to where I could add this bit of code (if it’s right) so it’ll work?


You can read up on this function here.

This is a screenshot from that page.

If this works please mark it as soloution!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.