If line no work

HI DEVS,

i have this line that is not working and yes both statements are true i just dont know why it dont work

if prompt.Parent.Name == "Part" and player.Team == "thieves" then

Team contaisn a team object, not a string, if you want to compare the name, change player.Team to player.Team.Name

2 Likes