Code:
for _, player in game.Players do
if (player.Team.Name == "Contestant" and player.Answer.Value ~= answer) then
player.Team = game.Teams.Eliminated
player:LoadCharacter()
player.Answer.Value = ""
end
end
What the code is supposed to do is go through every player, check if they are on the Contestant team and got the answer wrong, and respawn them, change their team, and reset their answer value. The first line (for) is failing, saying that I tried calling an instance (or something close to that)
