Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I check if a player is in a certain team?

How would I check if a player is in a certain team, and if they are, do a certain action.

1 answer

if player.Team == game:GetService("Teams").YourTeamHere then
	--do stuff here
end

This discussion is preserved as it was. New answers, comments, and votes are closed.