[NOBLOX] Getting the roleSetId of a group

Hiya all,
I have a bot that auto ranks people to something, but am I having trouble finding the rolesetid as it is asking for it can someone help me and guide me?

Hey I know But First make me a AUK scripter. Thanks Archie.

Less trollish reply. firstly you need to index the RANK id of the group rank

Refer to this Archie Safford. Groups Api

Managed to sort it out, done a console.log with the getroles of noblox.