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

How do I check if a player is on a team via script?

I'm trying to make a morphing gui for my group, and I just want to know how to check if a player is on a team soI can make the gui pop up only if the player is on the team.

1 answer

✓ Accepted answer
if player.TeamColor==BrickColor.new("Really red") then --change to BrickColor of the team
	print("player is on team")
end

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