Someone gave me a script to fix this line:
if game.Teams.Survivors:GetPlayers() == nil then
Here is the script:
function getTeam(team)
local players = game.Players:GetPlayers();
local teamPlayers = {};
for _, player in pairs(players) do
if player.TeamColor == team.TeamColor then
table.insert(teamPlayers, player);
end
end
return teamPlayers;
end
I have not idea what it means though and where to put it. Thanks!

5 comments
Still doesnt seem to work...I just put that on the top line of the infected_finish
Blue is correct, just make sure 'game' is lower case.
ahhh that might help
it says getPlayers is a nil value
Alright I think you meant getTeam thanks Blue. I appreciate your help. :D