local player = game.Players.LocalPlayer function onAdded() if player.TeamColor == BrickColor.new("Really red") then print("yay, "..player.Name" got his defender panel") else script.Parent:Remove() end end game.Players.PlayerAdded:connect(onAdded)
its in a localscript, I tried it in a normal script and it didn't work either. it still gives it to unauthorized teams and doesn't remove it when its supposed to on unauthorized teams