Check if player is in a specific team before function?

Hello,

what do I use to check a plyers team before doing a function?

I got this but it just says error cause that doesn’t work.

help

1 Like

Is the team Name “Really blue”, or is that the TeamColor?

1 Like

Hello 6_S, the player’s team is determined by their TeamColor property and it uses BrickColor.new() for determining the team color, you can check their team color by typing

if Plr.TeamColor == BrickColor.new("Really blue") then

I hope this solves your case.

I was overthinking it like usual, thank you.