Help for Datapack Idea - Adventure Map

Hi All! I'm looking to learn how to create a datapack to assist in an Adventure Map i'm looking to make - I am trying to recreate the Aatraks-1 fight in minecraft from Destiny 2. The fight has two main roles - a Scanner, and an Operator. These are statuses that a player can have based off an item they pick up off the ground, and there are a few things I need help with. For both roles, I want the player to be able to deposit a role into a terminal - which lets another player WITHOUT a role pick up that role from the terminal. There will be multiple terminals that are synced up together, where one player can deposit a role and another can pick it up from another terminal. For the scanner, they need to be able to be the only one able to see glowing parts of the game - glowing enemies / panels on the wall. For the Operators, they should be the only one able to interact with parts of the game, mainly the only one able to interact with panels and shoot an entity. I'm struggling to find where to start vis a vis outlining for mechanics - I believe the best way to handle the roles is to create teams to assign the players to, and have them join the OP team, SCAN team, or NONE team, based on their status. Here are my main questions - How do I have players swap teams based off if they hold an item or not - or what is the best way to facilitate the role swapping mechanic? - How do I start with creating the scanner and operator role - mainly the ability to be the only one to be able to shoot an entity / see an entity - I see that maybe I can create particle effects that only the scanner can see, or something like that - How do I create one of these "interaction panels" - Can I use an entity that changes state when shot with a projectile or something like that? and a multitude of other questions This is a lot, so my biggest question really is - where do I start? This is a complex project with a lot of moving parts and mechanics so I'd love a jumping off point of some sort.
Continue to help post