hi, i want to make a script to find out what team somebody is in, for example, if you are in red team there is a gui that shows a text label, and for everybody else that isn't in red its diffirent.
so if somebody is in red, they have a text box with a secret password for only red team, and blue team have their own password
plz help, I'm not good at scripting when it comes to local stuff
I'm not asking for an exact script, just how to find out what team somebody is in, and if they are in it they have a guy that only they can see, i can edit it from there, just a concept

2 comments
include code pls
yeah the thing is i dont have any code, i need a concept for what to do, just replace then with like print or something and i can edit it to fit my workspace, all i want is a way to check what team a player is on when they spawn in