i want to make it so if the value doesnt match plr.Name the code runs but using ~= doesnt work and using == works but the opposite way
if value == plr.Name then --make this work the opposite way
table.insert(InRound, plr.Name)
if i%2 == 0 then
plr.Team = game.Teams.RedTeam
else
plr.Team = game.Teams.BlueTeam
end
end
do you mean to run the code if value isn’t equal to plr.Name ??
if though than ~= should work, try printing value and plr.Name before the if statements to make sure that they aren’t the same