Group Acessory Giver

Is there a way to create a system so that if a player is in the group and obtains a specific role, they receive an accessory for their character? I have no idea how to do it.

GetRoleInGroup can be used to check the player’s role. From there you can give them an accessory.