How can I clear a Player Reference Device when the player changes teams?

Hi!

I’m trying to check if a player is registered on the Player Reference Device and get the player that did registere and have a loop to keep checking if that player is still on Team (team_settings_and_inventory_device) if(not Team.IsOnTeam[Player]) if not then I want to clear the reference device.

I tried few things but I keep getting errors!

Thanks in advance

Hey, try pairing them with attribute evaluators, the attribute evaluator will give you a pass or fail on various things including team, so when it fails a team check, you can use it’s on fail event to clear the player reference device it’s paired with