Can someone help me to create a team selector?

I am a new creator and I dont know how some stuff work

Set teams to custom in island settings and use class selectors the change a player their team