I don't quite understand what's going on, this only runs 1 time for one player? I have it waiting for 3 players before the functions even run so that's not the problem. I don't understand what I'm doing wrong? Any ideas whats happening??

for _, plr in pairs(game.Players:GetPlayers()) do
		
		local alive, humanoid, torso = CmF.PlayerHealthy(plr.Name)
		
		if alive then
			
			local p_name = plr.Name	
			
			--- Creating Role Structure ---
			ActivePlayers[p_name] = {
				LastPosition = Vector3.new(),
				IsAlive = true,
				GameRole = "Innocent",
				DeathTime = 0,
				warn("Player Folder Created")
			}
		end
end

ActivePlayers Is only created once.

1 comment

0

Never mind figured it out