I need help making my script detect a whole group

Everything you need is right here: GroupService | Roblox Creator Documentation.

  1. Implement the code
  2. Check if the player is in any of these groups.