Hello, im working in a balancing system for my game, so there are 2 humans lefts and 3 zombies.
How do you get infected?
My infect system is based on stepping on a infected puddle, and so this will make you a zombie
Whats the problem?
What if everyone steps in the puddle, everyone gets infected and the game isn't fun with everyone a zombie, so we need to balance the teams?!
What did u tried?
I tried many things to solve this, first of all my game has a zombie count, everytime someone becomes a zombie it counts
So with this counter i made some of my tries to solve it (None of them worked)
if workspace.ZombieCount.Value >= #game.Players:GetPlayers() then
Module.Transform(Hit.Parent)
end
if #game.Players:GetPlayers() > workspace.ZombieCount.Value then
Module.Transform(Hit.Parent)
end

8 comments
Let me know if that fixed it.
Im trying it.
It didn't work.
Only put the three lines I gave you. No need to reiterate it a second time.
What does the Module.Transform do? I guess it transforms the player to a zombie correct? Also can you increase the CombieCount.Value right before Module.Transform(Hit.Parent).
Try the new edit.
Im trying an other solution i just made, adding + 1 to the zombie count in the if statement, im accepting your answer thanks for helping!
You're welcome, glad I helped you out :)