Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
Jexpler 63
6 years ago

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

Log in to vote
0
Answered by 6 years ago
if player.TeamColor==BrickColor.new("Really red") then --change to BrickColor of the team
    print("player is on team")
end
Ad

Answer this question